Releases: meilisearch/meilisearch-python
Releases · meilisearch/meilisearch-python
v0.14.0 🐍
Changes
- Introduction of the
index()method that replacesget_index().get_index()is still available but does HTTP call, so this should be only used to fetch information from the MeiliSearch instance. See our Getting Started to use this package the right way (#175) @curquiza - Add a new attribute in the
Indexclass:primary_key. You can now useclient.get_index('books').primary_keyto access the primary key of your index. (#175) @curquiza - Update dependencies
Breaking changes ⚠️
get_index()is still present but does an HTTP call. This method should be only used to fetch information from the MeiliSearch instance, not to manipulate anIndexobject in your code base. Useindex()instead. See our Getting Started to be sure using this SDK the most optimized way. (#175) @curquiza- Rename
info()intofetch_info()(#175) @curquiza - Make the
update_index()method return anIndexinstance (#176) @curquiza
Thanks again to @bidoubiwa, @curquiza, and most of all to @kamyar for having refactored the tests suite! 🎉
v0.13.0 🐍
v0.12.4 🐍
v0.12.3 🐍
v0.12.2 🐍 [Not available on PyPi]
No change
v0.12.1 🐍 [Not available on PyPi]
No change
v0.12.0 🐍
v0.11.2 🐍
v0.11.1 🐍
v0.11.0
- Create a basic error handler (#82)
- Improve tests suite (#80)
- Implement
wait_for_pending_updatemethod (#81) - Fix bug: Search optional params are not applied when they are a list of strings (#87)
- Add
attributesForFacetingsetting (#90) - Implement facets in search using
facetFiltersandfacetsDistribution(#94 and #98) - Minor renaming (#93)
- Clear all indexes before starting a test context (#95)
- Change
create_indexmethod prototype (#99) - Update README
Breaking changes due to the MeiliSearch breaking upgrade (from v0.10.X to v0.11.X)
- in the
GET /statsroute, thefieldsFrequencyattribute is renamed intofieldsDistribution. The value of this attribute does not change. - MeiliSearch is currently doing a better error handler. Now, the following attributes are present in the body answer when raising an error:
errorCode,errorTypeanderrorLink.
Themessageattribute still exists but the value of this field might change for some errors.
We do not recommend using the content of these fields immediately (wait for thev0.12.0): MeiliSearch is indeed still working on this error handler and the content of these fields will probably change.
Thanks to @eskombro, @bidoubiwa and @curquiza!