Skip to content

Releases: dotmailer/dotdigital-php

v2.6.0

07 Oct 15:26
Compare
Choose a tag to compare

What's new

  • 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). [3a5aba6]

Bug fixes

  • Contact::setDataFields() no longer breaks if passed an empty array. [55f399e]
  • The import summary property is now allowed to be empty. [3925514]

v2.5.0

23 Sep 15:48
Compare
Choose a tag to compare

Improvements

  • The SDK now supports checking V3 InsightData imports by id. [3ef9e5e]
  • We added setter methods for Contact ChannelProperty models. [ef04f2b]
  • Some nested model type requirements have been relaxed. [2b623d3]
  • nesbot/carbon is removed in favour of native DateTime. [137c978]

v2.4.1

01 Jul 09:43
Compare
Choose a tag to compare

Improvements

  • We added an annotation to the Import model for a FailureCollection. [b81bba5]

Bug fixes

  • The $respondentNotificationCampaignId property of the Survey model was changed from string to int. [208a9bb]

v2.4.0

14 Feb 14:11
Compare
Choose a tag to compare

What's new

  • We added a method to update or create contact insight data. [f3455cd]

Improvements

  • We added an annotation for the getStatus() method in the Contact model, to fix PHPStan errors. [d48242a]

v2.3.1

07 Nov 09:57
Compare
Choose a tag to compare

Improvements

  • It’s now possible to call $contact→setDatafields() passing an empty array. [33422d4]

v2.3.0

31 Oct 10:36
Compare
Choose a tag to compare

What's new

  • We’ve added a new V3 InsightData resource, with two PUT methods for bulk import and single upsert. [0aa1ca0]

v2.2.0

12 Oct 12:58
Compare
Choose a tag to compare

What's new

  • We've added a new resource for fetching surveys, pages and forms via the V2 API. [9c9c0f8]

v2.1.0

11 Sep 13:59
Compare
Choose a tag to compare

What's new

  • We added a patchByIdentifier method to the V3 Contacts resource. [2ef9daa]

Improvements

  • We added skip and select params to the V2 show() method for address books (lists). [f4ba5c4]
  • We added @method docblocks to selected V3 models. [59d70ed]

v2.0.0

13 Jul 16:23
Compare
Choose a tag to compare

What's new

  • 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.

Improvements

  • A getType accessor method was added to the V2 DataField model. [b35a41f]
Notes
  • The V3 API is currently in public preview, and is only available to merchants with an updated Dotdigital account configuration.

v2.0.0-RC1

16 Jun 14:36
Compare
Choose a tag to compare

What's new

  • 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.

Improvements

  • A getType accessor method was added to the V2 DataField model. [b35a41f]
Notes
  • The V3 API is currently in public preview, and is only available to merchants with an updated Dotdigital account configuration.