Releases: meilisearch/meilisearch-python
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.
๐ Enhancements
v0.18.2 ๐
๐ Enhancements
- Add User-Agent header to have analytics in every HTTP request (#433) @brunoocasali
Analytics is enabled by default in the server, but you can disable them by following this guide
Also, of course, every analytics data we collect are ANONYMOUS read the guide for more information.
Thanks again to @alallema, @brunoocasali! ๐
v0.18.1 ๐
This version makes this package compatible with MeiliSearch v0.25 up to v0.26.0.
๐ Check out the changelog of MeiliSearch v0.26.0 for more information about the :danger: Breaking changes about the flag and dump new behavior. (#407)
๐ Enhancements
- Add package version (#409) @brunoocasali
- Added new method
generateTenantToken()as a result of the addition of the multi-tenant functionality.
This method creates a JWT tenant token that will allow the user to have multi-tenant indexes and thus restrict access to documents based on the end-user making the search request. (#412) @alallema
Thanks again to @alallema, @brunoocasali, @curquiza! ๐