Releases: meilisearch/meilisearch-dart
v0.5.2 🎯
This version makes this package compatible with MeiliSearch v0.25 up to v0.26.0 🎉
Check out the changelog of MeiliSearch v0.26.0 for more information about the
🚀 Enhancements
- Added new method
generateTenantToken()as a result of the addition of the multi-tenant functionality.
This method creates a JWT tenant token that will allow the user to have multi-tenant indexes and thus restrict access to documents based on the end-user making the search request. (#139) @brunoocasali
Thanks again to @brunoocasali! 🎉
v0.5.1 🎯
🚀 Enhancements
- Add User-Agent header to have analytics in every http request (#129) @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 @brunoocasali! 🎉
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
Authorizationheader 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
PendingUpdatetoTaskInfo(#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.getUpdateStatustoclient.getTaskclient.getAllUpdateStatustoclient.getTasksclient.getKeysresponds with aFuture<List<Key>>notFuture<Map<String, String>>index.getAllUpdateStatustoindex.getTasksindex.getUpdateStatustoindex.getTaskindex.update,index.delete,client.createIndex,client.deleteIndexandclient.updateIndexnow responds withFuture<TaskInfo>
🚀 Enhancements
- Remove
getOrCreatefromMeiliSearchClient(#119) @brunoocasali - Add a new method who responds with raw information from API (#124) @brunoocasali
- Add
PATCHmethod support (#121) @brunoocasali - Add support to keys (according to v0.25.0 spec) more (#121) @brunoocasali
- Create a new resource class
Keyto represent keys - Create methods to support keys:
client.getKeysclient.getKeyclient.createKeyclient.updateKeyclient.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,errorTypeanderrorLinkintocode,typeandlinkin 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).addDocumentsthe index is created if it does not exist when pushing documents.index.fetchPrimaryKey()index.fetchInfo()client.deleteIndex()client.updateIndex()
Thanks again to @alallema ! 🎉