Skip to content

Commit 7ef9de4

Browse files
Merge branch 'release-4.1.0' into 'main'
Release 4.1.0 #135 See merge request objectbox/objectbox-dart!100
2 parents 282510d + 48ca329 commit 7ef9de4

File tree

15 files changed

+22
-17
lines changed

15 files changed

+22
-17
lines changed

Diff for: flutter_libs/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ android {
4545
}
4646

4747
defaultConfig {
48-
minSdkVersion 19 // ObjectBox Android requires Android 4.4 (API level 19)
48+
minSdkVersion 21 // ObjectBox Android requires Android 5.0 (API level 21)
4949
}
5050

5151
dependencies {

Diff for: flutter_libs/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Superfast NoSQL Flutter / Dart database. This package contains Flut
33
# Link to actual directory in repository so file links on pub.dev work.
44
repository: https://github.com/objectbox/objectbox-dart/tree/main/flutter_libs
55
homepage: https://objectbox.io
6-
version: 4.0.3
6+
version: 4.1.0
77

88
environment:
99
sdk: '>=2.18.0 <4.0.0'
@@ -14,7 +14,7 @@ dependencies:
1414
sdk: flutter
1515
# This is here just to ensure compatibility between objectbox-dart code and the libraries used
1616
# You should still depend on objectbox directly in your Flutter application.
17-
objectbox: 4.0.3
17+
objectbox: 4.1.0
1818
path_provider: ^2.0.0
1919

2020
dev_dependencies:

Diff for: generator/lib/src/version.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ class Version {
44
///
55
/// This string is updated by the /tool/set-version.sh script
66
/// as part of the release process.
7-
static const String current = "4.0.3";
7+
static const String current = "4.1.0";
88
}

Diff for: generator/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ description: ObjectBox Flutter / Dart database binding code generator - finds an
33
# Link to actual directory in repository so file links on pub.dev work.
44
repository: https://github.com/objectbox/objectbox-dart/tree/main/generator
55
homepage: https://objectbox.io
6-
version: 4.0.3
6+
version: 4.1.0
77

88
environment:
99
sdk: '>=2.18.0 <4.0.0'
1010

1111
dependencies:
12-
objectbox: 4.0.3
12+
objectbox: 4.1.0
1313
analyzer: '>=5.2.0 <7.0.0' # 5.1.0 has a bug where DartType.element has been removed.
1414
build: ^2.0.0
1515
collection: ^1.15.0

Diff for: objectbox/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
## latest
22

3+
4+
5+
## 4.1.0 (2025-02-04)
6+
7+
* Flutter for Android: requires Android 5.0 (API level 21).
38
* Vector Search: You can now use the new `VectorDistanceType.GEO` distance-type to perform vector searches on
49
geographical coordinates. This is particularly useful for location-based applications.
510
* Flutter for Linux/Windows, Dart Native: update to [objectbox-c 4.1.0](https://github.com/objectbox/objectbox-c/releases/tag/v4.1.0).

Diff for: objectbox/example/dart-native/vectorsearch_cities/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ environment:
66
sdk: ^2.18.6
77

88
dependencies:
9-
objectbox: ^4.0.3
9+
objectbox: ^4.1.0
1010

1111
dev_dependencies:
1212
build_runner: ^2.4.9

Diff for: objectbox/example/flutter/event_management_tutorial/event_manager/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
flutter:
1313
sdk: flutter
1414

15-
objectbox: ^4.0.3
15+
objectbox: ^4.1.0
1616
objectbox_flutter_libs: any
1717
intl: any
1818

Diff for: objectbox/example/flutter/event_management_tutorial/many_to_many/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
flutter:
1313
sdk: flutter
1414

15-
objectbox: ^4.0.3
15+
objectbox: ^4.1.0
1616
objectbox_flutter_libs: any
1717
intl: any
1818

Diff for: objectbox/example/flutter/objectbox_demo/android/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ android {
4747
// You can update the following values to match your application needs.
4848
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
4949
// minSdkVersion flutter.minSdkVersion
50-
minSdkVersion 19 // ObjectBox requires at least SDK 19 (Android 4.4)
50+
minSdkVersion 21 // ObjectBox Android requires Android 5.0 (API level 21)
5151
targetSdkVersion flutter.targetSdkVersion
5252
versionCode flutterVersionCode.toInteger()
5353
versionName flutterVersionName

Diff for: objectbox/example/flutter/objectbox_demo/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
dependencies:
1010
flutter:
1111
sdk: flutter
12-
objectbox: ^4.0.3
12+
objectbox: ^4.1.0
1313
objectbox_flutter_libs: any
1414
intl: any
1515
path_provider: ^2.0.10

Diff for: objectbox/example/flutter/objectbox_demo_relations/android/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ android {
4747
// You can update the following values to match your application needs.
4848
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
4949
// minSdkVersion flutter.minSdkVersion
50-
minSdkVersion 19 // ObjectBox requires at least SDK 19 (Android 4.4)
50+
minSdkVersion 21 // ObjectBox Android requires Android 5.0 (API level 21)
5151
targetSdkVersion flutter.targetSdkVersion
5252
versionCode flutterVersionCode.toInteger()
5353
versionName flutterVersionName

Diff for: objectbox/example/flutter/objectbox_demo_relations/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
dependencies:
1010
flutter:
1111
sdk: flutter
12-
objectbox: ^4.0.3
12+
objectbox: ^4.1.0
1313
objectbox_flutter_libs: any
1414
intl: any
1515
path_provider: ^2.0.10 # 2.0.11+ requires Flutter 2.8.0

Diff for: objectbox/example/flutter/objectbox_demo_sync/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
dependencies:
1010
flutter:
1111
sdk: flutter
12-
objectbox: ^4.0.3
12+
objectbox: ^4.1.0
1313
objectbox_sync_flutter_libs: any # For Sync support use this instead of objectbox_flutter_libs.
1414
intl: any
1515
path_provider: ^2.0.10

Diff for: objectbox/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ homepage: https://objectbox.io
44
# Link to actual directory in repository so file links on pub.dev work.
55
repository: https://github.com/objectbox/objectbox-dart/tree/main/objectbox
66
documentation: https://docs.objectbox.io
7-
version: 4.0.3
7+
version: 4.1.0
88

99
environment:
1010
# minimum Dart SDK (also see generator and flutter_libs)

Diff for: sync_flutter_libs/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Fast Flutter database for persisting Dart objects. This package con
33
# Link to actual directory in repository so file links on pub.dev work.
44
repository: https://github.com/objectbox/objectbox-dart/tree/main/sync_flutter_libs
55
homepage: https://objectbox.io
6-
version: 4.0.3
6+
version: 4.1.0
77

88
environment:
99
sdk: '>=2.18.0 <4.0.0'
@@ -14,7 +14,7 @@ dependencies:
1414
sdk: flutter
1515
# This is here just to ensure compatibility between objectbox-dart code and the libraries used
1616
# You should still depend on objectbox directly in your Flutter application.
17-
objectbox: 4.0.3
17+
objectbox: 4.1.0
1818
path_provider: ^2.0.0
1919

2020
dev_dependencies:

0 commit comments

Comments
 (0)