Skip to content

Commit

Permalink
Merge pull request #120 from thinkshout/v3-update
Browse files Browse the repository at this point in the history
Updates to v3.0.0 and removes version from composer
  • Loading branch information
aprice42 authored May 26, 2023
2 parents d07372f + 310c1cb commit 2fcd4b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "thinkshout/mailchimp-api-php",
"version": "3.0.0-rc6",
"type": "library",
"description": "PHP library for v3 of the MailChimp API",
"keywords": ["mailchimp", "mail"],
Expand Down
2 changes: 1 addition & 1 deletion src/Mailchimp.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
class Mailchimp implements MailchimpApiInterface {

const VERSION = '3.0.0-rc6';
const VERSION = '3.0.0';
const DEFAULT_DATA_CENTER = 'us1';

const ERROR_CODE_BAD_REQUEST = 'BadRequest';
Expand Down

1 comment on commit 2fcd4b5

@torgospizza
Copy link

@torgospizza torgospizza commented on 2fcd4b5 Jul 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change breaks version detection in the Drupal 7 module because of this bit in mailchimp.module's implementation of hook_libraries_info():

version arguments' => array(
     'file' => 'composer.json',
      'pattern' => '/"version": "([0-9a-zA-Z.-]+)"/',
   ),

Please sign in to comment.