Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <74670311+meili-bot@users.noreply.github.com>
- Loading branch information