Releases: meilisearch/meilisearch-python
Releases · meilisearch/meilisearch-python
v0.36.0 🐍
⚠️ Breaking changes
-
Fix Document model: bad test, attribute bug, and field cleanup (#1113) @nnethercott
🛠 migration path
What changed?
- The internal
__doc
field inDocument
has 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:
facetSearch
andprefixSearch
(#1068) @thicolares - Add
disableOnNumbers
to typo tolerance settings (#1116) @nnethercott - Add support for
Networks
feature (#1097) @MuddyHope
⚙️ Maintenance/misc
- Add
merge_group
to 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 🐍
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! 🎉
v0.33.0 🐍
v0.32.0 🐍
v0.31.6 🐍
🚀 Enhancements
- Compatibility of
embedder
settings with Meilisearch v1.11 (#1018) @sanders41 & @dureuill - Supports
rankingScoreThreshold
search parameter (#1008) @aweidner - Federated Search Addition (#1013) @MuddyHope
⚙️ Maintenance/misc
Thanks again to @MuddyHope, @aweidner, @curquiza, @dureuill and @sanders41! 🎉
v0.31.5 🐍
v0.31.4 🐍
🐛 Bug Fixes
- Fixed a typing mistake in /meilisearch/index.py:1084 (#993) @Nikolas-Lehto
⚙️ Maintenance/misc
- Fix flaky test (#978) @sanders41
- Bump certifi from 2023.11.17 to 2024.7.4 in the pip group (#991)
- Remove huggingface setting in tests to fix flakiyness (#994) @sanders41
🔒 Security
- Bump certifi from 2023.11.17 to 2024.7.4 in the pip group (#991)
Thanks again to @Nikolas-Lehto, and @sanders41! 🎉