Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update version for the next release (v0.15.0) #355

Merged
merged 5 commits into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
[comment]: <> (All notable changes to this project will be documented in this file.)

# 0.15.0
### Breaking Changes:

- Change members of `Faceting` to be `final`, and remove the default values
- Mark all `Searcheable<T>` fields in the constructor as `required`
- Bug Fix `Searcheable<T>` had a wrong `matchesPosition` property, which was moved into `MeiliDocumentContainer<T>`

### Changes:

- Add `int? total` to `TasksResults`
- Add `attributesToSearchOn` to `SearchQuery` and `IndexSearchQuery`
- Add `Future<FacetSearchResult> facetSearch(FacetSearchQuery query)` to `MeiliSearchIndex`
- Add `enum FacetingSortTypes`
- Add `Map<String, FacetingSortTypes>? 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<T>`
- Add `Map<String, dynamic> 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`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.15.0
```

Then open your terminal and update dart packages.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/version.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class Version {
static const String current = '0.14.0';
static const String current = '0.15.0';

static String get qualifiedVersion {
return "Meilisearch Dart (v$current)";
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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.15.0
homepage: https://meilisearch.com
repository: https://github.com/meilisearch/meilisearch-dart
issue_tracker: https://github.com/meilisearch/meilisearch-dart/issues
Expand Down