Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Latest commit

 

History

History
75 lines (57 loc) · 2.99 KB

CHANGELOG.md

File metadata and controls

75 lines (57 loc) · 2.99 KB

CHANGELOG

  • 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

2.2.5

  • Update - Add error details into KlaviyoAPI handleResponse function
  • Update - Add KlaviyoApiException

2.2.4

  • Fix - Instantiate KlaviyoRateLimitException properly
  • Update - Add retryAfter as an array key for the KlaviyoRateLimitException message

2.2.3

  • Fix - ProfileModel file to convert specialAttributes properties to camel case before executing property_exists method inside jsonSerialize

2.2.2

  • 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

2.2.1

  • Fix - Composer file remove comma

2.2.0

  • Fix - EventModel configuration to handle null dates
  • Fix - PHP compatibility >= 5.4

2.1.1

  • Fix - EventModel configuration to use DateTime correctly
  • Fix - ProfileModel configuration to set special attributes correctly

2.1.0

  • Utilize ext-curl and remove Guzzle dependency.
  • Add KlaviyoResourceNotFoundException.

2.0.0

  • 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

1.0