- 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
$respondentNotificationCampaignId
property 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
patchByIdentifier
method to the V3 Contacts resource.
- We added
skip
andselect
params to the V2show()
method for address books (lists). - We added
@method
docblocks 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
getType
accessor 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.