Skip to content
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
6 changes: 3 additions & 3 deletions dev-doc/updating-c-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ Dart won't error on C function signature mismatch, leading to obscure memory bug
Update `flutter_libs` and `sync_flutter_libs` with **compatible library versions**:

- Linux and Windows
- Shortcut: search and replace e.g. `set(OBJECTBOX_VERSION 0.16.0)` in `CMakeLists.txt`.
- Shortcut: search and replace e.g. `set(OBJECTBOX_VERSION 0.17.0)` in `CMakeLists.txt`.
- [flutter_libs Linux](../flutter_libs/linux/CMakeLists.txt)
- [flutter_libs Windows](../flutter_libs/windows/CMakeLists.txt)
- [sync_flutter_libs Linux](../sync_flutter_libs/linux/CMakeLists.txt)
- [sync_flutter_libs Windows](../sync_flutter_libs/windows/CMakeLists.txt)
- Android ([view releases](https://github.com/objectbox/objectbox-java/releases))
- Shortcut: search and replace `-android:3.1.3` in `build.gradle` files.
- Shortcut: search and replace `-android:3.2.0` in `build.gradle` files.
- In [flutter_libs](../flutter_libs/android/build.gradle)
- In [sync_flutter_libs](../sync_flutter_libs/android/build.gradle)
- Android in examples.
- Shortcut: search and replace `-android-objectbrowser:3.1.3` in `build.gradle` files.
- Shortcut: search and replace `-android-objectbrowser:3.2.0` in `build.gradle` files.
- In [objectbox_demo_relations](../objectbox/example/flutter/objectbox_demo_relations/android/app/build.gradle)
- Swift (iOS/macOS) ([view releases](https://github.com/objectbox/objectbox-swift/releases))
- Shortcut: search and replace e.g. `s.dependency 'ObjectBox', '1.7.0` in `.podspec` files.
Expand Down
2 changes: 1 addition & 1 deletion flutter_libs/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ repositories {

dependencies {
// https://search.maven.org/search?q=g:io.objectbox%20objectbox-android
implementation "io.objectbox:objectbox-android:3.1.3"
implementation "io.objectbox:objectbox-android:3.2.0"
}
2 changes: 1 addition & 1 deletion flutter_libs/linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ set(objectbox_flutter_libs_bundled_libraries

# ----------------------------------------------------------------------

set(OBJECTBOX_VERSION 0.16.0)
set(OBJECTBOX_VERSION 0.17.0)

set(OBJECTBOX_ARCH ${CMAKE_SYSTEM_PROCESSOR})
if (${OBJECTBOX_ARCH} MATCHES "x86_64")
Expand Down
2 changes: 1 addition & 1 deletion flutter_libs/windows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set(objectbox_flutter_libs_bundled_libraries

# ----------------------------------------------------------------------

set(OBJECTBOX_VERSION 0.16.0)
set(OBJECTBOX_VERSION 0.17.0)

set(OBJECTBOX_ARCH ${CMAKE_SYSTEM_PROCESSOR})
if (${OBJECTBOX_ARCH} MATCHES "AMD64")
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -eu
# It's important that the generated dart bindings and the c-api library version match. Dart won't error on C function
# signature mismatch, leading to obscure memory bugs.
# For how to upgrade the version see dev-doc/updating-c-library.md
cLibVersion=0.16.0
cLibVersion=0.17.0
os=$(uname)
cLibArgs="$*"

Expand Down
2 changes: 2 additions & 0 deletions objectbox/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* Require at least Dart SDK 2.14 (shipped with Flutter 2.5.0).
* When using the "All Exceptions" debug option in Visual Studio Code there is no longer an exception
when initializing ObjectBox. #252
* Update: [objectbox-c 0.17.0](https://github.com/objectbox/objectbox-c/releases/tag/v0.17.0).
* Update: [objectbox-android 3.2.0](https://github.com/objectbox/objectbox-java/releases/tag/V3.2.0).

## 1.5.0 (2022-05-11)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,5 @@ dependencies {
// Add objectbox-android-objectbrowser only for debug builds.
// Warning: when objectbox_flutter_libs updates check if version
// needs update, e.g. check https://github.com/objectbox/objectbox-dart/releases.
debugImplementation("io.objectbox:objectbox-android-objectbrowser:3.1.3")
debugImplementation("io.objectbox:objectbox-android-objectbrowser:3.2.0")
}
2 changes: 1 addition & 1 deletion sync_flutter_libs/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ repositories {

dependencies {
// https://search.maven.org/search?q=g:io.objectbox%20objectbox-sync-android
implementation "io.objectbox:objectbox-sync-android:3.1.3"
implementation "io.objectbox:objectbox-sync-android:3.2.0"
}
2 changes: 1 addition & 1 deletion sync_flutter_libs/linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ set(objectbox_sync_flutter_libs_bundled_libraries

# ----------------------------------------------------------------------

set(OBJECTBOX_VERSION 0.16.0)
set(OBJECTBOX_VERSION 0.17.0)

set(OBJECTBOX_ARCH ${CMAKE_SYSTEM_PROCESSOR})
if (${OBJECTBOX_ARCH} MATCHES "x86_64")
Expand Down
2 changes: 1 addition & 1 deletion sync_flutter_libs/windows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set(objectbox_sync_flutter_libs_bundled_libraries

# ----------------------------------------------------------------------

set(OBJECTBOX_VERSION 0.16.0)
set(OBJECTBOX_VERSION 0.17.0)

set(OBJECTBOX_ARCH ${CMAKE_SYSTEM_PROCESSOR})
if (${OBJECTBOX_ARCH} MATCHES "AMD64")
Expand Down