Releases: meilisearch/meilisearch-dart
v0.17.0 🎯
🚀 Enhancements
- implement experimental ai-powered search (#398) @memishood
- Rename current_mean and current_sigma for AI feature (#407) @ahmednfwela
- Stabilize vector store usage (#410) @Strift
⚙️ Maintenance/misc
- Chore: fix linting issues (#403) @Strift
- Revert "Chore: fix linting issues" & fix linting (#405) @curquiza
- Update release-drafter workflow (#425) @Strift
- Remove _md code samples for Mintlify migration (#421) @curquiza
- Fix CI for publishing (#427) @curquiza
- Update publishing workflow (#428) @Strift
Thanks again to @Strift, @ahmednfwela, @curquiza, @guimachiavelli, @meili-bors[bot], and @memishood! 🎉
v0.16.0 🎯
This version introduces features released on Meilisearch v1.7.0 🎉
Check out the changelog of Meilisearch v1.7.0 for more information on the changes.
⚠️ Breaking changes
scoreDetails
feature is not experimental anymore. You can directly useshowRankingScoreDetails
during a search without activating the experimental feature 🎉
🚀 Enhancements
- Add text separators (#379) @ahmednfwela
⚙️ Maintenance/misc
- Create code samples from code, a.k.a. code excerpts (#358) @ahmednfwela
- Update dart version and checkout (#367) @brunoocasali
- fix ci steps (#378) @ahmednfwela
- docs: Add readme section about dio (#380) @ahmednfwela
v0.15.0 🎯
Checkout the full CHANGELOG here: https://github.com/meilisearch/meilisearch-dart/blob/main/CHANGELOG.md
⚠️ Breaking changes
- feat(settings): Add sortFacetValuesBy (#351) @ahmednfwela
- Add Result container (#350) @ahmednfwela
🚀 Enhancements
- EXPERIMENTAL: Add vector store (#335, #350) @ahmednfwela
- EXPERIMENTAL: Display ranking details at search (#338, #350) @ahmednfwela
- support /tasks total (#343) @ahmednfwela
- added attributesToSearchOn (#342) @ahmednfwela
- Facet search (#344) @ahmednfwela
- feat(settings): Add sortFacetValuesBy (#351) @ahmednfwela
Thanks again to @ahmednfwela, @brunoocasali, @curquiza, @justkahdri, @meili-bors[bot] ! 🎉
v0.14.0 🎯
This version introduces features released on Meilisearch v1.2.0 🎉
Check out the changelog of Meilisearch v1.2.0 for more information on the changes.
Check the complete CHANGELOG here: https://github.com/meilisearch/meilisearch-dart/blob/main/CHANGELOG.md
💥 Breaking changes
-
The method
deleteDocuments()
now supports a different behavior. This method now takes aDeleteDocumentsQuery
, which could contain the filter or theids
(aka old behavior). #318 @ahmednfwela⚠️ You must configure the attributes you want to filter using theMeiliSearchIndex.filterableAttributes()
.
⚠️ Remember to update your Meilisearch server to v1.2.0 or newer before adopting it.Still, even being supported, the ability to receive only a list of ids is deprecated, and it will be removed soon.
// from: - Future<Task> deleteDocuments(List<Object> ids) + Future<Task> deleteDocuments(DeleteDocumentsQuery query) // to: - index.deleteDocuments([456, 4]) + index.deleteDocuments(DeleteDocumentsQuery(ids: [456, 4]))
-
Add the ability to set
filter
in theDocumentsQuery
. When a query with afilter
is sent togetDocuments(params: DocumentsQuery)
it will filter the documents like thesearch
method. See the docs on how to use filters. #318 @ahmednfwela⚠️ You must configure the attributes you want to filter using theMeiliSearchIndex.filterableAttributes()
.
⚠️ Remember to update your Meilisearch server to v1.2.0 or newer before adopting it. -
MeiliSearchIndex.search
now takes aString query
and aSearchQuery
object as the only inputs. #310 @ahmednfwela- Replace any occurrence of search
index.search('xyz', ....)
withindex.search('xyz', SearchQuery(....))
- await client.index('books').search('query', sort: [], filter: ...); + await client.index('books').search('query', SearchQuery(sort: [], filter: ...));
- Replace any occurrence of search
-
Meili.geoBoundingBox
andMeili.geoRadius
now take record values to represent thelat
/lng
points: #310 @ahmednfwela// Confusing, unclear - Meili.geoBoundingBox(3,5.3,10,20) // Not Confusing :) + Meili.geoBoundingBox((lat: 3, lng: 5.3), (lat: 10, lng: 20))
// Confusing, unclear - Meili.geoRadius(3, 5.3, 100) // Not Confusing :) + Meili.geoRadius((lat: 3, lng: 5.3), 100)
-
Change
MultiSearchQuery.queries
to be aList<IndexSearchQuery>
instead of aList<SearchQuery>
: #310 @ahmednfwelafinal result = await client.multiSearch(MultiSearchQuery(queries: [ - SearchQuery( + IndexSearchQuery( query: "", indexUid: index1.uid, ), - SearchQuery( + IndexSearchQuery( query: "", indexUid: index2.uid, ), ];
Enhancements:
- Introduce a new annotation
RequiredMeiliServerVersion
which documents the version these members were introduced. #310 @ahmednfwela - Introduce filter expressions for
IS NULL
,IS NOT NULL
,IS EMPTY
,IS NOT EMPTY
. #310 @ahmednfwela - Added
filter
,filterExpression
parameter toDocumentsQuery
. #310 @ahmednfwela - Some internal
Queryable
refactoring to unify its behavior and avoid duplicating the code. #310 @ahmednfwela - Added a workaround for meilisearch/meilisearch#3740 by
jsonEncoding
attribute names when usingfilterExpression
s #310 @ahmednfwela - A new type is introduced
IndexSearchQuery
which extendsSearchQuery
. #310 @ahmednfwela- Added
copyWith
toSearchQuery
andIndexSearchQuery
#310 @ahmednfwela
- Added
Thanks again to @brunoocasali, @ahmednfwela! 🎉
v0.13.0 🎯
⚠️ Breaking changes
- Raise minimum supported Dart runtime SDK to v3.0.0 (#307) @ahmednfwela
💅 Misc
- Add screenshot (#304) @brunoocasali
Thanks again to @ahmednfwela and @brunoocasali! 🎉
v0.12.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
- Add proper types for
facetStats
,facetDistributions
, andmatchesPosition
(#296) @ahmednfwela
🚀 Enhancements
- Support for custom CSV delimiter (#295) @ahmednfwela
- Support
_geoBoundingBox
infilterExpression
parameter (#297) @ahmednfwela - Refactor tests and allow concurrency (#299) @ahmednfwela
Thanks again to @ahmednfwela, @brunoocasali, @curquiza! 🎉
v0.11.1 🎯
🐛 Bug Fixes
- Make searchable.dart public available (#290, #289) @ahmednfwela
Thanks again to @ahmednfwela, @brunoocasali ! 🎉
v0.11.0 🎯
⚠️ Breaking changes
- More Improvements for Typed search results (#287) @ahmednfwela
🚀 Enhancements
- Typed search results (#286) @ahmednfwela
Thanks again to @ahmednfwela, @brunoocasali ! 🎉
v0.10.2 🎯
🚀 Enhancements
- Adds support to multi-index search (#279) @ahmednfwela
Thanks again to @ahmednfwela, @brunoocasali ! 🎉
v0.10.1 🎯
🐛 Bug Fixes
- Fixes
Index#getTasks
when trying to modify the existingindexUids
(#274) @ahmednfwela
Thanks again to @ahmednfwela! 🎉