Skip to content

Commit 4375fba

Browse files
committed
Release v10.0.0
1 parent 8bc3a66 commit 4375fba

File tree

2 files changed

+85
-2
lines changed

2 files changed

+85
-2
lines changed

CHANGELOG.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,92 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
10+
## [10.0.0](https://github.com/pipedrive/client-php/compare/9.0.0...10.0.0) (2025-05-06)
11+
12+
### Fixed
13+
- Fixed the OAuth scope of "Add a follower to a product" endpoint in API v2
814
### Added
915
- Added `creator_user_id` to responses of Activities v2 endpoints
1016
- Added `marketing_status` documentation to Persons v2 endpoints
17+
- Added archived deals/leads endpoints:
18+
- `GET /v1/deals/archived`
19+
- `GET /v2/deals/archived`
20+
- `GET /v1/deals/timeline/archived`
21+
- `GET /v1/deals/summary/archived`
22+
- `GET /v1/leads/archived`
23+
- Added `is_archived` and `archive_time` properties to deals endpoints response
24+
- Added option to use `sort_by=due_date` sorting for `GET /api/v2/activities`
25+
- Added option to use `done=true/false` quick filter for `GET /api/v2/activities`
26+
- Added `project_id` and `pinned_to_project_flag` query parameter to the GET `/notes` endpoint
27+
- Added `project_id` and `pinned_to_project_flag` request bodies to the POST/PUT `/notes` endpoint
28+
- Added `project_id` and `pinned_to_project_flag` to success responses of GET/POST/PUT
29+
### Changed
30+
- Deprecated `GET /v1/activities` in favor of `GET /api/v2/activities`
31+
- Deprecated `GET /v1/activities/collection` in favor of `GET /api/v2/activities`
32+
- Deprecated `GET /v1/activities/{id}` in favor of `GET /api/v2/activities/{id}`
33+
- Deprecated `POST /v1/activities` in favor of `POST /api/v2/activities`
34+
- Deprecated `PUT /v1/activities/{id}` in favor of `PATCH /api/v2/activities/{id}`
35+
- Deprecated `DELETE /v1/activities/{id}` in favor of `DELETE /api/v2/activities/{id}`
36+
- Deprecated `DELETE /v1/activities` in favor of `DELETE /api/v2/activities/{id}`
37+
- Deprecated `GET /v1/deals` in favor of `GET /api/v2/deals`
38+
- Deprecated `GET /v1/deals/collection` in favor of `GET /api/v2/deals`
39+
- Deprecated `GET /v1/deals/{id}` in favor of `GET /api/v2/deals/{id}`
40+
- Deprecated `GET /v1/deals/search` in favor of `GET /api/v2/deals/search`
41+
- Deprecated `POST /v1/deals` in favor of `POST /api/v2/deals`
42+
- Deprecated `PUT /v1/deals/{id}` in favor of `PATCH /api/v2/deals`
43+
- Deprecated `DELETE /v1/deals/{id}` in favor of `DELETE /api/v2/deals/{id}`
44+
- Deprecated `DELETE /v1/deals` in favor of `DELETE /api/v2/deals/{id}`
45+
- Deprecated `GET /v1/deals/{id}/activities` in favor of `GET /api/v2/activities?deal_id={id}`
46+
- Deprecated `GET /v1/deals/{id}/persons` in favor of `GET /api/v2/persons?deal_id={id}`
47+
- Deprecated `GET /v1/persons` in favor of `GET /api/v2/persons`
48+
- Deprecated `GET /v1/persons/collection` in favor of `GET /api/v2/persons`
49+
- Deprecated `GET /v1/persons/{id}` in favor of `GET /api/v2/persons/{id}`
50+
- Deprecated `GET /v1/persons/search` in favor of `GET /api/v2/persons/search`
51+
- Deprecated `POST /v1/persons` in favor of `POST /api/v2/persons`
52+
- Deprecated `PUT /v1/persons/{id}` in favor of `PATCH /api/v2/persons/{id}`
53+
- Deprecated `DELETE /v1/persons/{id}` in favor of `DELETE /api/v2/persons/{id}`
54+
- Deprecated `DELETE /v1/persons` in favor of `DELETE /api/v2/persons/{id}`
55+
- Deprecated `GET /v1/persons/{id}/deals` in favor of `GET /api/v2/deals?person_id={id}`
56+
- Deprecated `GET /v1/persons/{id}/activities` in favor of `GET /api/v2/activities?person_id={id}`
57+
- Deprecated `GET /v1/organizations` in favor of `GET /api/v2/organizations`
58+
- Deprecated `GET /v1/organizations/collection` in favor of `GET /api/v2/organizations`
59+
- Deprecated `GET /v1/organizations/{id}` in favor of `GET /api/v2/organizations/{id}`
60+
- Deprecated `GET /v1/organizations/search` in favor of `GET /api/v2/organizations/search`
61+
- Deprecated `POST /v1/organizations` in favor of `POST /api/v2/organizations`
62+
- Deprecated `PUT /v1/organizations/{id}` in favor of `PATCH /api/v2/organizations/{id}`
63+
- Deprecated `DELETE /v1/organizations/{id}` in favor of `DELETE /api/v2/organizations/{id}`
64+
- Deprecated `DELETE /v1/organizations` in favor of `DELETE /api/v2/organizations/{id}`
65+
- Deprecated `GET /v1/organizations/{id}/deals` in favor of `GET /api/v2/deals?org_id={id}`
66+
- Deprecated `GET /v1/organizations/{id}/activities` in favor of `GET /api/v2/activities?org_id={id}`
67+
- Deprecated `GET /v1/organizations/{id}/persons` in favor of `GET /api/v2/persons?org_id={id}`
68+
- Deprecated `GET /v1/products` in favor of `GET /api/v2/products`
69+
- Deprecated `GET /v1/products/{id}` in favor of `GET /api/v2/products/{id}`
70+
- Deprecated `GET /v1/products/search` in favor of `GET /api/v2/products/search`
71+
- Deprecated `POST /v1/products` in favor of `POST /api/v2/products`
72+
- Deprecated `PUT /v1/products/{id}` in favor of `PATCH /api/v2/products/{id}`
73+
- Deprecated `DELETE /v1/products/{id}` in favor of `DELETE /api/v2/products/{id}`
74+
- Deprecated `GET /v1/pipelines` in favor of `GET /api/v2/pipelines`
75+
- Deprecated `GET /v1/pipelines/{id}` in favor of `GET /api/v2/pipelines/{id}`
76+
- Deprecated `POST /v1/pipelines` in favor of `POST /api/v2/pipelines`
77+
- Deprecated `PUT /v1/pipelines/{id}` in favor of `PATCH /api/v2/pipelines/{id}`
78+
- Deprecated `DELETE /v1/pipelines/{id}` in favor of `DELETE /api/v2/pipelines/{id}`
79+
- Deprecated `GET /v1/stages` in favor of `GET /api/v2/stages`
80+
- Deprecated `GET /v1/stages/{id}` in favor of `GET /api/v2/stages/{id}`
81+
- Deprecated `POST /v1/stages` in favor of `POST /api/v2/stages`
82+
- Deprecated `PUT /v1/stages/{id}` in favor of `PATCH /api/v2/stages/{id}`
83+
- Deprecated `DELETE /v1/stages/{id}` in favor of `DELETE /api/v2/stages/{id}`
84+
- Deprecated `DELETE /v1/stages` in favor of `DELETE /api/v2/stages/{id}`
85+
- Deprecated `GET /v1/itemSearch` in favor of `GET /api/v2/itemSearch`
86+
- Deprecated `GET /v1/itemSearch/field` in favor of `GET /api/v2/itemSearch/field`
87+
- Updated non archived deals/leads endpoint description to specify that following endpoints do not return archived items:
88+
- `GET /v1/deals`
89+
- `GET /v2/deals`
90+
- `GET /v1/deals/timeline`
91+
- `GET /v1/deals/summary`
92+
- `GET /v1/leads`
93+
- Removed deprecated `archived_status` query parameter from leads endpoints
1194

1295
[9.0.0](https://github.com/pipedrive/client-php/compare/8.1.5...9.0.0) (2025-03-31)
1396

lib/versions/v1/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ class Configuration
111111
*/
112112
protected string $host = 'https://api.pipedrive.com/v1';
113113
/**
114-
* User agent of the HTTP request, set to "Pipedrive-SDK-PHP-8.x" by default
114+
* User agent of the HTTP request, set to "Pipedrive-SDK-PHP-10.x" by default
115115
*
116116
* @var string
117117
*/
118-
protected string $userAgent = 'Pipedrive-SDK-PHP-8.x';
118+
protected string $userAgent = 'Pipedrive-SDK-PHP-10.x';
119119

120120
/**
121121
* Debug switch (default set to false)

0 commit comments

Comments
 (0)