From 17708fba5bc4dbf3b0767026f1728750683a3ea2 Mon Sep 17 00:00:00 2001 From: Ziyang Hu Date: Tue, 2 May 2023 22:53:54 +0800 Subject: [PATCH] bump lib versions --- VERSION | 2 +- cozo-bin/Cargo.toml | 4 ++-- cozo-core/Cargo.toml | 2 +- cozo-core/src/storage/rocks.rs | 2 +- cozo-lib-c/Cargo.toml | 4 ++-- cozo-lib-java/Cargo.toml | 4 ++-- cozo-lib-nodejs/Cargo.toml | 4 ++-- cozo-lib-nodejs/package.json | 2 +- cozo-lib-python/Cargo.toml | 4 ++-- cozo-lib-swift/Cargo.toml | 4 ++-- cozo-lib-swift/CozoSwiftBridge.podspec | 4 ++-- cozo-lib-swift/README-zh.md | 2 +- cozo-lib-swift/README.md | 2 +- cozo-lib-wasm/Cargo.toml | 4 ++-- 14 files changed, 22 insertions(+), 22 deletions(-) diff --git a/VERSION b/VERSION index 09a3acfa..bcaffe19 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.6.0 \ No newline at end of file +0.7.0 \ No newline at end of file diff --git a/cozo-bin/Cargo.toml b/cozo-bin/Cargo.toml index e74f22f3..b1706164 100644 --- a/cozo-bin/Cargo.toml +++ b/cozo-bin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cozo-bin" -version = "0.6.0" +version = "0.7.0" edition = "2021" license = "MPL-2.0" description = "Standalone Cozo database" @@ -42,7 +42,7 @@ storage-tikv = ["cozo/storage-tikv"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cozo = { version = "0.6.0", path = "../cozo-core", default-features = false } +cozo = { version = "0.7.0", path = "../cozo-core", default-features = false } clap = { version = "4.0.26", features = ["derive"] } env_logger = "0.10.0" log = "0.4.17" diff --git a/cozo-core/Cargo.toml b/cozo-core/Cargo.toml index 3aba9aaa..c2219323 100644 --- a/cozo-core/Cargo.toml +++ b/cozo-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cozo" -version = "0.6.0" +version = "0.7.0" edition = "2021" description = "A general-purpose, transactional, relational database that uses Datalog and focuses on graph data and algorithms" authors = ["Ziyang Hu"] diff --git a/cozo-core/src/storage/rocks.rs b/cozo-core/src/storage/rocks.rs index db81dc2a..1906a0a3 100644 --- a/cozo-core/src/storage/rocks.rs +++ b/cozo-core/src/storage/rocks.rs @@ -23,7 +23,7 @@ use crate::utils::swap_option_result; use crate::Db; const KEY_PREFIX_LEN: usize = 9; -const CURRENT_STORAGE_VERSION: u64 = 2; +const CURRENT_STORAGE_VERSION: u64 = 3; /// Creates a RocksDB database object. /// This is currently the fastest persistent storage and it can diff --git a/cozo-lib-c/Cargo.toml b/cozo-lib-c/Cargo.toml index 945a66c4..b18dde8b 100644 --- a/cozo-lib-c/Cargo.toml +++ b/cozo-lib-c/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cozo_c" -version = "0.6.0" +version = "0.7.0" edition = "2021" license = "MPL-2.0" homepage = "https://www.cozodb.org" @@ -38,7 +38,7 @@ io-uring = ["cozo/io-uring"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cozo = { version = "0.6.0", path = "../cozo-core", default_features = false } +cozo = { version = "0.7.0", path = "../cozo-core", default_features = false } lazy_static = "1.4.0" [build-dependencies] diff --git a/cozo-lib-java/Cargo.toml b/cozo-lib-java/Cargo.toml index eb17c7c4..829906ad 100644 --- a/cozo-lib-java/Cargo.toml +++ b/cozo-lib-java/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cozo_java" -version = "0.6.0" +version = "0.7.0" edition = "2021" license = "MPL-2.0" homepage = "https://www.cozodb.org" @@ -40,5 +40,5 @@ io-uring = ["cozo/io-uring"] [dependencies] jni = "0.21.0" # , features = ["compact"] -cozo = { version = "0.6.0", path = "../cozo-core", default_features = false, features = ["compact"] } +cozo = { version = "0.7.0", path = "../cozo-core", default_features = false, features = ["compact"] } lazy_static = "1.4.0" diff --git a/cozo-lib-nodejs/Cargo.toml b/cozo-lib-nodejs/Cargo.toml index 2a459f57..757e3b5a 100644 --- a/cozo-lib-nodejs/Cargo.toml +++ b/cozo-lib-nodejs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cozo-node" -version = "0.6.0" +version = "0.7.0" description = "Cozo database for NodeJS" authors = ["Ziyang Hu"] license = "MPL-2.0" @@ -40,7 +40,7 @@ io-uring = ["cozo/io-uring"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cozo = { version = "0.6.0", path = "../cozo-core", default-features = false } +cozo = { version = "0.7.0", path = "../cozo-core", default-features = false } lazy_static = "1.4.0" crossbeam = "0.8.2" miette = "5.5.0" diff --git a/cozo-lib-nodejs/package.json b/cozo-lib-nodejs/package.json index 9474fa91..e1639d7b 100644 --- a/cozo-lib-nodejs/package.json +++ b/cozo-lib-nodejs/package.json @@ -1,6 +1,6 @@ { "name": "cozo-node", - "version": "0.6.0", + "version": "0.7.0", "description": "Cozo database for NodeJS", "main": "index", "types": "index.d.ts", diff --git a/cozo-lib-python/Cargo.toml b/cozo-lib-python/Cargo.toml index 354a6bae..c538539d 100644 --- a/cozo-lib-python/Cargo.toml +++ b/cozo-lib-python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cozo_py" -version = "0.6.0" +version = "0.7.0" edition = "2021" description = "Cozo database for python" authors = ["Ziyang Hu"] @@ -41,7 +41,7 @@ io-uring = ["cozo/io-uring"] [dependencies] -cozo = { version = "0.6.0", path = "../cozo-core", default-features = false } +cozo = { version = "0.7.0", path = "../cozo-core", default-features = false } pyo3 = { version = "0.18.0", features = ["extension-module", "abi3", "abi3-py37"] } miette = "5.5.0" serde_json = "1.0.96" \ No newline at end of file diff --git a/cozo-lib-swift/Cargo.toml b/cozo-lib-swift/Cargo.toml index 068712f4..f1dafbdb 100644 --- a/cozo-lib-swift/Cargo.toml +++ b/cozo-lib-swift/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cozo-swift" -version = "0.6.0" +version = "0.7.0" edition = "2021" description = "Cozo database for Swift" authors = ["Ziyang Hu"] @@ -40,5 +40,5 @@ io-uring = ["cozo/io-uring"] swift-bridge-build = "0.1.41" [dependencies] -cozo = { version = "0.6.0", path = "../cozo-core", default-features = false } +cozo = { version = "0.7.0", path = "../cozo-core", default-features = false } swift-bridge = "0.1.41" diff --git a/cozo-lib-swift/CozoSwiftBridge.podspec b/cozo-lib-swift/CozoSwiftBridge.podspec index 5c43c0b7..42369036 100644 --- a/cozo-lib-swift/CozoSwiftBridge.podspec +++ b/cozo-lib-swift/CozoSwiftBridge.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |spec| spec.name = "CozoSwiftBridge" - spec.version = "0.6.0" + spec.version = "0.7.0" spec.summary = "CozoDB for Swift" spec.description = "This library allows you to use CozoDB embedded in your Swift application" spec.homepage = "https://github.com/cozodb/cozo/" spec.license = "MPL-2.0" spec.author = { "Ziyang Hu" => "hu.ziyang@cantab.net" } - spec.source = { :http => "https://github.com/cozodb/cozo/releases/download/v0.6.0/CozoSwiftBridge-0.6.0.tgz" } + spec.source = { :http => "https://github.com/cozodb/cozo/releases/download/v0.7.0/CozoSwiftBridge-0.7.0.tgz" } spec.source_files = "Sources/CozoSwiftBridge/*" spec.vendored_frameworks = "RustXcframework.xcframework" spec.requires_arc = true diff --git a/cozo-lib-swift/README-zh.md b/cozo-lib-swift/README-zh.md index 22b50111..b957de4c 100644 --- a/cozo-lib-swift/README-zh.md +++ b/cozo-lib-swift/README-zh.md @@ -16,7 +16,7 @@ target 'YourApp' do use_frameworks! - pod 'CozoSwiftBridge', '~> 0.6.0' + pod 'CozoSwiftBridge', '~> 0.7.0' end ``` diff --git a/cozo-lib-swift/README.md b/cozo-lib-swift/README.md index e6f27a3b..50d6c535 100644 --- a/cozo-lib-swift/README.md +++ b/cozo-lib-swift/README.md @@ -19,7 +19,7 @@ see the Building section below. target 'YourApp' do use_frameworks! - pod 'CozoSwiftBridge', '~> 0.6.0' + pod 'CozoSwiftBridge', '~> 0.7.0' end ``` diff --git a/cozo-lib-wasm/Cargo.toml b/cozo-lib-wasm/Cargo.toml index 3e6a70e2..8b2660d6 100644 --- a/cozo-lib-wasm/Cargo.toml +++ b/cozo-lib-wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cozo-lib-wasm" -version = "0.6.0" +version = "0.7.0" edition = "2021" description = "Cozo database for WASM" authors = ["Ziyang Hu"] @@ -17,7 +17,7 @@ default = ["console_error_panic_hook"] [dependencies] wasm-bindgen = "0.2.63" -cozo = { version = "0.6.0", path = "../cozo-core", default-features = false, features = ["wasm"] } +cozo = { version = "0.7.0", path = "../cozo-core", default-features = false, features = ["wasm"] } # The `console_error_panic_hook` crate provides better debugging of panics by # logging them with `console.error`. This is great for development, but requires