Skip to content

v0.26.0 🦀

Compare
Choose a tag to compare
@meili-bot meili-bot released this 06 May 08:57
· 62 commits to refs/heads/main since this release
4b3338d

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

🚀 Enhancements

🐛 Bug Fixes

  • add feature for clients that do not implement send (#579) @ezegrosfeld

⚙️ Maintenance/misc

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 💪