Releases: meilisearch/meilisearch-python
v0.27.0 π
β οΈ Breaking changes
- Return
Task
instances from task methods instead ofDict
(#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
- Don't send body for get requests (#763) @sanders41
- Allow
None
for the body when updating settings (#765) @sanders41 - Make params required in
cancel_task
(#761) @sanders41
Thanks again to @KShivendu, @alallema, @curquiza and @sanders41! π
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! π