Releases: thinkshout/mailchimp-api-php
Releases · thinkshout/mailchimp-api-php
v3.0.1
What's Changed
- Creation of dynamic properties is deprecated in PHP 8.2. by @pfrenssen in #123
- Make $batch_operations variable public by @szeidler in #121
- Pass implementation of MailchimpApiUser::hasApiAccess() to the api_access object by @MegaChriz in #125
New Contributors
- @pfrenssen made their first contribution in #123
- @szeidler made their first contribution in #121
Full Changelog: v3.0.0...v3.0.1
v3.0.0
v3.0.0-rc6
Full Changelog: v3.0.0-rc5...v3.0.0-rc6
v3.0.0-rc5
v3.0.0-rc4
Add release number
Full Changelog: v3.0.0-rc3...v3.0.0-rc4
v3.0.0-rc3
What's Changed
Full Changelog: v3.0.0-rc2...v3.0.0-rc3
v3.0.0-rc2
What's Changed
- PHP 8.1 fixes and add a helper method for checking authentication by @aprice42 in #110
- Remove API playground; no longer supported by MailChimp. by @ruscoe in #106
- Adds and updates changes from #105 by @aprice42 and @calebtr-metro in #111
Full Changelog: v3.0.0-rc1...v3.0.0-rc2
v3.0.0-rc1
This release candidate updates the library architecture to allow support for both API key-based authentication (existing) and OAuth authentication (new)
- Now to instantiate a Mailchimp connection you need to instantiate a MailchimpApiInterface and a MailchimpApiIUser with something like the following:
// Instantiate MailchimpApiInterface
$authentication_settings = [
'access_token' => $this->stateService->get('mailchimp_access_token'),
'data_center' => $this->stateService->get('mailchimp_data_center'),
'api_user' => 'oauth',
];
// Use Mailchimp2 for OAuth and Mailchimp for api_key.
$api_class = new Mailchimp2($authentication_settings);
$http_options = [
'timeout' => $this->config->get('api_timeout'),
'headers' => [
'User-Agent' => _mailchimp_get_user_agent(),
],
];
// Instantiate a MailchimpApiUser or a class that extends it (ie. MailchimpLists, MailchimpSignups, etc..)
$mailchip_object = new MailchimpApiUser($api_class, $http_options);
v2.1.3
Fixes a bug caused by missing test classes. See https://www.drupal.org/project/mailchimp/issues/3254786