Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dart3a' into dart3a
Browse files Browse the repository at this point in the history
# Conflicts:
#	sembast/CHANGELOG.md
#	sembast/lib/utils/type_adapter.dart
#	sembast/pubspec.yaml
  • Loading branch information
alextekartik committed Dec 8, 2024
2 parents ef4bf58 + a5f498b commit 25ed4c1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
3 changes: 2 additions & 1 deletion sembast/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

* Add experimental onAllStore listeners (not typed) `Database.addAllStoresChangesListener` and `Database.removeAllStoresChangesListener`

## 3.8.0
## 3.8.0+1

* Add `Query.getKey`, `Query.getKeys`, `Query.onKey`, `Query.onKeys`,
`Query.getKeySync`, `Query.getKeysSync`, `Query.onKeysSync`, `Query.onKeySync` methods
* Export json helpers from `utils/type_adapters.dart`

## 3.7.5+2

Expand Down
12 changes: 11 additions & 1 deletion sembast/lib/utils/type_adapter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,14 @@ export 'package:sembast/src/json_encodable_codec.dart'
JsonEncodableDecoder,
JsonEncodableEncoder,
sembastDefaultJsonEncodableCodec;
export 'package:sembast/src/type_adapter_impl.dart' show SembastTypeAdapter;
export 'package:sembast/src/sembast_codec.dart'
show
sembastCodecToJsonEncodable,
sembastCodecFromJsonEncodable,
sembastCodecDefault;
export 'package:sembast/src/type_adapter_impl.dart'
show
SembastTypeAdapter,
sembastTimestampAdapter,
sembastBlobAdapter,
sembastDefaultTypeAdapters;
5 changes: 3 additions & 2 deletions sembast/test/type_adapter_test.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
library;

import 'package:sembast/blob.dart';
import 'package:sembast/src/timestamp_impl.dart';
import 'package:sembast/src/type_adapter_impl.dart';
import 'package:sembast/src/type_adapter_impl.dart' show sembastDateTimeAdapter;
import 'package:sembast/timestamp.dart';
import 'package:sembast/utils/type_adapter.dart';

import 'test_common.dart';
import 'timestamp_test.dart';
Expand Down

0 comments on commit 25ed4c1

Please sign in to comment.