v0.19.0 π
·
1246 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 onlyname
anddescription
fields. #477get_tasks()
has additional parameters for filtering::type
,status
andindexUid
. #476client.get_tasks(...)
andindex.get_tasks()
now returns the following fields:results
,limit
,from
,next
.#476index.search
changes in the responsefields
: #478nbHits
replaced withestimatedTotalHits
exhaustiveNbHits
is deletedexhaustiveFacetsCount
is deletedmatches
renamedshowMatchesPosition
facetsDistribution
response parameter is renamedfacetDistribution
.
index.search
changes in the request parameters: #478matches
renamedshowMatchesPosition
facetsDistribution
request parameter is renamedfacets
.
index.get_documents()
request parameters: #481attributesToRetrieve
replaced withfields
.
client.get_indexes
andclient.get_raw_indexes
now return the following fields:results
,limit
,offset
,total
. #478index.get_documents
andclient.get_documents
now return the following fields:results
,limit
,offset
,total
. #481index.get_documents
query parameterattributesToRetrieve
is now calledfields
#481client.get_dump_status
andwait_for_dump_creation
have 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_uid
parameter which should contain the uid of a specific API key. #484
π Enhancements
index.get_tasks
andclient.get_tasks
accept pagination metadata, addedlimit
(default: 20),from
. #476client.get_indexes
accept pagination metadata, addedlimit
(default: 20) andoffset
(default: 0). #478client.get_keys
accept 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_documents
now accepts pagination parameters:limit
(default: 20) andoffset
(default: 0). #481- Improve Docker configuration in the package (#467)
Thanks again to @alallema, @curquiza, and @roshammar! π