Releases: meilisearch/meilisearch-python
v0.40.0 ๐
๐ Enhancements
- Add support for multi-modal search (#1167) @awais786
- Update Network API to be compatible with Meilisearch v1.30 (#1187) @orbin123
- Allow skipping document creation when using the documents API (#1189) @awais786
- Allow index renaming using index swap (#1191) @aznszn
- Accept
custom_metadatain index methods (#1179) @jawad-khan
โ๏ธ Maintenance/misc
- build(deps-dev): bump wrapt from 1.17.3 to 2.0.1 (#1176) @dependabot[bot]
- build(deps-dev): bump exceptiongroup from 1.3.0 to 1.3.1 (#1175) @dependabot[bot]
- build(deps-dev): bump black from 25.1.0 to 25.11.0 (#1174) @dependabot[bot]
- Use Meilisearch Enterprise Edition (#1182) @Strift
- Fix tests: adapt network tests for Meilisearch v1.30 HA changes (#1184) @orbin123
- build(deps): bump actions/checkout from 4 to 6 (#1178) @dependabot[bot]
- build(deps-dev): bump mypy from 1.17.1 to 1.19.1 (#1188) @dependabot[bot]
Thanks again to @Strift, @awais786, @aznszn, @jawad-khan and @orbin123! ๐
v0.39.0 ๐
๐ Enhancements
- Add support for sorting on the documents API. (#1163) @awais786
- Add support for webhooks api (#1169) @jawad-khan
- Add sharding support (#1164) @jawad-khan
- Rename index (#1170) @awais786
๐ Bug Fixes
- Fix custom headers override (#1172) @eun2ce
โ๏ธ Maintenance/misc
- Update Python version in README to 3.9+ (#1165) @DhavalGojiya
Thanks again to @DhavalGojiya, @Strift, @awais786, @eun2ce, and @jawad-khan! ๐
v0.38.0 ๐
v0.37.1 ๐
๐ Bug Fixes
- Fix: make TaskResults.from_/next_ accept None so get_tasks doesnโt crash on empty pages. ๐ค (#1126) @ddboline
โ๏ธ Maintenance/misc
- Update dependabot and release template configuration (#1144)
Thanks again to @bentxi13, @curquiza, @ddboline, @dependabot[bot], and dependabot[bot]! ๐
v0.37.0 ๐
v0.36.0 ๐
โ ๏ธ Breaking changes
-
Fix Document model: bad test, attribute bug, and field cleanup (#1113) @nnethercott
๐ migration path
What changed?
- The internal
__docfield inDocumenthas been removed to avoid data duplication. Document.__getattr__now correctly returns attribute values rather than the attribute name itself.
Impact
- Code relying on internal access to
document._Document__doc(e.g. through iterators) will break. - Behavior of doc.getattr("field") is now consistent and correct.
What you need to do:
- If you were manually accessing
document._Document__doc, switch to using direct attribute access or casting withdict(doc).
example updated usage
doc = index.get_document("foo") doc_dict = dict(doc) doc_dict.pop("_Document__doc") # โ Not needed anymore
- The internal
-
Refactor
TaskResults,IndexStats(#1066) @ellnix (โ ๏ธ this potentially have a breaking-change)
๐ Enhancements
- Add composite embedders and pooling for Hugging Face models (#1104) @nnethercott
- Give helpful error message when missing protocol in API URL (#1096) @ellnix
- Add methods for new index settings:
facetSearchandprefixSearch(#1068) @thicolares - Add
disableOnNumbersto typo tolerance settings (#1116) @nnethercott - Add support for
Networksfeature (#1097) @MuddyHope
โ๏ธ Maintenance/misc
- Add
merge_groupto trigger tests (#1117) @brunoocasali - Fix CI (#1118) @brunoocasali
Thanks again to @MuddyHope, @brunoocasali, @ellnix, @nnethercott, @thicolares! ๐
v0.35 ๐๏ธ
This release makes the SDK compatible with Meilisearch 1.13 AI search features.
๐ Enhancements
โ๏ธ Maintenance/misc
Thanks again to @Strift, @brunoocasali, and @curquiza ! ๐
v0.34.1 ๐
๐ Enhancements
- Sync embedder models with latest meili settings (#1075) @ellnix
- Allow custom headers in requests (#1076) @ellnix
- Make key description optional (#1067) @ellnix
- Update Documents with Functions (#1074) @MuddyHope
โ๏ธ Maintenance/misc
Thanks again to @MuddyHope, @Strift, & @ellnix! ๐
v0.34.0 ๐๏ธ
This version introduces features released on Meilisearch v1.13.0 ๐
โจ New
- AI-powered search is now stable @Strift
๐ Enhancements
- Stabilize vector store usage (#1079) @Strift
- Support localized-attributes settings (#1060) @ellnix
- Support batches API (#1062) @ellnix
- Support searching for similar documents (#1063) @ellnix
โ๏ธ Maintenance/misc
v0.33.1 ๐
๐ Bug Fixes
- Improve documentation for Index.add_documents() methods (#1057) @samuelbradshaw
Thanks again to @samuelbradshaw and @sanders41! ๐