Skip to content

Commit c195ab4

Browse files
author
klaviyo-sdk
committed
version 9.0.0
1 parent c619552 commit c195ab4

557 files changed

Lines changed: 12485 additions & 2411 deletions

File tree

Some content is hidden

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

CHANGELOG.md

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
NOTE: For more granular API-specific changes, please see our [API Changelog](https://developers.klaviyo.com/en/docs/changelog_)
99

10-
## [8.1.0] - revision 2024-06-15
10+
## [9.0.0] - revision 2024-07-15
1111

1212
### Added
13-
- Segments Api
14-
- New create segment endpoint `$klaviyo->Segments->createSegment()`.
15-
- New delete segment endpoint `$klaviyo->Segments->deleteSegment()`.
16-
- Updated exisiting segments endpoints to include the segment definition
17-
- For more information, see our [Segments API overview](https://developers.klaviyo.com/en/reference/segments_api_overview).
1813

19-
- Flows Api
20-
- New delete flows endpoint `$klaviyo->Flows->deleteFlow()`
21-
22-
## [8.0.0] - revision 2024-05-15
23-
24-
### Added
25-
26-
- Bulk Create Events API with
27-
- We have added support for creating events in bulk via the `$klaviyo->Events->bulkCreateEvents` method
28-
- Create multiple events for new and existing profiles and/or update profile properties in a single API call. For more information, see our [Events API overview](https://developers.klaviyo.com/en/reference/events_api_overview).
14+
- Forms API
15+
- New `klaviyo->Forms` object with methods to get forms, form versions and relationships
16+
- Webhooks API
17+
- new `klaviyo->Webooks` class containing CRUD operations for webhooks
2918

3019
### Changed
20+
- `Profiles->subscribe()`
21+
- added `historical_import` flag for importing historically consented profiles can now be optionally supplied in the payload for the Subscribe Profiles endpoint.
22+
- When using this flag, a consented_at date must be provided and must be in the past.
3123

32-
- Accounts Api
33-
- `$klaviyo->Accounts->getAccounts` and `$klaviyo->Accounts->getAccount` have been updated to return the account's locale, e.g. `en-US`.
34-
35-
- **Breaking** Subscribe API Synchronous Validation Improved
36-
- To provide better feedback for handling SMS subscriptions, we’ve added improved validation behavior to `$klaviyo->Profiles->subscribeProfiles` method. In prior revisions, such requests may appear as 202s but will fail to update SMS consent. To handle this issue, 400 validation errors are returned for the following cases
37-
1. If a profile is subscribed to SMS marketing and [age-gating is enabled](https://help.klaviyo.com/hc/en-us/articles/4408311712667) but age_gated_date_of_birth is not provided, or the DOB does not meet the region's requirements.
38-
2. If the account does not have a sending number in the phone number’s region.
39-
3. If the phone number is in a region not supported by Klaviyo.
40-
4. If consented_at is set and the list or global setting is double opt-in.
4124

4225
## [7.1.2] - revision 2024-02-15
4326

@@ -281,4 +264,4 @@ For EmailMarketing:
281264
- client name: `Client``KlaviyoAPI`
282265
- Client variable name in readme examples: `$client``$klaviyo`
283266
- Some functions have changed name
284-
- Parameter ordering: The order of params has changed; you will need to update these for your existing implementation to work
267+
- Parameter ordering: The order of params has changed; you will need to update these for your existing implementation to work

0 commit comments

Comments
 (0)