Releases: meilisearch/meilisearch-rust
v0.32.0 🦀
⚠️ Breaking changes
- Add filterableAttributes syntax API to settings (#730) @kumarUjjawal
filterableAttributes type change: The
Settings.filterable_attributesfield type has changed fromOption<Vec<String>>toOption<Vec<FilterableAttribute>>to support Meilisearch v1.14's advanced filterable attributes syntax.Migration: If you directly access the
filterable_attributesfield (struct literal construction or field access), you'll need to update your code to handle the newFilterableAttributeenum type. However, most users are unaffected as the builder methods (with_filterable_attributes(),set_filterable_attributes()) maintain full backward compatibility and continue accepting strings. New_advancedvariants are available for users who want to leverage the full feature configuration (attribute patterns, facet search, equality filters).
🚀 Enhancements
- Add support for conversational search (#716) @kumarUjjawal
- Add disableOnNumbers to typo tolerance settings (#723) @kumarUjjawal
- Update Network API compatibility (#745) @kumarUjjawal
⚙️ Maintenance/misc
- Remove bors and use GitHub merge queue (#739) @curquiza
- Add genres field to "add or update document" code sample (#737) @pacifistes
- Remove
bors.tomlconfiguration file (#740) - Use Meilisearch Enterprise Edition (#742) @Strift
- Bump actions/checkout from 5 to 6 (#738) @dependabot[bot]
Thanks again to @Strift, @brunoocasali, @curquiza, @kumarUjjawal, @pacifistes and dependabot[bot]! 🎉
v0.31.0 🦀
🚀 Enhancements
- Add support for sorting on the documents API (#711) @kumarUjjawal
- Add sharding support for Network methods (#709) @kumarUjjawal
- Add support for webhook API (#719) @kumarUjjawal
- Add batchStrategy field to batches (#722) @kumarUjjawal
- Let users chose what crypto backend of jsonwebtoken to use (#729) @LukasKalbertodt
- Add method to get documents by ID (#724) @kumarUjjawal
- Add support for compacting database indexes (#728) @kumarUjjawal
- Add exhaustive facet search (#726) @kumarUjjawal
- Add support for multi-modal search (#712) @kumarUjjawal
⚙️ Maintenance/misc
- Update dependabot and release template configuration (#710)
- chore: Bump jsonwebtoken crate to 10.0.0 (#717) @kumarUjjawal
- Update thiserror requirement from 1.0.51 to 2.0.17 (#713) @dependabot[bot]
- Fix clippy error in webhook due to rust 1.91.0 (#732) @kumarUjjawal
- Update diesel-async requirement from 0.6.1 to 0.7.3 (#725) @dependabot[bot]
Thanks again to @LukasKalbertodt, @curquiza, @dependabot[bot], @kumarUjjawal, and dependabot[bot]! 🎉
v0.30.0 🦀
🚀 Enhancements
- Use
tokiosleep instead of blocking thread when usingreqwestclient (#689) @paolobarbolini - Make
reqwest/rustls-tlsan optional feature (#706) @ea935 - Add queryVector to search responses and support index renaming (#704) @kumarUjjawal
⚙️ Maintenance/misc
- Lighten
futuresdependency (#688) @paolobarbolini - Fix clippy (#707) @curquiza
Thanks again to @Mubelotix, @curquiza, @ea935, @kumarUjjawal, and @paolobarbolini! 🎉
v0.29.1 🦀
v0.29.0 🦀
Breaking changes
- Fix deleted_tasks field type in TaskDeletion struct by @coinmoles in #666 (
TaskDeletion.deleted_tasksandTaskCancelation.canceled_taskshave been madeOptions)
Enhancements
- Support all experimental features by @ellnix in #656
- Add
usedDatabaseSizeto stats by @Alirexaa in #653 - Add facet_search API functionality by @hmacr in #512
- Allow users to customize facet value sort behaviour by @hmacr in #514
- Support
embedderssetting and other vector/hybrid search related configuration by @CommanderStorm in #554 - Add documents and embbedings database metrics to stats response by @Alirexaa in #652
- Support facet search and prefix search settings by @ellnix in #634
- Serialize for MultiSearchResponse by @milesgranger in #668
- Implement federated multi search by @LukasKalbertodt in #625
- Add support for similar docs query by @JiaYingZhang in #674
Maintainance
- Remove _md code samples for Mintlify migration by @curquiza in #661
- Add missing
existto*_updatefunctions' docs by @funlennysub in #617 - Add Code Coverage GH action by @Alirexaa in #654
❤️ Thanks again to @ellnix, @Alirexaa, @funlennysub, @milesgranger, @coinmoles, @JiaYingZhang, @Mubelotix, @LukasKalbertodt, @hmacr, @CommanderStorm and @curquiza
v0.28.0 🕊️
This version introduces features released on Meilisearch v1.13.0 🎉
✨ New
- AI-powered search is now stable @Strift
🚀 Enhancements
- Remove in the next version the non-existent
vectorStoreexperimental feature (#638) @CommanderStorm - Add support for language settings and search parameter (#620) @necocen
- Support reverse param in get_tasks (#633) @ellnix
- Add
indicestoMatchRange(#632) @LukasKalbertodt
⚙️ Maintenance/misc
- Use resolver = "2" (#623) @dureuill
- Fix linting errors (#630) @Strift
- Fix broken links (#636) @ellnix
- Fix separator token code samples (#640) @ellnix
- Make doc-comments consistently be doc-comments (#639) @CommanderStorm
Thanks again to @CommanderStorm, @LukasKalbertodt, @Strift, @dureuill, @ellnix, and @necocen! 🎉
v0.27.1 🦀
🐛 Bug Fixes
- Stops panicking when getting indexes (#603) @postmeback
Thanks again to and @postmeback! 🎉
v0.27.0 🦀
No breaking, but since we introduce a lot of features, we don't want our users to be impacted by potential bugs introduced by the new features by just automatically downloading the latest patch version
🚀 Enhancements
- Support
searchCutoffMssetting (#588) @JWSong - Added score ranking details (#592) @NoodleSamaChan
- Supports text separation (#595) @NoodleSamaChan
- Add frequency to matchingStrategy (#598) @NoodleSamaChan
- Accept distinct search parameter (#599) @NoodleSamaChan
- Support ranking score threshold (#601) @NoodleSamaChan
⚙️ Maintenance/misc
- update yaup (#586) @NoodleSamaChan
- Update Yaup (#587) @NoodleSamaChan
Thanks again to @JWSong, @NoodleSamaChan, @curquiza, @irevoire ! 🎉
v0.26.1 🦀
v0.26.0 🦀
Hello everyone!
This update is pretty big; we finally moved away from Isahc after multiple complaints over multiple years; sorry for the delay.
We're now using reqwest as the default client. Since reqwest also has issues on its own, I absolutely wanted to give you the option to configure your own HTTP client and get rid entirely of reqwest and tokio.
This was achieved by making the Client, Index, and many other structures generics over the HTTP client.
Since we made reqwest the default HTTP client, most of you shouldn’t suffer from these breaking changes.
If you want to create your own custom HTTP client, you can look at the examples where we showed how to use awc as your default client.
⚠️ Breaking changes
For wasm users
Hello, my fellow WASM users. After updating to this version, you may get an error message about a structure being Send when it shouldn’t.
The fix for you will be to enable the futures-unsend feature:
meilisearch_sdk = { version: "0.26.0", features = ["futures-unsend"] }
List of changes
- Feat trait to make clients customizable (#459) @shimatar0
- Use reqwest by default (#563) @irevoire
- fix(indexes): allow None
primary_keyinadd_or_updatefunction (#557) @khanhnt2 - with_distrinct_attribute accepts None (#576) @NoodleSamaChan
🚀 Enhancements
- Feat trait to make clients customizable (#459) @shimatar0
- fix(indexes): allow None
primary_keyinadd_or_updatefunction (#557) @khanhnt2 - Make the error type implement Send + Sync + 'static (#571) @irevoire
- created new snapshot method - fixes #537 (#572) @NoodleSamaChan
- with_distrinct_attribute accepts None (#576) @NoodleSamaChan
🐛 Bug Fixes
- add feature for clients that do not implement send (#579) @ezegrosfeld
⚙️ Maintenance/misc
- Add repository field to meilisearch-index-setting-macro (#561) @paolobarbolini
- Fix proximity precision codesample (#562) @ellnix
- Removed
no_runcode in doctest (#574) @NoodleSamaChan
Thanks again to @NoodleSamaChan, @curquiza, @ellnix, @ezegrosfeld, @irevoire, @khanhnt2, @meili-bors[bot], @paolobarbolini and @shimatar0! 🎉
Special thanks to @shimatar0, who made most of the work in this release over a year ago for more than a month; you rock 💪