Skip to content

Releases: meilisearch/meilisearch-python

v0.26.0 ๐Ÿ

03 Apr 10:06
04b4518
Compare
Choose a tag to compare

This version introduces features released on Meilisearch v1.1.0 ๐ŸŽ‰
Check out the changelog of Meilisearch v1.1.0 for more information on the changes.

โš ๏ธ Breaking changes

  • Change error names from MeiliSerach to Meilisearch (#720) @sanders41

๐Ÿš€ Enhancements

  • Add the ability to provide a specific csv-delimiter when adding and updating documents in CSV format (#716) @alallema
  • New method client.multi_search() provides the possibility to make multiple requests at once (#714) @alallema

Example:

  client.multi_search(
    [
      {'indexUid': 'movies', 'q': 'pooh', 'limit': 5},
      {'indexUid': 'movies', 'q': 'nemo', 'limit': 5},
      {'indexUid': 'movie_ratings', 'q': 'us'}
    ]
  )

๐Ÿ› Bug Fixes

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

v0.25.0 ๐Ÿ

22 Feb 17:06
585407c
Compare
Choose a tag to compare

โš ๏ธ Breaking changes

๐Ÿš€ Enhancements

  • Transform all the task methods to a TaskHandler class (#662) @Azanul

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

v0.24.0 ๐Ÿ

06 Feb 15:28
1ecf348
Compare
Choose a tag to compare

This version makes this package compatible with Meilisearch v1.0.0 ๐ŸŽ‰
Check out the changelog of Meilisearch v1.0.0 for more information on the changes(#635).

โš ๏ธ Breaking changes

  • Make the usage of the module typing consistent (#625) @pbrochar
  • Put all dates to datetime type for consistency. Class impacted: Task and TasInfo (#661) @Azanul
  • Change details fields in Task class Dict[str, Any] -> Union[Dict[str, Any], None] (#664) @Azanul

๐Ÿš€ Enhancements

  • Added update_documents_csv(str_documents: str, primary_key: Optional[str] = None) -> TaskInfo (#654) @sajdakabir

v0.23.0 ๐Ÿ

28 Nov 16:06
0b2f184
Compare
Choose a tag to compare

This version makes this package compatible with Meilisearch v0.30.0 ๐ŸŽ‰
Check out the changelog of Meilisearch v0.30.0 for more information on the changes.

๐Ÿš€ Enhancements

  • New client.cancel_tasks method that lets you cancel enqueued and processing tasks (#596) @alallema
  • New pagination strategy with the search parameters page and hitsPerPage (#595) @alallema
  • New client.delete_tasks method that lets you deleted tasks (#598) @alallema
  • New client.swap_indexes method that lets you swap two indexes (#603) @alallema

โš ๏ธ Breaking change

  • Parameters on get_tasks name changes: #597
    • status -> statuses
    • index_uid -> index_uids
    • type -> types

Thanks again to @alallema! ๐ŸŽ‰

v0.22.2 ๐Ÿ

10 Nov 11:03
65ba249
Compare
Choose a tag to compare

๐Ÿš€ Enhancements

๐Ÿ› Bug Fixes

  • Fix add_document behaviour with empty string (#586) @adripo

Thanks again to @3t8, @Ambareen09, @Azanul, @Dark-Rock, @Leigh-Ola, @adripo, @alallema, @dibashthapa, @kaggrwal, @sanders41 and kumar! ๐ŸŽ‰

v0.22.1 ๐Ÿ

11 Oct 15:15
fb0f65f
Compare
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
Compare
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
Compare
Choose a tag to compare

โš ๏ธ Breaking changes

๐Ÿ› Bug Fixes

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

v0.20.0 ๐Ÿ [DEPRECATED]

21 Sep 11:52
176b987
Compare
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
Compare
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! ๐ŸŽ‰