Skip to content

Commit 234caf3

Browse files
authored
Merge pull request #17 from klaviyo/20230406
20230406 release: relationship endpoints split and new profile field
2 parents 1e2b378 + 7ba2717 commit 234caf3

File tree

248 files changed

+21553
-13938
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+21553
-13938
lines changed

CHANGELOG.md

Lines changed: 43 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,56 @@
11
# Changelog
22

3-
NOTE: For more granular API-specific changes, please see our [API Changelog](https://developers.klaviyo.com/en/docs/changelog_)
4-
5-
## 1.3.0
6-
7-
### Added
8-
- `page_size`: you can now set page_size when paging through endpoints that return profiles
9-
10-
## 1.2.1
3+
All notable changes to this project will be documented in this file.
114

12-
### Bug Fixes
13-
- Fixed bug that caused paging through events to periodically fail
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
147

15-
## 1.2.0
8+
NOTE: For more granular API-specific changes, please see our [API Changelog](https://developers.klaviyo.com/en/docs/changelog_)
169

10+
## [2.0.0] - 2023-04-06
1711
### Added
18-
- Campaigns (which were previously in our Beta API/SDKs)
12+
- Profiles API now returns predictive analytics when calling `get_profile` and `get_profiles` by passing in `additional_fields_profile = ["predictive_analytics"]`.
1913

20-
### Changes
21-
- Flows
22-
- Pagination changed from page offset to cursor
14+
### Changed
15+
- Relationship endpoints that were previously grouped together are now split into related-resource-specific endpoints. This means that all relationship endpoints have new function names.
2316

24-
## 1.1.0
17+
### Migration Guide
18+
- To migrate to this latest version, all calls to relationship endpoints need to be updated, as in the following example:
19+
- `get_campaign_relationships(campaign_id, "tags")` will become `get_campaign_relationships_tags(campaign_id)`.
2520

26-
- Added the following endpoints (which were previously in our Beta API/SDKs):
27-
- Data Privacy
28-
- All Tags endpoints, as well as the following related resource-specific endpoints:
29-
- Get Flow Tags
30-
- Get List Tags
31-
- Get Segment Tags
32-
33-
## 1.0.0
21+
## [1.3.1] - 2023-03-09
22+
### Added
23+
- Added `page_size` support for paging through endpoints that return profiles.
3424

35-
* Initial release
25+
## [1.2.1] - 2023-02-23
26+
### Fixed
27+
- Fixed a bug that caused paging through events to periodically fail.
3628

37-
Differences between 1.0.0 and BETA:
29+
## [1.2.0] - 2023-02-23
30+
### Added
31+
- Added support for Campaigns (which were previously in our Beta API/SDKs).
3832

39-
- Namespace changes
40-
- Pypi package name: `klaviyo–sdk-beta``klaviyo-api`
41-
- Module name: `klaviyo_sdk_beta``klaviyo_api`
42-
- client name: `Client``KlaviyoAPI`
43-
- Client variable name in readme examples: `client``klaviyo`
44-
- Some functions have changed name
45-
- New resources and endpoints: see [API Changelog](https://developers.klaviyo.com/en/docs/changelog_) for full details
33+
### Changed
34+
- Pagination for Flows changed from page offset to cursor.
4635

36+
## [1.1.0] - 2023-01-25
37+
### Added
38+
- Added the following endpoints (which were previously in our Beta API/SDKs):
39+
- Data Privacy
40+
- All Tags endpoints, as well as the following related resource-specific endpoints:
41+
- Get Flow Tags
42+
- Get List Tags
43+
- Get Segment Tags
44+
45+
## [1.0.0] - 2022-10-19
46+
### Added
47+
- Initial release
48+
49+
### Changed
50+
- Namespace changes:
51+
- Pypi package name: `klaviyo–sdk-beta``klaviyo-api`
52+
- Module name: `klaviyo_sdk_beta``klaviyo_api`
53+
- client name: `Client``KlaviyoAPI`
54+
- Client variable name in readme examples: `client``klaviyo`
55+
- Some functions have changed name
56+
- New resources and endpoints: see [API Changelog](https://developers.klaviyo.com/en/docs/changelog_) for full details

0 commit comments

Comments
 (0)