- We added a new resource to retrieve segment lists from the API.
- We added new interfaces to define platform-side enums for email type and opt-in type in email channel properties.
- We added a new v2 API method for unsubscribing a contact from an address book (list).
- We added annotations for get methods in the Contact\Import model, to fix PHPStan errors.
- We removed implicitly null types for compatibility with PHP 8.4.
- We removed old ‘demo’ credentials from our tests.
- Responses with a 429 (Too Many Requests) error code now trigger a specific exception with properties exposing additional information (the call scope, rate limit and time to retry).
Contact::setDataFields()no longer breaks if passed an empty array.
- The SDK now supports checking V3 InsightData imports by id.
- We added setter methods for Contact ChannelProperty models.
- Some nested model type requirements have been relaxed.
- nesbot/carbon is removed in favour of native DateTime.
- We added an annotation to the Import model for a FailureCollection.
- The
$respondentNotificationCampaignIdproperty of the Survey model was changed from string to int.
- We added a method to update or create contact insight data.
- We added an annotation for the
getStatus()method in the Contact model, to fix PHPStan errors.
- It's now possible to call
$contact→setDatafields()passing an empty array.
- We've added a new V3 InsightData resource, with two PUT methods for bulk import and single upsert.
- We've added a new resource for fetching surveys, pages and forms via the V2 API.
- We added a
patchByIdentifiermethod to the V3 Contacts resource.
- We added
skipandselectparams to the V2show()method for address books (lists). - We added
@methoddocblocks to selected V3 models.
- The SDK now wraps version 2 and version 3 of the Dotdigital API.
- We have wrapped a subset of methods for the V3 contacts service, including create, get by identifier, import and get import by id.
- A
getTypeaccessor method was added to the V2 DataField model.
- This first version covers a limited set of resources (Account, Contacts, Address Books, Data Fields and Programs) with just a small subset of methods wrapped for each of these.
- v1 is bundled with one of our WordPress plugins, so it currently fits that use case.