Skip to content

Releases: meilisearch/meilisearch-python

v0.27.0 🐍

01 Jun 08:57
863dc5b
Compare
Choose a tag to compare

⚠️ Breaking changes

  • Return Task instances from task methods instead of Dict (#750) @sanders41

πŸš€ Enhancements

  • Changes utcnow() to now() with a utc time zone. (#754) @sanders41
  • Adding header parameters to the client constructor (#771) @alallema

πŸ› Bug Fixes

Thanks again to @KShivendu, @alallema, @curquiza and @sanders41! πŸŽ‰

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