Releases: meilisearch/meilisearch-python
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! π
v0.19.1 π
v0.19.0 π
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 onlyname
anddescription
fields. #477get_tasks()
has additional parameters for filtering::type
,status
andindexUid
. #476client.get_tasks(...)
andindex.get_tasks()
now returns the following fields:results
,limit
,from
,next
.#476index.search
changes in the responsefields
: #478nbHits
replaced withestimatedTotalHits
exhaustiveNbHits
is deletedexhaustiveFacetsCount
is deletedmatches
renamedshowMatchesPosition
facetsDistribution
response parameter is renamedfacetDistribution
.
index.search
changes in the request parameters: #478matches
renamedshowMatchesPosition
facetsDistribution
request parameter is renamedfacets
.
index.get_documents()
request parameters: #481attributesToRetrieve
replaced withfields
.
client.get_indexes
andclient.get_raw_indexes
now return the following fields:results
,limit
,offset
,total
. #478index.get_documents
andclient.get_documents
now return the following fields:results
,limit
,offset
,total
. #481index.get_documents
query parameterattributesToRetrieve
is now calledfields
#481client.get_dump_status
andwait_for_dump_creation
have been removed #479client.create_dump()
now returns tasks, similar to what add_documents or create_index returns #479client.generate_tenant_token(api_key_uid, search_rules, expires_at)
has now a mandatoryapi_key_uid
parameter which should contain the uid of a specific API key. #484
π Enhancements
index.get_tasks
andclient.get_tasks
accept pagination metadata, addedlimit
(default: 20),from
. #476client.get_indexes
accept pagination metadata, addedlimit
(default: 20) andoffset
(default: 0). #478client.get_keys
accept pagination metadata, addedlimit
(default: 20) andoffset
(default: 0). #477client.get_key(key_or_uid)
can now also find keys based on their key uid. #477client.create_key(options)
lets you specify a custom uid (optionally) to create a new Key. #477index.get_documents
now accepts pagination parameters:limit
(default: 20) andoffset
(default: 0). #481- Improve Docker configuration in the package (#467)
Thanks again to @alallema, @curquiza, and @roshammar! π
v0.18.3 π
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
v0.18.2 π
π Enhancements
- Add User-Agent header to have analytics in every HTTP request (#433) @brunoocasali
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! π