Skip to content

Commit 94aa143

Browse files
Merge pull request #24 from klaviyo/4.0.0-release
4.0.0 release
2 parents 251ee0d + 430f12a commit 94aa143

514 files changed

Lines changed: 6149 additions & 11725 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: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [4.0.0] - revision 2023-06-15
5+
### Added
6+
- Accounts API is now available, this will allow you to access information about the Klaviyo account associated with your API key.
7+
- `getAccounts`
8+
- `getAccount`
9+
10+
**Note:** You will need to generate a new API key with either the `Accounts` scope enabled or `Full Access` to use these endpoints.
11+
12+
### Changed
13+
- `createProfile` - opts parameter removed because there are no optional query parameter that can be passed to the endpoint
14+
15+
### Removed
16+
- All `client` endpoints - While you could potentially get this repo to work for frontend and use only these client endpoints, it is bad practice to use client-side endpoints on the server side. In addition, developers found the inclusion of the client-side endpoints in our SDKs generally confusing.
17+
- `createClientEvent`
18+
- `createClientProfile`
19+
- `createClientSubscription`
20+
21+
Klaviyo has the much lighter weight `klaviyo.js` wrapper that we recommend for client-side use [which you can read about here.](https://developers.klaviyo.com/en/docs/introduction_to_the_klaviyo_object)
22+
23+
In addition, you can [make client-side API calls](https://developers.klaviyo.com/en/reference/create_client_event) outright if desired.
24+
425
## [3.0.0] - revision 2023-02-22
526
### Added
627
- Profiles API now returns predictive analytics when calling `getProfile` and `getProfiles` by passing in `additionalFieldsProfile = ["predictive_analytics"]`.

0 commit comments

Comments
 (0)