Skip to content

Commit 627b529

Browse files
committed
changelog
1 parent 4c4e7de commit 627b529

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Changelog
22

3+
### 21.0.0-
4+
5+
### Version Upgrade
6+
7+
- Upgraded google-ads-api version to v21. Refer to Google ads release notes [here](https://developers.google.com/google-ads/api/docs/release-notes) for changes.
8+
- Upgraded google-ads-node dependency to v18.0.0
9+
10+
### Bug Fixes
11+
12+
- Fixed parsing of FieldMask fields (like `changed_fields`) in REST API responses ([#519](https://github.com/Opteo/google-ads-api/issues/519))
13+
- REST API returns FieldMask fields as comma-separated strings (e.g., `"field1,field2"`) which were not being properly parsed
14+
- Now correctly converts them to objects with a `paths` array format: `{ paths: ["field1", "field2"] }`
15+
- Handles case conversion from camelCase to snake_case to maintain consistency with the rest of the library
16+
- Properly processes nested paths (e.g., `"ipBlock.ipAddress"``"ip_block.ip_address"`)
17+
- The `changed_fields` field now works correctly and follows the same naming conventions as the rest of the library
18+
19+
### Library Changes
20+
21+
- Updated enum definitions to support Google Ads API v21 changes
22+
- Enhanced parser test coverage with additional test cases for change events and FieldMask fields
23+
- Added `skipLibCheck` to TypeScript configuration for faster compilation
24+
- Added prettier configuration for consistent code formatting
25+
326
### 20.0.1
427

528
### Version Upgrade

0 commit comments

Comments
 (0)