Releases: meilisearch/meilisearch-python
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 to- indexes.create,- indexes.get,- indexes.delete,- indexes.delete, and- indexes.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, and- Taskare now classes, and the attributes of these classes are now accessible via dot notation:
- document.offset,- document.limit,- document.total
- task.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 only- nameand- descriptionfields. #477
- get_tasks()has additional parameters for filtering::- type,- statusand- indexUid. #476
- client.get_tasks(...)and- index.get_tasks()now returns the following fields:- results,- limit,- from,- next.#476
- index.searchchanges in the response- fields: #478- nbHitsreplaced with- estimatedTotalHits
- exhaustiveNbHitsis deleted
- exhaustiveFacetsCountis deleted
- matchesrenamed- showMatchesPosition
- facetsDistributionresponse parameter is renamed- facetDistribution.
 
- index.searchchanges in the request parameters: #478- matchesrenamed- showMatchesPosition
- facetsDistributionrequest parameter is renamed- facets.
 
- index.get_documents()request parameters: #481- attributesToRetrievereplaced with- fields.
 
- client.get_indexesand- client.get_raw_indexesnow return the following fields:- results,- limit,- offset,- total. #478
- index.get_documentsand- client.get_documentsnow return the following fields:- results,- limit,- offset,- total. #481
- index.get_documentsquery parameter- attributesToRetrieveis now called- fields#481
- client.get_dump_statusand- wait_for_dump_creationhave been removed #479
- client.create_dump()now returns tasks, similar to what add_documents or create_index returns #479
- client.generate_tenant_token(api_key_uid, search_rules, expires_at)has now a mandatory- api_key_uidparameter which should contain the uid of a specific API key. #484
π Enhancements
- index.get_tasksand- client.get_tasksaccept pagination metadata, added- limit(default: 20),- from. #476
- client.get_indexesaccept pagination metadata, added- limit(default: 20) and- offset(default: 0). #478
- client.get_keysaccept pagination metadata, added- limit(default: 20) and- offset(default: 0). #477
- client.get_key(key_or_uid)can now also find keys based on their key uid. #477
- client.create_key(options)lets you specify a custom uid (optionally) to create a new Key. #477
- index.get_documentsnow accepts pagination parameters:- limit(default: 20) and- offset(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! π
v0.18.0 π
This package version is compatible with MeiliSearch v0.25.0 (#370)
β οΈ  Breaking changes
- This package is only compatible with MeiliSearch v0.25.0 and later, but not with v0.24.0 and older. Be sure you are using at least MeiliSearch v0.25.0 or newer before doing the upgrade.
 Why isn't it compatible?- MeiliSearch v0.25.0 uses Authorizationheader instead ofX-Meili-API-Key(#371)
- MeiliSearch v0.25.0 has a new API regarding the updates that have been renamed into tasks. More details in the following points
 
- MeiliSearch v0.25.0 uses 
- Remove delete_index_if_existsandget_or_create_index(#381) @alallema
- Redesign update API to task API (#372) @alallema
- All the actions on indexes are now asynchronous check out the task API references and the asynchronous tasks guide
- create_index(),- update_index(),- delete_index()are now asynchrone and return a- taskresponse instead of an- Index.
- index.createand- index.deletefrom index return a- task.
- wait_for_pending_update()is renamed into- wait_for_taskand is accessible from- indexand from- client.
- the current index.wait_for_task()method call/tasks/:uid
- index.get_update_statusis renamed- index.get_task
- index.get_all_update_statusis renamed- index.get_tasks
- new method client.wait_for_task()call/tasks/:uid
- new method client.get_tasksthat calls/tasks
- new method client.get_taskthat calls/tasks/:uid
 Notes: The only two methods that now return anIndexareclient.index()andclient.get_index()
 
 
- All the actions on indexes are now asynchronous check out the task API references and the asynchronous tasks guide
- Change apiKeytoapi_keyto comply with pylint (#386) @alallema
- Change client.get_keysdoes not return an object of keys, but an array of keys. Check out keys API references.
- Changes related to the next MeiliSearch release (v0.25.0) (#370)
π Enhancements
- Remove tests from wheel (#368) @sanders41
- Add type attribute to error handler (#388) @voloyev
- Addition related to API keys (#382) @alallema
- Granular management of API keys is now added to MeiliSearch. New methods have been created to manage this:
- client.get_key get information about a specific API key.
- client.create_key create a new API key.
- client.delete_key delete an API key.
- client.update_key update an API key.
 
- Check out the documentation guide.
 
- Granular management of API keys is now added to MeiliSearch. New methods have been created to manage this:
π Bug Fixes
- Add redundant export to fix import error (#384) @sanders41
- Fix MeiliSearchApiError and MeiliSearchError double period in message (#390) @sanders41
Thanks again to @alallema, @sanders41, and @voloyev! π