Skip to content

Commit fcb5367

Browse files
Release v27.2.0 from PR #645
2 parents b729595 + 33f698a commit fcb5367

File tree

4 files changed

+21
-12
lines changed

4 files changed

+21
-12
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ For public Changelog covering all changes done to Pipedrive’s API, webhooks an
88

99
## [Unreleased]
1010

11+
## [27.2.0] - 2025-06-02
12+
### Changed
13+
- Bump `axios` from `1.3.3` to `1.9.0`
14+
- Update README with an example of fetching deal details
15+
1116
## [27.1.1] - 2025-05-23
1217
### Fixed
1318
- Fixed the OAuth scopes of Deal to Lead conversion and Lead to Deal conversion endpoints
@@ -889,7 +894,8 @@ Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.0
889894
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
890895
* Fixed typo in lead example response (`crrency` to `currency`)
891896

892-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v27.1.1...HEAD
897+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v27.2.0...HEAD
898+
[27.2.0]: https://github.com/pipedrive/api-docs/compare/v27.1.1...v27.2.0
893899
[27.1.1]: https://github.com/pipedrive/api-docs/compare/v27.1.0...v27.1.1
894900
[27.1.0]: https://github.com/pipedrive/api-docs/compare/v27.0.1...v27.1.0
895901
[27.0.1]: https://github.com/pipedrive/api-docs/compare/v27.0.0...v27.0.1

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@ app.listen(PORT, () => {
4949

5050
app.get("/", async (req, res) => {
5151
const dealsApi = new DealsApi(apiConfig);
52-
const response = await dealsApi.getDeals();
53-
const { data: deals } = response;
52+
const responseAllDeals = await dealsApi.getDeals();
53+
const { data: deals } = responseAllDeals;
54+
const responseOneDeal = await dealsApi.getDeal({ id: 1 });
55+
const { data: deal } = responseOneDeal;
5456

55-
res.send(deals);
57+
res.send({ deals, deal });
5658
});
5759
```
5860

package-lock.json

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pipedrive",
3-
"version": "27.1.1",
3+
"version": "27.2.0",
44
"description": "Pipedrive REST client for NodeJS",
55
"license": "MIT",
66
"homepage": "https://developers.pipedrive.com",
@@ -35,7 +35,7 @@
3535
"fs": false
3636
},
3737
"dependencies": {
38-
"axios": "^1.3.3",
38+
"axios": "^1.9.0",
3939
"qs": "^6.11.0"
4040
},
4141
"devDependencies": {

0 commit comments

Comments
 (0)