diff --git a/CHANGELOG.md b/CHANGELOG.md index bbc0398e5..b18d54bcc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ ## Change Log +### 1.25.0 + +- feat: Let you define all API keys capabilities in one array + +Example: +```php +$client->addApiKey([ + 'acl' => [ + 'search', + 'listIndexes', + ], + 'validity' => $validity, + 'maxQueriesPerIPPerHour' => 1000, + 'maxHitsPerQuery' => 50, + 'indexes' => ['prefix_*'], +]); +``` +instead of +```php +$client->addApiKey(['search', 'listIndexes'], $validity, 1000, 50, ['prefix_*']); +``` + ### 1.24.0 - feat: Introduce ScopedCopyIndex method, to copy settings, synonyms or query rules between indices diff --git a/src/AlgoliaSearch/Version.php b/src/AlgoliaSearch/Version.php index ee3217f19..a57799316 100644 --- a/src/AlgoliaSearch/Version.php +++ b/src/AlgoliaSearch/Version.php @@ -29,7 +29,7 @@ class Version { - const VALUE = '1.24.0'; + const VALUE = '1.25.0'; public static $custom_value = '';