Skip to content

Commit 7b6b66a

Browse files
committed
bump c-lib version to 4.0.0 #45
1 parent 17fb62a commit 7b6b66a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

download-c-lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Script used to download objectbox-c shared libraries for all supported platforms. Execute by running `make get-lib`
77
# on first checkout of this repo and any time after changing the objectbox-c lib version.
88

9-
version = "v0.21.1-alpha5" # see objectbox/c.py required_version
9+
version = "v4.0.0" # see objectbox/c.py required_version
1010
variant = 'objectbox' # or 'objectbox-sync'
1111

1212
base_url = "https://github.com/objectbox/objectbox-c/releases/download/"

objectbox/c.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
# Version of the library used by the binding. This version is checked at runtime to ensure binary compatibility.
2929
# Don't forget to update download-c-lib.py when upgrading to a newer version.
30-
required_version = "0.21.0"
30+
required_version = "4.0.0"
3131

3232

3333
def shlib_name(library: str) -> str:

tests/test_basics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def test_version():
1919
assert objectbox.version.major == 0 # update for major version changes
2020
assert objectbox.version.minor >= 6
2121

22-
assert objectbox.version_core.major == 0 # update for major version changes
23-
assert objectbox.version_core.minor >= 21
22+
assert objectbox.version_core.major == 4 # update for major version changes
23+
assert objectbox.version_core.minor >= 0
2424

2525
info = objectbox.version_info()
2626
print("\nVersion found:", info)

0 commit comments

Comments
 (0)