|
1 | 1 | # Changelog |
2 | 2 |
|
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 |
| 3 | +All notable changes to this project will be documented in this file. |
9 | 4 |
|
10 | | -## 1.2.1 |
| 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). |
11 | 7 |
|
12 | | -### Bug Fixes |
13 | | -- Fixed bug that caused paging through events to periodically fail |
| 8 | +NOTE: For more granular API-specific changes, please see our [API Changelog](https://developers.klaviyo.com/en/docs/changelog_) |
14 | 9 |
|
| 10 | +## [2.0.0] - 2023-04-06 |
| 11 | +### Changed |
| 12 | +- 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. |
| 13 | +- Profiles API can now return predictive analytics when calling `getProfile` and `getProfiles`, by passing in `$additional_fields_profile=["predictive_analytics"]`. |
15 | 14 |
|
16 | | -## 1.2.0 |
| 15 | +### Migration Guide |
| 16 | +- To migrate to this latest version, all calls to relationship endpoints need to be updated, as in the following example: |
| 17 | + - `getCampaignRelationships($id, "tags")` will become `getCampaignRelationshipsTags($id)`. |
| 18 | +- Because PHP is sensitive to the ordering of optional args, this is a breaking change to all `getProfile` and `getProfiles` calls that use optional args. Please refer to `getProfile` and `getProfiles` in the README for more details on ordering. |
| 19 | + - Specifically, because params are passed in alphabetical order, even if you do not intend to use this new param, you will need to shift over the params by one by passing in `$additional_fields_profile=NULL`. |
17 | 20 |
|
| 21 | +## [1.3.0] - 2023-03-01 |
18 | 22 | ### Added |
19 | | -- Campaigns (which were previously in our Beta API/SDKs) |
20 | | - |
21 | | -### Changes |
22 | | -- Flows |
23 | | - - Pagination changed from page offset to cursor |
| 23 | +- Added `page_size` support for paging through endpoints that return profiles. |
24 | 24 |
|
25 | | -## 1.1.0 |
| 25 | +## [1.2.1] - 2023-02-23 |
| 26 | +### Fixed |
| 27 | +- Fixed a bug that caused paging through events to periodically fail. |
26 | 28 |
|
27 | | - - Added the following endpoints (which were previously in our Beta API/SDKs): |
28 | | - - Data Privacy |
29 | | - - All Tags endpoints, as well as the following related resource-specific endpoints: |
30 | | - - Get Flow Tags |
31 | | - - Get List Tags |
32 | | - - Get Segment Tags |
33 | | - |
34 | | -## 1.0.0 |
35 | | - |
36 | | - * Initial release |
| 29 | +## [1.2.0] - 2023-02-23 |
| 30 | +### Added |
| 31 | +- Added support for Campaigns (which were previously in our Beta API/SDKs). |
37 | 32 |
|
38 | | - Differences between 1.0.0 and BETA: |
| 33 | +### Changed |
| 34 | +- Pagination for Flows changed from page offset to cursor. |
39 | 35 |
|
40 | | - - Naming changes |
41 | | - - Packagist package name: `klaviyo/sdk-beta` → `klaviyo/api` |
42 | | - - Namespace: `KlaviyoBeta` → `KlaviyoAPI` |
43 | | - - client name: `Client` → `KlaviyoAPI` |
44 | | - - Client variable name in readme examples: `$client` → `$klaviyo` |
45 | | - - Some functions have changed name |
46 | | - - Parameter ordering: The order of params has changed; you will need to update these for your existing implementation to work |
| 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] - 2023-10-19 |
| 46 | +### Added |
| 47 | +- Initial release |
| 48 | + |
| 49 | +### Changed |
| 50 | +- Naming changes: |
| 51 | + - Packagist package name: `klaviyo/sdk-beta` → `klaviyo/api` |
| 52 | + - Namespace: `KlaviyoBeta` → `KlaviyoAPI` |
| 53 | + - client name: `Client` → `KlaviyoAPI` |
| 54 | + - Client variable name in readme examples: `$client` → `$klaviyo` |
| 55 | + - Some functions have changed name |
| 56 | +- Parameter ordering: The order of params has changed; you will need to update these for your existing implementation to work |
0 commit comments