- Fix - Add #[\ReturnTypeWillChange] to method declarations in order to suppress deprecation warnings in php 8.1
- Fix - Remove null coalesce operator to keep php 5.6 compatibility
- Fix - EventModel does not to throw warnings if optional 'properties' parameter is not set
- Update - Add ability to track and identify calls to use POST instead of GET
- Update - Add global suppression endpoint.
- Fix - Explicitly set curl query array and authentication.
- Fix - Use generic exception message if details not available.
- Update - Add people/search endpoint.
- Update - Add data-privacy/deletion-request endpoint.
- Deprecate - Rename List API methods: getListDetails, updateListDetails, subscribeMembersToList, unsubscribeMembersFromList, getGroupMemberIdentifiers, getAllExclusionsOnList
- Deprecate - Rename Metric API methods: getMetricTimeline, exportMetricData
- Update - Add error details into KlaviyoAPI handleResponse function
- Update - Add KlaviyoApiException
- Fix - Instantiate KlaviyoRateLimitException properly
- Update - Add retryAfter as an array key for the KlaviyoRateLimitException message
- Fix - ProfileModel file to convert specialAttributes properties to camel case before executing property_exists method inside jsonSerialize
- Fix - KlaviyoAPI file to handle json_decode correctly when empty string is returned
- Fix - Fix EventModel unix timestamp issue
- Update - Add all Klaviyo special properties
- Fix - Composer file remove comma
- Fix - EventModel configuration to handle null dates
- Fix - PHP compatibility >= 5.4
- Fix - EventModel configuration to use DateTime correctly
- Fix - ProfileModel configuration to set special attributes correctly
- Utilize ext-curl and remove Guzzle dependency.
- Add KlaviyoResourceNotFoundException.
- Redesign of the modules pattern. Instead of using client->method_name we now utilize client->BASE_API_ENDPOINT->method_name
- For example in 1.*
$client->getMetrics()
would now be$client->metrics->getMetrics()
in 2.* - There is no compatibility on migrating from 1.* to 2.* and will need to follow the new 2.0.0 pattern
- As this changelog was created after 2.0.0, please refer to the README for version 1 https://github.com/klaviyo/php-klaviyo/tree/d388ca998dff55b2a7e420c2c7aa2cd221365d1c