Skip to content

Commit 79c8ae1

Browse files
Update ObjectBox Swift [4.1.0 -> 4.2.0]
Bundled with C API 4.2.0 and ObjectBox 4.2.0-2025-03-04
1 parent 4d3164c commit 79c8ae1

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

dev-doc/updating-c-library.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ for Flutter (`flutter_libs` and `sync_flutter_libs` plugins) on Linux and Window
2323
```
2424

2525
```text
26-
* Update database runtime library for Flutter for Linux/Windows, Dart Native to [4.2.0](https://github.com/objectbox/objectbox-c/releases/tag/v4.2.0).
26+
* Update ObjectBox database for Flutter Linux/Windows, Dart Native apps to [4.2.0](https://github.com/objectbox/objectbox-c/releases/tag/v4.2.0).
2727
```
2828

2929
```text
@@ -39,7 +39,7 @@ For the Flutter plugins on Android ([view releases](https://github.com/objectbox
3939
```
4040

4141
```text
42-
* Update database runtime library for Flutter for Android to 4.2.0.
42+
* Update ObjectBox database for Flutter Android apps to 4.2.0.
4343
If your project is [using Admin](https://docs.objectbox.io/data-browser#admin-for-android), make
4444
sure to update to `io.objectbox:objectbox-android-objectbrowser:4.2.0` in `android/app/build.gradle`.
4545
```
@@ -58,18 +58,18 @@ from the relevant objectbox repository release tag (like `java-4.1.0`).
5858
For the Flutter plugins on iOS/macOS ([view releases](https://github.com/objectbox/objectbox-swift/releases))
5959

6060
```bash
61-
./tool/set-swift-version.sh 4.1.0
61+
./tool/set-swift-version.sh 4.2.0
6262
```
6363

6464
```text
65-
* Flutter for iOS/macOS: update to [objectbox-swift 4.1.0](https://github.com/objectbox/objectbox-swift/releases/tag/v4.1.0).
65+
* Update ObjectBox database for Flutter iOS/macOS apps to 4.2.0.
6666
For existing projects, run `pod repo update` and `pod update ObjectBox` in the `ios` or `macos` directories.
6767
```
6868

6969
```text
70-
Update ObjectBox Swift [4.0.0 -> 4.0.1]
70+
Update ObjectBox Swift [4.1.0 -> 4.2.0]
7171
72-
Bundled with C API 4.1.0 and ObjectBox 4.1.0-2025-01-30
72+
Bundled with C API 4.2.0 and ObjectBox 4.2.0-2025-03-04
7373
```
7474

7575
Note: the embedded C API and ObjectBox version can be looked up

flutter_libs/ios/objectbox_flutter_libs.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
1818
s.source_files = 'Classes/**/*'
1919

2020
s.dependency 'Flutter'
21-
s.dependency 'ObjectBox', '4.1.0'
21+
s.dependency 'ObjectBox', '4.2.0'
2222

2323
# Flutter.framework does not contain a i386 slice.
2424
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }

flutter_libs/macos/objectbox_flutter_libs.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
1818
s.source_files = 'Classes/**/*'
1919

2020
s.dependency 'FlutterMacOS'
21-
s.dependency 'ObjectBox', '4.1.0'
21+
s.dependency 'ObjectBox', '4.2.0'
2222

2323
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
2424
s.swift_version = '5.3'

objectbox/CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
* Examples: demos are compatible with JDK 21 included with Android Studio Ladybug or later, require
55
Flutter SDK 3.24 (with Dart SDK 3.5) or newer.
66
* Requires at least Dart SDK 3.4 or Flutter SDK 3.22.
7-
* Update database runtime library for Flutter for Linux/Windows, Dart Native to [4.2.0](https://github.com/objectbox/objectbox-c/releases/tag/v4.2.0).
8-
* Update database runtime library for Flutter for Android to 4.2.0.
7+
* Update ObjectBox database for Flutter Linux/Windows, Dart Native apps to [4.2.0](https://github.com/objectbox/objectbox-c/releases/tag/v4.2.0).
8+
* Update ObjectBox database for Flutter Android apps to 4.2.0.
99
If your project is [using Admin](https://docs.objectbox.io/data-browser#admin-for-android), make
1010
sure to update to `io.objectbox:objectbox-android-objectbrowser:4.2.0` in `android/app/build.gradle`.
11+
* Update ObjectBox database for Flutter iOS/macOS apps to 4.2.0.
12+
For existing projects, run `pod repo update` and `pod update ObjectBox` in the `ios` or `macos` directories.
1113

1214
## 4.1.0 (2025-02-04)
1315

sync_flutter_libs/ios/objectbox_sync_flutter_libs.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
1818
s.source_files = 'Classes/**/*'
1919

2020
s.dependency 'Flutter'
21-
s.dependency 'ObjectBox', '4.1.0-sync'
21+
s.dependency 'ObjectBox', '4.2.0-sync'
2222

2323
# Flutter.framework does not contain a i386 slice.
2424
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }

sync_flutter_libs/macos/objectbox_sync_flutter_libs.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
1414
s.source_files = 'Classes/**/*'
1515

1616
s.dependency 'FlutterMacOS'
17-
s.dependency 'ObjectBox', '4.1.0-sync'
17+
s.dependency 'ObjectBox', '4.2.0-sync'
1818

1919
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
2020
s.swift_version = '5.3'

0 commit comments

Comments
 (0)