Skip to content

Releases: objectbox/objectbox-dart

v0.10.0

01 Dec 13:03
Compare
Choose a tag to compare
  • Change type field on @Property() annotation to PropertyType.
  • Add support for string array properties: List<String>.
  • Add support for byte array properties: List<Int>, Uint8List, Int8List.
  • Add @Index() and @Unique() property annotations
    (thanks @Buggaboo for #123).
  • Add Query.remove() to remove all objects matching the query.
  • Fix Query.findStream() to only rerun on changes to the queried type
    (thanks @RTrackerDev and @Buggaboo for #152).
  • Mark offset and limit query parameters deprecated, use offset() and limit() instead.
  • Update to objectbox-swift 1.4.1
  • Internal changes in preparation for null-safety (still waiting for our dependencies to migrate).

v0.9.0

12 Nov 18:36
Compare
Choose a tag to compare
  • Update to objectbox-c 0.11.0
  • Update to objectbox-android 2.8.0
  • Change box.get(id) to return null instead of throwing when trying to read a non-existent object.
  • Change the generator to skip read-only fields (getters)
  • Add SyncClient to enable the new ObjectBox Sync
  • Add "empty" query support using box.query().
    (thanks @Buggaboo for #132)
  • Expose lib/observable.dart to avoid linter isues in apps using objectbox.
    (thanks @cmengler for bringing this up in #141)
  • Documentation and examples updates & improvements.
  • Switch C-API binding code generation to package ffigen.

v0.8.0

13 Oct 13:21
Compare
Choose a tag to compare
  • Update to objectbox-c 0.10.0.
  • Update to objectbox-android 2.7.1.
  • Update to objectbox-swift 1.4.0.
  • String startsWith and endsWith condition: removed unused descending parameter, add caseSensitive parameter.
  • String greaterThan/lessThan condition: withEqual is deprecated, use the greaterOrEqual/lessOrEqual condition instead.
  • Query find/findIds offset and limit parameters are deprecated, set them using the equally named methods instead.
  • New support to create a Dart Stream from a Query (thanks @Buggaboo for #88).

v0.7.0

14 Aug 11:46
Compare
Choose a tag to compare
  • Flutter v1.20 support
    (move libs to separate package objectbox_flutter_libs, add it as a new dependency if you use Flutter)
  • New property query support
    (thanks Jasm Sison for #75)
  • New @Transient annotation to skip storing select properties
    (thanks Jasm Sison for #98)
  • Handle Byte property as a signed int8 (was previously unsigned) to align with other bindings

v0.6.4

12 May 09:40
e54aa89
Compare
Choose a tag to compare
  • Update to objectbox-swift 1.3.0
  • Update to objectbox-android 2.5.1

v0.6.3

07 May 12:48
cf18e0f
Compare
Choose a tag to compare
  • Update FlatBuffers to 1.12.0
  • Provide error hinting when DB can't be created (e.g. when an app docs directory isn't passed properly on Flutter).

v0.6.2

09 Mar 10:30
468bd24
Compare
Choose a tag to compare
  • Support large object arrays on 32-bit platforms/emulators.

v0.6.1

23 Jan 13:17
17fc5e1
Compare
Choose a tag to compare
  • Fixed Flutter Android/iOS release build failures
  • Updated to objectbox-c 0.8.2

v0.6.0

19 Dec 14:02
b733f30
Compare
Choose a tag to compare
  • Flutter iOS support
  • Generator fixes and rework to support multiple entity files in addition to many entities in a single file.
    Please move objectbox-model.json to lib/ before running the generator.
  • Simplified Android support (automatic dependency).
  • Docs improvements
  • Updated to objectbox-c 0.8.1

v0.5.0

18 Nov 12:24
Compare
Choose a tag to compare
  • Dart 2.6 support - breaking change due to Dart 2.6 FFI changes.
    Please keep using 0.4 if you're on Dart 2.5 or Flutter. Currently no Flutter version comes with Dart 2.6 final.
    (thanks Jasm Sison for #57)
  • Docs fixes & improvements