Skip to content

Commit 7f125b8

Browse files
committed
bump version to 0.9.0
1 parent cc40518 commit 7f125b8

File tree

9 files changed

+26
-21
lines changed

9 files changed

+26
-21
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
## 0.8.1 (2020-11-05)
1+
## 0.9.0 (2020-11-12)
22

3+
* Update to objectbox-c 0.11.0
4+
* Update to objectbox-android 2.8.0
35
* Change `box.get(id)` to return null instead of throwing when trying to read a non-existent object.
6+
* Change the generator to skip read-only fields (getters)
7+
* Add SyncClient to enable the new [ObjectBox Sync](https://objectbox.io/sync)
48
* Add "empty" query support using `box.query()`.
59
(thanks [@Buggaboo](https://github.com/Buggaboo) for [#132](https://github.com/objectbox/objectbox-dart/pull/132))
610
* Expose `lib/observable.dart` to avoid linter isues in apps using objectbox.
711
(thanks [@cmengler](https://github.com/cmengler) for bringing this up in [#141](https://github.com/objectbox/objectbox-dart/pull/141))
812
* Documentation and examples updates & improvements.
13+
* Switch C-API binding code generation to package `ffigen`.
914

1015
## 0.8.0 (2020-10-13)
1116

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ObjectBox for Dart is a standalone database storing Dart objects locally, with s
55
Flutter/Dart compatibility
66
--------------------------
77
Starting with Flutter 1.20, additional changes were required, starting from objectbox-dart v0.7.0.
8-
To make sure your Flutter application works after update to Flutter 1.20, add `objectbox_flutter_libs: ^0.7.0`
8+
To make sure your Flutter application works after update to Flutter 1.20, add `objectbox_flutter_libs: ^0.9.0`
99
as an additional dependency, in addition to `objectbox`.
1010

1111
This library depends on a new Dart feature, FFI, introduced in Dart 2.5 (Flutter 1.9) as a feature preview.
@@ -20,20 +20,20 @@ Installation
2020
Add the following dependencies to your `pubspec.yaml`:
2121
```yaml
2222
dependencies:
23-
objectbox: ^0.8.1
23+
objectbox: ^0.9.0
2424

2525
dev_dependencies:
2626
build_runner: ^1.0.0
27-
objectbox_generator: ^0.8.1
27+
objectbox_generator: ^0.9.0
2828
```
2929
3030
Proceed based on whether you're developing a Flutter app or a standalone dart program:
3131
1. **Flutter** only steps:
3232
* Add additional dependency to include native libraries (required in Flutter):
3333
```yaml
3434
dependencies:
35-
objectbox: ^0.8.1
36-
objectbox_flutter_libs: ^0.8.1
35+
objectbox: ^0.9.0
36+
objectbox_flutter_libs: ^0.9.0
3737
```
3838
* Install the packages `flutter pub get`
3939
* XCode/iOS: under Architectures replace `${ARCHS_STANDARD)` with `arm64` (or `$ARCHS_STANDARD_64_BIT`).

example/flutter/objectbox_demo/pubspec.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ dependencies:
1111
cupertino_icons: ^0.1.2
1212
path_provider: any
1313
intl: any
14-
objectbox: ^0.8.1
15-
objectbox_flutter_libs: ^0.8.1
14+
objectbox: ^0.9.0
15+
objectbox_flutter_libs: ^0.9.0
1616

1717
dev_dependencies:
1818
flutter_test:
1919
sdk: flutter
2020
build_runner: ^1.0.0
21-
objectbox_generator: ^0.8.1
21+
objectbox_generator: ^0.9.0
2222

2323
flutter:
2424
uses-material-design: true

example/flutter/objectbox_demo_desktop/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ dependencies:
1111
flutter:
1212
sdk: flutter
1313
cupertino_icons: ^0.1.0
14-
objectbox: ^0.8.1
14+
objectbox: ^0.9.0
1515

1616
dev_dependencies:
1717
flutter_test:
1818
sdk: flutter
1919
build_runner: ^1.0.0
20-
objectbox_generator: ^0.8.1
20+
objectbox_generator: ^0.9.0
2121

2222
flutter:
2323
uses-material-design: true

example/flutter/objectbox_demo_sync/pubspec.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ dependencies:
1111
cupertino_icons: ^0.1.2
1212
path_provider: any
1313
intl: any
14-
objectbox: ^0.8.1
15-
objectbox_sync_flutter_libs: ^0.8.1
14+
objectbox: ^0.9.0
15+
objectbox_sync_flutter_libs: ^0.9.0
1616

1717
dev_dependencies:
1818
flutter_test:
1919
sdk: flutter
2020
build_runner: ^1.0.0
21-
objectbox_generator: ^0.8.1
21+
objectbox_generator: ^0.9.0
2222

2323
flutter:
2424
uses-material-design: true

flutter_libs/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: objectbox_flutter_libs
2-
version: 0.8.1
2+
version: 0.9.0
33
repository: https://github.com/objectbox/objectbox-dart
44
homepage: https://objectbox.io
55
description: ObjectBox is a super-fast NoSQL ACID compliant object database. This package contains flutter runtime libraries for ObjectBox.
@@ -11,7 +11,7 @@ environment:
1111
dependencies:
1212
# This is here just to ensure compatibility between objectbox-dart code and the libraries used
1313
# You should still depend on objectbox directly in your Flutter application.
14-
objectbox: 0.8.1
14+
objectbox: 0.9.0
1515

1616
flutter:
1717
plugin:

generator/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: objectbox_generator
2-
version: 0.8.1
2+
version: 0.9.0
33
repository: https://github.com/objectbox/objectbox-dart
44
homepage: https://objectbox.io
55
description: ObjectBox binding code generator - finds annotated entities and adds them to the ObjectBox DB model.
@@ -8,7 +8,7 @@ environment:
88
sdk: ">=2.5.0 <3.0.0"
99

1010
dependencies:
11-
objectbox: 0.8.1
11+
objectbox: 0.9.0
1212
build: ^1.0.0
1313
source_gen: ^0.9.0
1414
analyzer: ">=0.35.0 <0.100.0"

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: objectbox
2-
version: 0.8.1
2+
version: 0.9.0
33
repository: https://github.com/objectbox/objectbox-dart
44
homepage: https://objectbox.io
55
description: ObjectBox is a super-fast NoSQL ACID compliant object database.

sync_flutter_libs/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: objectbox_sync_flutter_libs
2-
version: 0.8.1
2+
version: 0.9.0
33
repository: https://github.com/objectbox/objectbox-dart
44
homepage: https://objectbox.io
55
description: ObjectBox is a super-fast NoSQL ACID compliant object database. This package contains flutter runtime libraries for ObjectBox, including ObjectBox Sync.
@@ -11,7 +11,7 @@ environment:
1111
dependencies:
1212
# This is here just to ensure compatibility between objectbox-dart code and the libraries used
1313
# You should still depend on objectbox directly in your Flutter application.
14-
objectbox: 0.8.1
14+
objectbox: 0.9.0
1515

1616
flutter:
1717
plugin:

0 commit comments

Comments
 (0)