Skip to content

Commit

Permalink
Merge pull request #358 from algolia/release/1.25.0
Browse files Browse the repository at this point in the history
Release 1.25.0
  • Loading branch information
julienbourdeau authored Dec 28, 2017
2 parents f2ac72c + f2cfdee commit 0fd6eab
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/AlgoliaSearch/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

class Version
{
const VALUE = '1.24.0';
const VALUE = '1.25.0';

public static $custom_value = '';

Expand Down

0 comments on commit 0fd6eab

Please sign in to comment.