Skip to content

Commit 110be45

Browse files
Merge #668
668: Update version for the next release (v1.10.0) r=brunoocasali a=meili-bot _This PR is auto-generated._ The automated script updates the version of meilisearch-php to a new version: "v1.10.0" CHANGELOGS 👇 This version introduces features released on Meilisearch v1.10.0 🎉 Check out the changelog of [Meilisearch v1.10.0](https://github.com/meilisearch/meilisearch/releases/tag/v1.10.0) for more information on the changes. ## 🚀 Enhancements - Add localized attributes settings (#662) `@/irevoire` ``` $client->index('INDEX_NAME')->updateLocalizedAttributes([ 'locales' => ['jpn'], 'attributePatterns' => ['*_ja'] ]); ``` - Add `locales` search parameter (#663) `@/irevoire` ```php $client->index('INDEX_NAME')->search('進撃の巨人', [ 'locales' => ['jpn'] ]); ``` - Add federation options when doing multi-search (#663) `@/irevoire` ```php $client->multiSearch([ (new SearchQuery()) ->setIndexUid('movies')) ->setQuery('batman') ->setLimit(5), (new SearchQuery()) ->setIndexUid('comics') ->setQuery('batman') ->setLimit(5), ], (new MultiSearchFederation()) ); ``` - Add capability to update documents by function (⚠️ experimental feature) (#664) `@/irevoire` ```php $function = ' if doc.id % context.modulo == 0 { doc.title = `kefir would read ${doc.title}`; }; doc.remove("comment"); doc.remove("genre"); '; $client-> index->updateDocumentsByFunction($function, ['context' => ['modulo' => 3]]); ``` ## ⚙️ Maintenance/misc - Update CI (#666 & #667) `@/norkunas` Co-authored-by: meili-bot <[email protected]>
2 parents f6f1357 + b1d1cc1 commit 110be45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Meilisearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class Meilisearch
88
{
9-
public const VERSION = '1.9.1';
9+
public const VERSION = '1.10.0';
1010

1111
public static function qualifiedVersion()
1212
{

0 commit comments

Comments
 (0)