Skip to content

Releases: phpfui/ConstantContact

PHP 8.5

07 Nov 02:49

Choose a tag to compare

V25.10.1

PHP 8.5

POST needs json body

25 Nov 14:43

Choose a tag to compare

V24.11.7

POST needs json payload

setGuzzleFactory should return self

15 Nov 14:56

Choose a tag to compare

Better return types for all methods

14 Nov 23:20

Choose a tag to compare

This is a fairly large update to this library and has a very minor breaking change.

  • Methods (get, post, update, delete, etc) now return null instead of an empty array on error. You should change your code to coalesce return values to an empty array. For example $endPoint->get(); becomes $endPoint->get() ?? [] if your code uses the return value as an array.
  • All normal methods (get, post, update, delete, etc) have corresponding Typed()* methods that return objects in the \PHPFUI\ConstantContact\Definition namespace according to the Constant Contact API YAML definition.
  • Fixes were made in hydrating \PHPFUI\ConstantContact\Definition objects from arrays.
  • The \PHPFUI\ConstantContact\Client now supports a GuzzleHttp factory so the user can control \GuzzleHttp\Client creation.

Thanks to @xpavp03 for all the suggestions and testing.

PHP 8.4

28 Oct 19:25

Choose a tag to compare

V24.10.0

PHP 8.4 Support

Reset next url for every request

08 Mar 18:16

Choose a tag to compare

The next url was not reset for new requests resulting in potential extra requests in the case of an error from Constant Contact API.

PHP 8.3

23 Nov 15:04

Choose a tag to compare

V23.10.1

PHP 8.3

Construct definitions from text arrays

31 Oct 03:14

Choose a tag to compare

Definitions containing other Definitions can now be constructed from plain text arrays like those returned from the API.

PHP 8.2 Support

07 Dec 20:58

Choose a tag to compare

  • PHP 8.2 support
  • Session detection
  • Updated actions

Support for Custom Fields and delete method

13 Aug 02:16

Choose a tag to compare

  • Fixed a bug in delete methods. Thanks to @degive
  • Implemented custom fields. Thanks to @mstrigkos