From 3b869d0426c797d7acc3c5a0d94a2ac6b91f6fb9 Mon Sep 17 00:00:00 2001 From: meili-bot <74670311+meili-bot@users.noreply.github.com> Date: Thu, 14 Sep 2023 15:23:05 +0200 Subject: [PATCH 1/5] Update lib/src/version.dart --- lib/src/version.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/version.dart b/lib/src/version.dart index 84e9c1d..3a8ed96 100644 --- a/lib/src/version.dart +++ b/lib/src/version.dart @@ -1,5 +1,5 @@ class Version { - static const String current = '0.14.0'; + static const String current = '0.14.1'; static String get qualifiedVersion { return "Meilisearch Dart (v$current)"; From 728e0833e842d36debd31828f022d0a3f2c0c299 Mon Sep 17 00:00:00 2001 From: meili-bot <74670311+meili-bot@users.noreply.github.com> Date: Thu, 14 Sep 2023 15:23:06 +0200 Subject: [PATCH 2/5] Update pubspec.yaml --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index d295d3e..bf27b9c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: meilisearch description: Meilisearch Dart is the Meilisearch API client for Dart and Flutter developers. -version: 0.14.0 +version: 0.14.1 homepage: https://meilisearch.com repository: https://github.com/meilisearch/meilisearch-dart issue_tracker: https://github.com/meilisearch/meilisearch-dart/issues From 686bc4abce24973747fd464cf8af572344216238 Mon Sep 17 00:00:00 2001 From: meili-bot <74670311+meili-bot@users.noreply.github.com> Date: Thu, 14 Sep 2023 15:23:06 +0200 Subject: [PATCH 3/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a91298..7516132 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ You can install the **meilisearch** package by adding a few lines into `pubspec. ```yaml dependencies: - meilisearch: ^0.14.0 + meilisearch: ^0.14.1 ``` Then open your terminal and update dart packages. From 496e2de1b85febcb9a764e485efe87e4ce25acdb Mon Sep 17 00:00:00 2001 From: meili-bot <74670311+meili-bot@users.noreply.github.com> Date: Thu, 14 Sep 2023 15:23:07 +0200 Subject: [PATCH 4/5] Update CHANGELOG.md --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52a52aa..174b999 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ [comment]: <> (All notable changes to this project will be documented in this file.) +# 0.14.1 +### Breaking Changes: + # 0.14.0 ### Breaking Changes: - Moved `indexUid`, `query` from `SearchQuery` to the new `IndexSearchQuery`. From 3d582930baeb006c90ca9ecc9f74926e688fbe9a Mon Sep 17 00:00:00 2001 From: Bruno Casali Date: Thu, 14 Sep 2023 10:41:58 -0300 Subject: [PATCH 5/5] Add CHANGELOG to 0.15 --- CHANGELOG.md | 22 +++++++++++++++++++++- README.md | 2 +- lib/src/version.dart | 2 +- pubspec.yaml | 2 +- 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 174b999..2971b01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,28 @@ [comment]: <> (All notable changes to this project will be documented in this file.) -# 0.14.1 +# 0.15.0 ### Breaking Changes: +- Change members of `Faceting` to be `final`, and remove the default values +- Mark all `Searcheable` fields in the constructor as `required` +- Bug Fix `Searcheable` had a wrong `matchesPosition` property, which was moved into `MeiliDocumentContainer` + +### Changes: + +- Add `int? total` to `TasksResults` +- Add `attributesToSearchOn` to `SearchQuery` and `IndexSearchQuery` +- Add `Future facetSearch(FacetSearchQuery query)` to `MeiliSearchIndex` +- Add `enum FacetingSortTypes` +- Add `Map? sortFacetValuesBy` to `Faceting` +- [experimental]* Add `List? vector` to `SearchQuery` and `IndexSearchQuery` +- [experimental]* Add `bool? showRankingScoreDetails` to `SearchQuery` and `IndexSearchQuery` +- Add `bool? showRankingScore` to `SearchQuery` and `IndexSearchQuery` +- Add `MeiliDocumentContainer` +- Add `Map src` to `Searchable` which exposes the raw json object returned from the server. + Just in case we don't keep up with new meilisearch releases, the user has a way to access new features. + +[experimental]* To adopt a experimental [change you must opt-in manually](https://www.meilisearch.com/docs/learn/experimental/overview#activating-experimental-features) + # 0.14.0 ### Breaking Changes: - Moved `indexUid`, `query` from `SearchQuery` to the new `IndexSearchQuery`. diff --git a/README.md b/README.md index 7516132..a1723d2 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ You can install the **meilisearch** package by adding a few lines into `pubspec. ```yaml dependencies: - meilisearch: ^0.14.1 + meilisearch: ^0.15.0 ``` Then open your terminal and update dart packages. diff --git a/lib/src/version.dart b/lib/src/version.dart index 3a8ed96..519bf9f 100644 --- a/lib/src/version.dart +++ b/lib/src/version.dart @@ -1,5 +1,5 @@ class Version { - static const String current = '0.14.1'; + static const String current = '0.15.0'; static String get qualifiedVersion { return "Meilisearch Dart (v$current)"; diff --git a/pubspec.yaml b/pubspec.yaml index bf27b9c..c7a6538 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: meilisearch description: Meilisearch Dart is the Meilisearch API client for Dart and Flutter developers. -version: 0.14.1 +version: 0.15.0 homepage: https://meilisearch.com repository: https://github.com/meilisearch/meilisearch-dart issue_tracker: https://github.com/meilisearch/meilisearch-dart/issues