Skip to content

Releases: phpfui/ConstantContact

Allow POST for OAUTH2

Choose a tag to compare

@phpfui phpfui released this 01 Apr 16:28

And update github workflows

More PHP 8.5 support

Choose a tag to compare

@phpfui phpfui released this 04 Dec 19:25
  • Removed curl_close() for PHP 8.5 since it does nothing.

Full Changelog: V25.11.1...V25.12.0

PHP 8.5

Choose a tag to compare

@phpfui phpfui released this 07 Nov 02:49
V25.10.1

PHP 8.5

POST needs json body

Choose a tag to compare

@phpfui phpfui released this 25 Nov 14:43
V24.11.7

POST needs json payload

setGuzzleFactory should return self

Choose a tag to compare

@phpfui phpfui released this 15 Nov 14:56
V24.11.6

Minor fixes

Better return types for all methods

Choose a tag to compare

@phpfui phpfui released this 14 Nov 23:20

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

Choose a tag to compare

@phpfui phpfui released this 28 Oct 19:25
V24.10.0

PHP 8.4 Support

Reset next url for every request

Choose a tag to compare

@phpfui phpfui released this 08 Mar 18:16

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

Choose a tag to compare

@phpfui phpfui released this 23 Nov 15:04
V23.10.1

PHP 8.3

Construct definitions from text arrays

Choose a tag to compare

@phpfui phpfui released this 31 Oct 03:14

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