Skip to content

Releases: meilisearch/meilisearch-python

v0.22.1 ๐Ÿ

11 Oct 15:15
fb0f65f

Choose a tag to compare

๐Ÿš€ Enhancements

  • Methods: get_document, delete_document and delete_documents can now take both types str or int (#545) @sarvesh4396
  • Creation of an automatically generated hosted documentation (#546) @kaggrwal

Thanks again to @alallema, @brunoocasali, @kaggrwal and @sarvesh4396! ๐ŸŽ‰

v0.22.0 ๐Ÿ

03 Oct 15:27
872d288

Choose a tag to compare

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.
    • actions field 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.

Thanks again to @alallema, @brunoocasali, ! ๐ŸŽ‰

v0.21.0 ๐Ÿ

26 Sep 11:21
44cc622

Choose a tag to compare

โš ๏ธ Breaking changes

๐Ÿ› Bug Fixes

Thanks again to @alallema and @sanders41! ๐ŸŽ‰

v0.20.0 ๐Ÿ [DEPRECATED]

21 Sep 11:52
176b987

Choose a tag to compare

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 Task are 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

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]

19 Sep 15:01
a518720

Choose a tag to compare

โš ๏ธ โš ๏ธ
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 ๐Ÿ

28 Jul 09:14
bca102c

Choose a tag to compare

๐Ÿš€ Enhancements

  • Add support to the pagination setting customization (#504) @voloyev
  • Add faceting settings customization (#506) @voloyev

๐Ÿ› Bug Fixes

Thanks again to @alallema, @sapristi and @voloyev! ๐ŸŽ‰

v0.19.0 ๐Ÿ

11 Jul 17:43
1d651a1

Choose a tag to compare

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 name and description fields. #477
  • get_tasks() has additional parameters for filtering:: type, status and indexUid. #476
  • client.get_tasks(...) and index.get_tasks() now returns the following fields: results, limit, from, next.#476
  • index.search changes in the response fields: #478
    • nbHits replaced with estimatedTotalHits
    • exhaustiveNbHits is deleted
    • exhaustiveFacetsCount is deleted
    • matches renamed showMatchesPosition
    • facetsDistribution response parameter is renamed facetDistribution.
  • index.search changes in the request parameters: #478
    • matches renamed showMatchesPosition
    • facetsDistribution request parameter is renamed facets.
  • index.get_documents() request parameters: #481
    • attributesToRetrieve replaced with fields.
  • client.get_indexes and client.get_raw_indexes now return the following fields: results, limit, offset, total. #478
  • index.get_documents and client.get_documents now return the following fields: results, limit, offset, total. #481
  • index.get_documents query parameter attributesToRetrieve is now called fields #481
  • client.get_dump_status and wait_for_dump_creation have 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_uid parameter which should contain the uid of a specific API key. #484

๐Ÿš€ Enhancements

  • index.get_tasks and client.get_tasks accept pagination metadata, added limit (default: 20), from. #476
  • client.get_indexes accept pagination metadata, added limit (default: 20) and offset (default: 0). #478
  • client.get_keys accept 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_documents now 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 ๐Ÿ

09 May 11:52
2e1c284

Choose a tag to compare

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

  • Add new methods for the new typo tolerance settings #443 @alallema
    index.get_typo_tolerance()
    index.update_typo_tolerance(params)
    index.reset_typo_tolerance()
  • Ensure nested field support #444 @alallema
  • Add new search parameters highlightPreTag, highlightPostTag and cropMarker #445 @alallema

v0.18.2 ๐Ÿ

31 Mar 09:35
ac51704

Choose a tag to compare

๐Ÿš€ Enhancements

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 ๐Ÿ

14 Mar 15:18
f9d5fa2

Choose a tag to compare

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! ๐ŸŽ‰