# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [3.0.0] - revision 2023-06-15 ### Added - Accounts API is now available, this will allow you to access information about the Klaviyo account associated with your API key. - `getAccounts` - `getAccount` **Note:** You will need to generate a new API key with either the `Accounts` scope enabled or `Full Access` to use these endpoints. ### Removed - All `client` endpoints - While you could potentially get this repo to work for frontend and use only these the client endpoints, this is bad practice. Klaviyo has the much lighter weight `klaviyo.js` wrapper [which you can read about here.](https://developers.klaviyo.com/en/docs/introduction_to_the_klaviyo_object) - `createClientEvent` - `createClientProfile` - `createClientSubscription` ## [2.0.0] - 2023-04-06 ### Added - Profiles API now returns predictive analytics when calling `get_profile` and `get_profiles` by passing in `additional_fields_profile: ["predictive_analytics"]`. ### Changed - Relationship endpoints that were previously grouped together are now split into related-resource-specific endpoints. ### Migration Guide - To migrate to this latest version, all calls to relationship endpoints need to be updated, as in the following example: - `get_campaign_relationships(id, "tags")` will become `get_campaign_relationships_tags(id)`. ## [1.2.0] - 2023-02-22 ### Added - Campagins (which were previously in our Beta API/SDKs) ### Changes - Profiles - Fix longitude value in ProfileLocation type mapping - Flows - Pagination changed from page offset to cursor ## [1.1.0] - 2022-01-24 ### Added - Added the following endpoints (which were previously in our Beta API/SDKs): - Data Privacy - All Tags endpoints, as well as the following related resource-specific endpoints: - Get Flow Tags - Get List Tags - Get Segment Tags ## [1.0.1] - 2022-12-06 ### Changes - Support for cursor pagination - Passing the `next` value from a paginated result to the following call via the `page_cursor` query string argument will now result in the cursor being parsed and set appropriately by the `ApiClient`. ## [1.0.0] - 2022-10-19 ### Added - Initial release ### Changes - Naming changes: - Package name: klaviyo_sdk -> klaviyo-api-sdk - Module name: KlaviyoBeta -> KlaviyoAPI - Some functions have changed name - New resources and endpoints: - See API Changelog for full details