Skip to content

Releases: meilisearch/meilisearch-ruby

v0.27.0 💎

14 Feb 15:32
9dd5454

Choose a tag to compare

⚠️ Breaking changes

  • Drop support for ruby 2 and add ruby 3.2 to CI (#516) @ellnix

🚀 Enhancements

  • Implement new proximityPrecision (#512) @andre-m-dev
  • Add method for creating a snapshot (#508) @andre-m-dev

🐛 Bug Fixes

⚙️ Maintenance/misc

Thanks again to @andre-m-dev, @brunoocasali, @ellnix! 🎉

v0.26.0

11 Dec 01:56
9e483ef

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.25.1...v0.26.0

v0.25.1 💎

14 Sep 13:15
187b143

Choose a tag to compare

⚠️ No changes were made to the public API (releasing for cleaning purposes & to start a new maintenance process)

💅 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 💎

15 Aug 03:20
7ffc6e7

Choose a tag to compare

🚀 Enhancements

⚠️ This PR introduces warnings that will pop up in any request sent with a camel case attribute.
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

Thanks again to @andre-m-dev, @brunoocasali and @jmks! 🎉

v0.24.0 💎

05 Jun 11:46
30e2624

Choose a tag to compare

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.
⚠️ If you want to adopt new features of this release, update the Meilisearch server to the according version.

🚀 Enhancements

  • The method delete_documents() now supports a different behavior. This method could take an options hash containing a filter: 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 use filter instead.
    #438 @brunoocasali

  • When a query with a filter key is sent to get_documents(options = {}) it will filter the documents like the search 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 💎

03 Apr 12:40
40c6a1f

Choose a tag to compare

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 your csv 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' },
    ])

    ⚠️ The SearchQuery was not meant to be used if the regular $index->search() requests (yet).

Thanks again to @brunoocasali! 🎉

v0.22.0 💎

06 Feb 13:27
db2f81d

Choose a tag to compare

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

If you would like to discover every potential breaking change, please check the Meilisearch engine CHANGELOG.

Thanks again to @brunoocasali! 🎉

v0.21.1 💎

12 Jan 13:46
a009c02

Choose a tag to compare

🚀 Enhancements

Thanks again to @bb, @brunoocasali! 🎉

v0.21.0 💎

28 Nov 14:50
efe6cb2

Choose a tag to compare

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 and hits_per_page like index.search('', { page: 1, hits_per_page: 10 })
  • Add filters for tasks resources (#391) @brunoocasali
    • uids filter parameter for MeilisearchClient#get_tasks({ uids: [1, 2, 3] })
    • canceled_by filter parameter for MeilisearchClient#get_tasks({ canceled_by: [99, 100]})
    • before_enqueued_at and after_enqueued_at filter parameter for MeilisearchClient#get_tasks({ before_enqueued_at: DateTime.new(2022), after_enqueued_at: '2022-01-20' })
    • before_finished_at and after_finished_at filter parameter for MeilisearchClient#get_tasks({ before_finished_at: DateTime.new(2022), after_finished_at: '2022-01-20' })
    • before_started_at and after_started_at filter parameter for MeilisearchClient#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 renamed index_uids when querying MeilisearchClient#get_tasks
    • type query parameter is renamed types when querying MeilisearchClient#get_tasks
    • status query parameter is renamed statuses when querying MeilisearchClient#get_tasks

💅 Misc

Thanks again to @brunoocasali, @dibashthapa, @jonatanrdsantos, and @thicolares! 🎉

v0.20.0 💎

03 Oct 14:04
05f7f01

Choose a tag to compare

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 to indexes.create, indexes.get,indexes.delete, indexes.delete, and indexes.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.