From f2cfdeedd36c6b0f1aa48d375051ee91fd8ca56d Mon Sep 17 00:00:00 2001 From: Julien Bourdeau Date: Tue, 19 Dec 2017 18:20:38 +0100 Subject: [PATCH] chore(release): 1.25.0 --- CHANGELOG.md | 22 ++++++++++++++++++++++ src/AlgoliaSearch/Version.php | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) 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 = '';