Releases: meilisearch/meilisearch-python
v0.26.0 ๐
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
- fix: remove duplicate key on code-samples (#727) @justkahdri
Thanks again to @alallema and @sanders41! ๐
v0.25.0 ๐
โ ๏ธ Breaking changes
- Update the return type of methods (#676) @sanders41
๐ Enhancements
Thanks again to @Azanul, @alallema, @brunoocasali and @sanders41! ๐
v0.24.0 ๐
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
andTasInfo
(#661) @Azanul - Change
details
fields inTask
classDict[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 ๐
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 cancelenqueued
andprocessing
tasks (#596) @alallema - New
pagination
strategy with the search parameterspage
andhitsPerPage
(#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: #597status
->statuses
index_uid
->index_uids
type
->types
Thanks again to @alallema! ๐
v0.22.2 ๐
๐ Enhancements
- New ndjson handlers (#560) @Azanul
- New json handlers (#562) @Ambareen09
- Inconsistencies fix (#564) @Dark-Rock
- Add support for python 3.11 (#578) @sanders41
๐ Bug Fixes
Thanks again to @3t8, @Ambareen09, @Azanul, @Dark-Rock, @Leigh-Ola, @adripo, @alallema, @dibashthapa, @kaggrwal, @sanders41 and kumar! ๐
v0.22.1 ๐
๐ Enhancements
- Methods:
get_document
,delete_document
anddelete_documents
can now take both typesstr
orint
(#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.
actions
field 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
NOT
filter keyword does not have an implicitlyEXIST
operator 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
, andTask
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
- 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! ๐