Releases: meilisearch/meilisearch-python
v0.23.0 π
This version makes this package compatible with Meilisearch v0.30.0 π
Check out the changelog of Meilisearch v0.30.0 for more information on the changes.
π Enhancements
- New
client.cancel_tasksmethod that lets you cancelenqueuedandprocessingtasks (#596) @alallema - New
paginationstrategy with the search parameterspageandhitsPerPage(#595) @alallema - New
client.delete_tasksmethod that lets you deleted tasks (#598) @alallema - New
client.swap_indexesmethod that lets you swap two indexes (#603) @alallema
β οΈ Breaking change
- Parameters on
get_tasksname changes: #597status->statusesindex_uid->index_uidstype->types
Thanks again to @alallema! π
v0.22.2 π
π Enhancements
- New ndjson handlers (#560) @Azanul
- New json handlers (#562) @Ambareen09
- Inconsistencies fix (#564) @Dark-Rock
- Add support for python 3.11 (#578) @sanders41
π Bug Fixes
Thanks again to @3t8, @Ambareen09, @Azanul, @Dark-Rock, @Leigh-Ola, @adripo, @alallema, @dibashthapa, @kaggrwal, @sanders41 and kumar! π
v0.22.1 π
π Enhancements
- Methods:
get_document,delete_documentanddelete_documentscan now take both typesstrorint(#545) @sarvesh4396 - Creation of an automatically generated hosted documentation (#546) @kaggrwal
Thanks again to @alallema, @brunoocasali, @kaggrwal and @sarvesh4396! π
v0.22.0 π
This version makes this package compatible with Meilisearch v0.29.0 π
Check out the changelog of Meilisearch v0.29.0 for more information on the changes.
π Enhancements
- Ensure support to the new search query parameter
matchingStrategy(#522) @brunoocasali - Ensure support to keys with wildcarded actions.
actionsfield during key creation now accepts wildcards on actions. For example,indexes.*provides rights toindexes.create,indexes.get,indexes.delete,indexes.delete, andindexes.update. (#521) @brunoocasali
β οΈ Breaking Changes
This breaking change may not affect you, but in any case, you should check your search queries if you want to keep the same behavior from v0.28.
- The
NOTfilter keyword does not have an implicitlyEXISToperator anymore. Check out for more information: meilisearch/meilisearch#2486
Thanks again to @alallema, @brunoocasali, ! π
v0.21.0 π
β οΈ Breaking changes
- Drop python 3.6 support (#529) @sanders41
π Bug Fixes
Thanks again to @alallema and @sanders41! π
v0.20.0 π [DEPRECATED]
Note:
This release replaces the v0.19.2, which should be a minor update instead of a patch update due to a Breaking Change
π₯ Breaking changes
- API resource output as a class to utilize dot notation for attributes (#513) @ElamC
Document,Index, andTaskare now classes, and the attributes of these classes are now accessible via dot notation:document.offset,document.limit,document.totaltask.uid,task.duration,task.status...
π Enhancements
- Add pipenv install in the CONTRIBUTING guide (#519) @brunoocasali
Security
- Bump mako from 1.2.1 to 1.2.2 due to security issue (#528)
π Bug Fixes
Thanks again to @ElamC, @alallema, @brunoocasali! π
v0.19.2 π [DEPRECATED]
You should be aware that this release contains a breaking-change. And you probably face problems like this: #532
β‘οΈ So we highly recommend you to move to 0.20.0 or go back to 0.19.1.
π Enhancements
- API resource output as class to utilize dot notation for attributes (#513) @ElamC
- Add pipenv install in the CONTRIBUTING guide (#519) @brunoocasali
- Bump mako from 1.2.1 to 1.2.2 due to security issue (#528)
Thanks again to @ElamC, @alallema, @brunoocasali! π
v0.19.1 π
v0.19.0 π
This version makes this package compatible with Meilisearch v0.28.0 π
Check out the changelog of Meilisearch v0.28.0 for more information on the changes.
π₯ Breaking changes
update_key()can update onlynameanddescriptionfields. #477get_tasks()has additional parameters for filtering::type,statusandindexUid. #476client.get_tasks(...)andindex.get_tasks()now returns the following fields:results,limit,from,next.#476index.searchchanges in the responsefields: #478nbHitsreplaced withestimatedTotalHitsexhaustiveNbHitsis deletedexhaustiveFacetsCountis deletedmatchesrenamedshowMatchesPositionfacetsDistributionresponse parameter is renamedfacetDistribution.
index.searchchanges in the request parameters: #478matchesrenamedshowMatchesPositionfacetsDistributionrequest parameter is renamedfacets.
index.get_documents()request parameters: #481attributesToRetrievereplaced withfields.
client.get_indexesandclient.get_raw_indexesnow return the following fields:results,limit,offset,total. #478index.get_documentsandclient.get_documentsnow return the following fields:results,limit,offset,total. #481index.get_documentsquery parameterattributesToRetrieveis now calledfields#481client.get_dump_statusandwait_for_dump_creationhave been removed #479client.create_dump()now returns tasks, similar to what add_documents or create_index returns #479client.generate_tenant_token(api_key_uid, search_rules, expires_at)has now a mandatoryapi_key_uidparameter which should contain the uid of a specific API key. #484
π Enhancements
index.get_tasksandclient.get_tasksaccept pagination metadata, addedlimit(default: 20),from. #476client.get_indexesaccept pagination metadata, addedlimit(default: 20) andoffset(default: 0). #478client.get_keysaccept pagination metadata, addedlimit(default: 20) andoffset(default: 0). #477client.get_key(key_or_uid)can now also find keys based on their key uid. #477client.create_key(options)lets you specify a custom uid (optionally) to create a new Key. #477index.get_documentsnow accepts pagination parameters:limit(default: 20) andoffset(default: 0). #481- Improve Docker configuration in the package (#467)
Thanks again to @alallema, @curquiza, and @roshammar! π
v0.18.3 π
This version makes this package compatible with Meilisearch v0.27.0π
Check out the changelog of Meilisearch v0.27.0 for more information about the changes.