Skip to content

Releases: thinkshout/mailchimp-api-php

v3.0.1

08 Dec 20:51
466e4bd
Compare
Choose a tag to compare

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

Full Changelog: v3.0.0...v3.0.1

v3.0.0

26 May 22:01
2fcd4b5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.3...v3.0.0

v3.0.0-rc6

19 Apr 22:27
49ce710
Compare
Choose a tag to compare

v3.0.0-rc5

12 Apr 18:06
5198f88
Compare
Choose a tag to compare

What's Changed

  • Issue: 114: remove leftover defaults from MailchimpApiUser::request. by @primsi in #115

New Contributors

Full Changelog: v3.0.0-rc4...v3.0.0-rc5

v3.0.0-rc4

25 Feb 07:15
761703c
Compare
Choose a tag to compare

Add release number

Full Changelog: v3.0.0-rc3...v3.0.0-rc4

v3.0.0-rc3

24 Feb 22:25
0616e3a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.0-rc2...v3.0.0-rc3

v3.0.0-rc2

22 Feb 06:05
250e74a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.0-rc1...v3.0.0-rc2

v3.0.0-rc1

10 Feb 19:33
31ba958
Compare
Choose a tag to compare

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

29 Dec 20:00
Compare
Choose a tag to compare

Fixes a bug caused by missing test classes. See https://www.drupal.org/project/mailchimp/issues/3254786

v2.1.2

18 Nov 19:52
ed0e822
Compare
Choose a tag to compare

Add Licensing.