Releases: meilisearch/meilisearch-ruby
v0.27.0 💎
⚠️ Breaking changes
🚀 Enhancements
- Implement new proximityPrecision (#512) @andre-m-dev
- Add method for creating a snapshot (#508) @andre-m-dev
🐛 Bug Fixes
⚙️ Maintenance/misc
- Replace deprecated action (#506) @brunoocasali
- Update version targets (Ruby 3.1, Ubuntu 22.04) (#510) @ellnix
Thanks again to @andre-m-dev, @brunoocasali, @ellnix! 🎉
v0.26.0
What's Changed
- Changes related to the next Meilisearch release (v1.4.0) by @meili-bot in #481
- Bump actions/checkout from 3 to 4 by @dependabot in #490
- Add code samples and remove useless ones by @curquiza in #486
- Add new
MeiliSearch::Errorfrom which other errors inherit by @ellnix in #492 - Support user dictionary loading by @ellnix in #491
- Support text-separator customization by @ellnix in #493
- Implement facet_search by @ellnix in #496
- Add webinar banner to README by @meili-bot in #501
- Fix matching_strategy_spec by @ellnix in #495
- Add new section to release drafter by @curquiza in #502
- Remove webinar banner to README by @meili-bot in #503
- Update version for the next release (v0.26.0) by @meili-bot in #505
New Contributors
Full Changelog: v0.25.1...v0.26.0
v0.25.1 💎
💅 Misc & Tests
- Added display hits ranking scores (#466) @andre-m-dev
- [EXPERIMENTAL] Display ranking details at search #460 (#476) @andre-m-dev
- [EXPERIMENTAL] Vector Store (#478) @andre-m-dev
- Define fields to search on at search-time (#479) @davidpan
Thanks again to @andre-m-dev, @brunoocasali, @curquiza, @davidpan! 🎉
v0.25.0 💎
🚀 Enhancements
- [v1.3] Total Tasks in task route #463 (#464) @andre-m-dev
- Deprecate camelCase attributes usage (#470), (#377) @brunoocasali & @jkms
There is no clear path until this warning is triggered, but the idea is to drop the compatibility of camelCase attributes soon.
So, please make the change as soon as possible.
Warning example:
Attributes will be expected to be snake_case in future versions of Meilisearch Ruby.
Non-conforming attributes: distinctAttribute
💅 Misc
- Changes related to the next Meilisearch release (v1.3.0) (#452)
- Fix issue #456 (#469) @brunoocasali
- Add codecov (#471) @brunoocasali
Thanks again to @andre-m-dev, @brunoocasali and @jmks! 🎉
v0.24.0 💎
This version introduces features released on Meilisearch v1.2.0 🎉
Check out the changelog of Meilisearch v1.2.0 for more information on the changes.
🚀 Enhancements
-
The method
delete_documents()now supports a different behavior. This method could take anoptionshash containing afilter:key/value object to filter the documents or a simple array or single value as usual.
⚠️ Still, even being supported, the ability to receive other types than a hash is deprecated and should be changed to a filter. Please usefilterinstead.
#438 @brunoocasali -
When a query with a
filterkey is sent toget_documents(options = {})it will filter the documents like thesearchmethod. This feature requires a Meilisearch server version greater than v1.2. See the docs on how to use filters. #439 @brunoocasali
Thanks again to @brunoocasali! 🎉
v0.23.0 💎
This version introduces features released on Meilisearch v1.1.0 🎉
Check out the changelog of Meilisearch v1.1.0 for more information on the changes.
If you want to adopt new features of this release, update the Meilisearch server to the according version.
🚀 Enhancements
-
Add a new optional argument to
add_documents_csv. This argument allows you to customize the separator character in yourcsvfile. (#429) @brunoocasali. -
Add
client.multi_search()method to execute multiple search requests simultaneously with different configurations. (#430) @brunoocasali
Usage example:client.multi_search([ { index_uid: 'books', q: 'prince' }, { index_uid: 'movies', q: 'prince' }, ])
⚠️ TheSearchQuerywas not meant to be used if the regular$index->search()requests (yet).
Thanks again to @brunoocasali! 🎉
v0.22.0 💎
This version makes this package compatible with Meilisearch v1.0.0 🎉
Check out the changelog of Meilisearch v1.0.0 for more information on the changes.
⚠️ Breaking Changes
- Fails task when updating documents with a primary_key argument which already have a proper
primary_keydefined in the index (#410) @brunoocasali - New error codes check the full changed list here
If you would like to discover every potential breaking change, please check the Meilisearch engine CHANGELOG.
Thanks again to @brunoocasali! 🎉
v0.21.1 💎
🚀 Enhancements
- Allow the latest httparty version because all lower ones have a vulnerability:
GHSA-5pq7-52mg-hr42 (#414) @bb
Thanks again to @bb, @brunoocasali! 🎉
v0.21.0 💎
This version makes this package compatible with Meilisearch v0.30.0 🎉
Check out the changelog of Meilisearch v0.30.0 for more information on the changes.
🚀 Enhancements
- Add
MeilisearchClient#cancel_tasks(#392) @brunoocasali - Add
MeilisearchClient#swap_indexes(#393) @brunoocasali - Add
MeilisearchClient#delete_tasks(#394) @brunoocasali - Add support to finite pagination by using
pageandhits_per_pagelikeindex.search('', { page: 1, hits_per_page: 10 }) - Add filters for tasks resources (#391) @brunoocasali
uidsfilter parameter forMeilisearchClient#get_tasks({ uids: [1, 2, 3] })canceled_byfilter parameter forMeilisearchClient#get_tasks({ canceled_by: [99, 100]})before_enqueued_atandafter_enqueued_atfilter parameter forMeilisearchClient#get_tasks({ before_enqueued_at: DateTime.new(2022), after_enqueued_at: '2022-01-20' })before_finished_atandafter_finished_atfilter parameter forMeilisearchClient#get_tasks({ before_finished_at: DateTime.new(2022), after_finished_at: '2022-01-20' })before_started_atandafter_started_atfilter parameter forMeilisearchClient#get_tasks({ before_started_at: DateTime.new(2022), after_started_at: '2022-01-20' })
⚠️ Breaking Changes
- Update filters for tasks resources (#391) @brunoocasali
index_uidquery parameter is renamedindex_uidswhen queryingMeilisearchClient#get_taskstypequery parameter is renamedtypeswhen queryingMeilisearchClient#get_tasksstatusquery parameter is renamedstatuseswhen queryingMeilisearchClient#get_tasks
💅 Misc
- Fix broken CI after rubocop upgrade (#381) @jonatanrdsantos
- Add new code-samples for matching_strategy (#384) @thicolares
- Improve indexes names in tests (#385) @thicolares
Thanks again to @brunoocasali, @dibashthapa, @jonatanrdsantos, and @thicolares! 🎉
v0.20.0 💎
This version makes this package compatible with Meilisearch v0.29.0 🎉
Check out the changelog of Meilisearch v0.29.0 for more information on the changes.
🚀 Enhancements
- Ensure support to the new search query parameter
matchingStrategy(#364) @brunoocasali - Ensure support to keys with wildcarded actions.
actionsfield during key creation now accepts wildcards on actions. For example,indexes.*provides rights toindexes.create,indexes.get,indexes.delete,indexes.delete, andindexes.update. (#365) @brunoocasali
⚠️ Breaking Changes
This breaking change may not affect you, but in any case, you should check your search queries if you want to keep the same behavior from v0.28.
- The
NOTfilter keyword does not have an implicitlyEXISToperator anymore. Check out for more information: meilisearch/meilisearch#2486