Releases: meilisearch/meilisearch-dart
Releases · meilisearch/meilisearch-dart
v0.5.0
This package version is compatible with MeiliSearch v0.25.0 🎉
⚠️ Breaking changes
- This package is only compatible with MeiliSearch v0.25.0 and later, but not with v0.24.0 and older. Be sure you are using at least MeiliSearch v0.25.0 or newer before doing the upgrade.
Why isn't it compatible?- MeiliSearch v0.25.0 uses
Authorization
header instead ofX-Meili-API-Key
(#121) @brunoocasali - MeiliSearch v0.25.0 has a new API regarding the updates that have been renamed into tasks.
- MeiliSearch v0.25.0 uses
- Rename
PendingUpdate
toTaskInfo
(#123) @brunoocasali - Changes related to the new task API (#125, #120, #127) @brunoocasali. Check out the task API references and the asynchronous tasks guide
- Multiple naming changes regarding the v0.25.0 upgrade (#119, #120, #125, #127) @brunoocasali:
client.getUpdateStatus
toclient.getTask
client.getAllUpdateStatus
toclient.getTasks
client.getKeys
responds with aFuture<List<Key>>
notFuture<Map<String, String>>
index.getAllUpdateStatus
toindex.getTasks
index.getUpdateStatus
toindex.getTask
index.update
,index.delete
,client.createIndex
,client.deleteIndex
andclient.updateIndex
now responds withFuture<TaskInfo>
🚀 Enhancements
- Remove
getOrCreate
fromMeiliSearchClient
(#119) @brunoocasali - Add a new method who responds with raw information from API (#124) @brunoocasali
- Add
PATCH
method support (#121) @brunoocasali - Add support to keys (according to v0.25.0 spec) more (#121) @brunoocasali
- Create a new resource class
Key
to represent keys - Create methods to support keys:
client.getKeys
client.getKey
client.createKey
client.updateKey
client.deleteKey
- Create a new resource class
- Updates regarding code samples:
- setting guide sortable (#117) @alallema
- added all the changed methods based on the new version v0.25.0 (#126) @brunoocasali
Check out the documentation guide.
Thanks again to @alallema and @brunoocasali! 🎉
v0.4.0
This package is compatible with MeiliSearch v0.24.0 🎉
⚠️ Breaking changes
- Rename
errorCode
,errorType
anderrorLink
intocode
,type
andlink
in the error handler (#110) @curquiza
Thanks again to @curquiza, @edinapap and @reginaalyssa! 🎉
v0.3.2
v0.3.1
This package version is compatible with MeiliSearch v0.22.0 🎉
Changes
- Fixed cropLength type (#79) @sanders41
- Fix distinctAttribute in settings (#77) @sanders41
- Changes related to the next MeiliSearch release (v0.22.0) (#82). More about sorting.
- Add sortable attributes:
getSortableAttributes
,updateSortableAttributes
,resetSortableAttributes
(#83) @sanders41 - Add sort parameter (#84) @curquiza
- Add sortable attributes:
Thanks again to @curquiza, and @sanders41! 🎉
v0.3.0
Changes
- Update PendingUpdateX (#62) @alallema
- Adding option to specify a connectTimeout duration (#59) @sanders41
- Adding getKeys method (#66) @sanders41
- Adding dump methods (#67) @sanders41
- Adding getVersion method (#68) @sanders41
- Adding sub-settings methods (#70) @sanders41
- Adding index.getStats and client.getStats methods (#69) @sanders41
- Adding getAllUpdateStatus and getUpdateStatus methods (#73) @sanders41
- Updated change log (#75) @sanders41
Breaking changes ⚠️
- Rename attributes_for_faceting into filterable_attributes (#61) @alallema
- Rename Filters into Filter (#63) @alallema
- Rename attributes for faceting into filterable attributes (#71) @curquiza
- Changes related to the next MeiliSearch release (v0.21.0) (#40)
Thanks again to @alallema, @curquiza, and @sanders41! 🎉
v0.2.1
Changes
- Changes due to the implicit index creation (#48) @alallema
New methods are:client.index(string uid)
-> we recommend using it instead ofgetIndex()
because no HTTP call are done inindex()
. Useful to avoid double HTTP call inclient.getIndex(uid).addDocuments
. Now withclient.index(uid).addDocuments
the index is created if it does not exist when pushing documents.index.fetchPrimaryKey()
index.fetchInfo()
client.deleteIndex()
client.updateIndex()
Thanks again to @alallema ! 🎉