v0.19.0 π
·
1524 commits
to refs/heads/main
since this release
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! π