v0.26.0
For more information on how to update to the latest version of Meilisearch, read our dedicated guide.
New features
Tenant tokens
We released one of the features most requested by our users: tenant tokens. (#2096) @ManyTheFish
Tenant tokens allow developers to restrict access to documents depending on the end-user making the search request, effectively enabling multi-tenant indexes.
A tenant token is a JWT. It must be generated by combining an API key with a set of permissions and rules the developer wishes to apply to an end user's search.
For more information on tenant tokens, read our dedicated guide.
Auto-batching (experimental)
This version includes the auto-batching feature. (#2005) @MarinPostma
Auto-batching improves indexing speed by batching together consecutive document additions.
Here is a simple way to use it:
meilisearch --enable-auto-batching
This is an experimental feature. Based on user feedback, it might be completely reworked or outright removed in a future release.
You can read more about how to use auto-batching in this discussion.
Breaking changes
- New dump behavior (#2098) @irevoire
Importing a dump into an instance with an existing database using--import-dump
will throw an error on the CLI. Similar to snapshots, the--ignore-dump-if-db-exists
and--ignore-missing-dump
flags have been added for dumps. - New flag behavior for the CLI (#2068) @MarinPostma
Affected options:--no-analytics
,--schedule-snapshot
,--ignore-missing-snapshot
,--ignore-snapshot-if-db-exists
,--ssl-require-auth
,--ssl-resumption
,--ssl-tickets
❌:meilisearch --no-analytics=true
✅:meilisearch --no-analytics
- Remove armv8 binary from the release assets. Use aarch64 binary instead. (#2136) @curquiza
Enhancements
- Allow payloads with no documents (#2075) @MarinPostma
- Accept
null
values for numeric fields on CSV upload (meilisearch/milli#445) @MarinPostma - Set Rust edition to 2021 (#2060 and #2067) @MarinPostma
- Update dashboard to fit the new rebranding (#2174) @mdubus
Fixes
- Fix
_geoPoint
sorting (meilisearch/milli#424) @irevoire and his father - Allow API keys to accept
null
descriptions (#2135) @ManyTheFish - Fix search highlight for non-unicode chars (meilisearch/milli#426) @Samyak2
- Fix empty filter behavior (meilisearch/milli#422) @Kerollmops
- Set a limit to filters to avoid stackoverflow issues (meilisearch/milli#421) @Kerollmops
- Fix Docker image to boot on arm64 node (#2122) @Thearas
- Handle escaped characters in filters (meilisearch/milli#427) @irevoire
- Update error message for missing version files (#2095) @irevoire
- Fix multiple dump problem (#2057, #2076, #2074) @irevoire
- Fix for phrase searches with more than two words (meilisearch/milli#442) @MarinPostma
- Fix
too many open file
error during tests (#2011) @MarinPostma - Fix internal error on the stats route with snapshots enabled (#2192) @MarinPostma
- Fix blocking authentication (#2204) @MarinPostma
Misc
- Get rid of chrono in favor of time (#2173) @irevoire
- Update actix-web dependency to 4.0.0 (#2194) @robjtede
- Enhance authorization tests (#2108) @ManyTheFish
- Update ASCII art (#2118) @irevoire
- Update Meilisearch spelling and branding (#2117) @meili-bot
- Update CONTRIBUTING.md (#1908) @ferdi05
- Update LICENSE (#2145) @curquiza
- Update analytics (#2099 and #2086) @irevoire
- Ignore auth tests errors on Windows (#2037) @irevoire
❤️ Thanks again to our external contributors: