Releases: meilisearch/meilisearch-ruby
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::Error
from 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 anoptions
hash 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 usefilter
instead.
#438 @brunoocasali -
When a query with a
filter
key is sent toget_documents(options = {})
it will filter the documents like thesearch
method. 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 yourcsv
file. (#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' }, ])
β οΈ TheSearchQuery
was 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_key
defined 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
page
andhits_per_page
likeindex.search('', { page: 1, hits_per_page: 10 })
- Add filters for tasks resources (#391) @brunoocasali
uids
filter parameter forMeilisearchClient#get_tasks({ uids: [1, 2, 3] })
canceled_by
filter parameter forMeilisearchClient#get_tasks({ canceled_by: [99, 100]})
before_enqueued_at
andafter_enqueued_at
filter parameter forMeilisearchClient#get_tasks({ before_enqueued_at: DateTime.new(2022), after_enqueued_at: '2022-01-20' })
before_finished_at
andafter_finished_at
filter parameter forMeilisearchClient#get_tasks({ before_finished_at: DateTime.new(2022), after_finished_at: '2022-01-20' })
before_started_at
andafter_started_at
filter 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_uid
query parameter is renamedindex_uids
when queryingMeilisearchClient#get_tasks
type
query parameter is renamedtypes
when queryingMeilisearchClient#get_tasks
status
query parameter is renamedstatuses
when 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.
actions
field 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
NOT
filter keyword does not have an implicitlyEXIST
operator anymore. Check out for more information: meilisearch/meilisearch#2486
v0.19.2 π
π Enhancements
- Add typo tolerance customization settings (#350) @voloyev
- Add faceting settings customization (#352) @voloyev
- Support custom agents (#354) @brunoocasali
Thanks again to @brunoocasali, and @voloyev! π