Skip to content

Commit

Permalink
version 9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
klaviyo-sdk committed Jul 15, 2024
1 parent c619552 commit c195ab4
Show file tree
Hide file tree
Showing 557 changed files with 12,485 additions and 2,411 deletions.
35 changes: 9 additions & 26 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

## [8.1.0] - revision 2024-06-15
## [9.0.0] - revision 2024-07-15

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

- Flows Api
- New delete flows endpoint `$klaviyo->Flows->deleteFlow()`

## [8.0.0] - revision 2024-05-15

### Added

- Bulk Create Events API with
- We have added support for creating events in bulk via the `$klaviyo->Events->bulkCreateEvents` method
- 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).
- Forms API
- New `klaviyo->Forms` object with methods to get forms, form versions and relationships
- Webhooks API
- new `klaviyo->Webooks` class containing CRUD operations for webhooks

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

- Accounts Api
- `$klaviyo->Accounts->getAccounts` and `$klaviyo->Accounts->getAccount` have been updated to return the account's locale, e.g. `en-US`.

- **Breaking** Subscribe API Synchronous Validation Improved
- 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
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.
2. If the account does not have a sending number in the phone number’s region.
3. If the phone number is in a region not supported by Klaviyo.
4. If consented_at is set and the list or global setting is double opt-in.

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

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

0 comments on commit c195ab4

Please sign in to comment.