bump version

main
Ziyang Hu 2 years ago
parent ba333c3883
commit 7914885889

@ -1 +1 @@
0.4.1 0.5.0

@ -1,6 +1,6 @@
[package] [package]
name = "cozo" name = "cozo"
version = "0.4.1" version = "0.5.0"
edition = "2021" edition = "2021"
description = "A general-purpose, transactional, relational database that uses Datalog and focuses on graph data and algorithms" description = "A general-purpose, transactional, relational database that uses Datalog and focuses on graph data and algorithms"
authors = ["Ziyang Hu"] authors = ["Ziyang Hu"]

@ -1,6 +1,6 @@
[package] [package]
name = "cozo_c" name = "cozo_c"
version = "0.4.1" version = "0.5.0"
edition = "2021" edition = "2021"
license = "MPL-2.0" license = "MPL-2.0"
homepage = "https://www.cozodb.org" 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 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
cozo = { version = "0.4.1", path = "../cozo-core", default_features = false } cozo = { version = "0.5.0", path = "../cozo-core", default_features = false }
lazy_static = "1.4.0" lazy_static = "1.4.0"
[build-dependencies] [build-dependencies]

@ -1,6 +1,6 @@
[package] [package]
name = "cozo_java" name = "cozo_java"
version = "0.4.1" version = "0.5.0"
edition = "2021" edition = "2021"
license = "MPL-2.0" license = "MPL-2.0"
homepage = "https://www.cozodb.org" homepage = "https://www.cozodb.org"
@ -40,5 +40,5 @@ io-uring = ["cozo/io-uring"]
[dependencies] [dependencies]
jni = "0.20.0" jni = "0.20.0"
# , features = ["compact"] # , features = ["compact"]
cozo = { version = "0.4.1", path = "../cozo-core", default_features = false, features = ["compact"] } cozo = { version = "0.5.0", path = "../cozo-core", default_features = false, features = ["compact"] }
lazy_static = "1.4.0" lazy_static = "1.4.0"

@ -1,6 +1,6 @@
[package] [package]
name = "cozo-node" name = "cozo-node"
version = "0.4.1" version = "0.5.0"
description = "Cozo database for NodeJS" description = "Cozo database for NodeJS"
authors = ["Ziyang Hu"] authors = ["Ziyang Hu"]
license = "MPL-2.0" 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 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
cozo = { version = "0.4.1", path = "../cozo-core", default-features = false } cozo = { version = "0.5.0", path = "../cozo-core", default-features = false }
lazy_static = "1.4.0" lazy_static = "1.4.0"
[dependencies.neon] [dependencies.neon]

@ -12,7 +12,7 @@ NodeJS 的嵌入式 [CozoDB](https://www.cozodb.org) 库。
npm install --save cozo-node npm install --save cozo-node
``` ```
安装过程中需要从 [GitHub 发布页](https://github.com/cozodb/cozo-lib-nodejs/releases/tag/0.4.1) 下载二进制文件。如果因为网络问题失败,可以使用此 [镜像](https://github.com/cozodb/cozo-lib-nodejs/releases/tag/0.4.1) ,使用方法为 安装过程中需要从 [GitHub 发布页](https://github.com/cozodb/cozo-lib-nodejs/releases/tag/0.5.0) 下载二进制文件。如果因为网络问题失败,可以使用此 [镜像](https://github.com/cozodb/cozo-lib-nodejs/releases/tag/0.4.1) ,使用方法为
```bash ```bash
npm install --save cozo-node --cozo_node_prebuilt_binary_host_mirror=https://gitee.com/cozodb/cozo-lib-nodejs/releases/download/ npm install --save cozo-node --cozo_node_prebuilt_binary_host_mirror=https://gitee.com/cozodb/cozo-lib-nodejs/releases/download/

@ -1,6 +1,6 @@
{ {
"name": "cozo-node", "name": "cozo-node",
"version": "0.4.1", "version": "0.5.0",
"description": "Cozo database for NodeJS", "description": "Cozo database for NodeJS",
"main": "index", "main": "index",
"files": [ "files": [

@ -1,6 +1,6 @@
[package] [package]
name = "cozo_py" name = "cozo_py"
version = "0.4.1" version = "0.5.0"
edition = "2021" edition = "2021"
description = "Cozo database for python" description = "Cozo database for python"
authors = ["Ziyang Hu"] authors = ["Ziyang Hu"]
@ -41,5 +41,5 @@ io-uring = ["cozo/io-uring"]
[dependencies] [dependencies]
cozo = { version = "0.4.1", path = "../cozo-core", default-features = false } cozo = { version = "0.5.0", path = "../cozo-core", default-features = false }
pyo3 = { version = "0.17.1", features = ["extension-module", "abi3", "abi3-py37"] } pyo3 = { version = "0.17.1", features = ["extension-module", "abi3", "abi3-py37"] }

@ -1,6 +1,6 @@
[package] [package]
name = "cozo-swift" name = "cozo-swift"
version = "0.4.1" version = "0.5.0"
edition = "2021" edition = "2021"
description = "Cozo database for Swift" description = "Cozo database for Swift"
authors = ["Ziyang Hu"] authors = ["Ziyang Hu"]
@ -40,5 +40,5 @@ io-uring = ["cozo/io-uring"]
swift-bridge-build = "0.1.41" swift-bridge-build = "0.1.41"
[dependencies] [dependencies]
cozo = { version = "0.4.1", path = "../cozo-core", default-features = false } cozo = { version = "0.5.0", path = "../cozo-core", default-features = false }
swift-bridge = "0.1.41" swift-bridge = "0.1.41"

@ -1,6 +1,6 @@
Pod::Spec.new do |spec| Pod::Spec.new do |spec|
spec.name = "CozoSwiftBridge" spec.name = "CozoSwiftBridge"
spec.version = "0.4.1" spec.version = "0.5.0"
spec.summary = "CozoDB for Swift" spec.summary = "CozoDB for Swift"
spec.description = "This library allows you to use CozoDB embedded in your Swift application" spec.description = "This library allows you to use CozoDB embedded in your Swift application"
spec.homepage = "https://github.com/cozodb/cozo/" spec.homepage = "https://github.com/cozodb/cozo/"

@ -16,7 +16,7 @@
target 'YourApp' do target 'YourApp' do
use_frameworks! use_frameworks!
pod 'CozoSwiftBridge', '~> 0.4.1' pod 'CozoSwiftBridge', '~> 0.5.0'
end end
``` ```

@ -19,7 +19,7 @@ see the Building section below.
target 'YourApp' do target 'YourApp' do
use_frameworks! use_frameworks!
pod 'CozoSwiftBridge', '~> 0.4.1' pod 'CozoSwiftBridge', '~> 0.5.0'
end end
``` ```

@ -1,6 +1,6 @@
[package] [package]
name = "cozo-lib-wasm" name = "cozo-lib-wasm"
version = "0.4.1" version = "0.5.0"
edition = "2021" edition = "2021"
description = "Cozo database for WASM" description = "Cozo database for WASM"
authors = ["Ziyang Hu"] authors = ["Ziyang Hu"]
@ -17,7 +17,7 @@ default = ["console_error_panic_hook"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.63" wasm-bindgen = "0.2.63"
cozo = { version = "0.4.1", path = "../cozo-core", default-features = false, features = ["wasm"] } cozo = { version = "0.5.0", path = "../cozo-core", default-features = false, features = ["wasm"] }
# The `console_error_panic_hook` crate provides better debugging of panics by # The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires # logging them with `console.error`. This is great for development, but requires

@ -1,6 +1,6 @@
[package] [package]
name = "cozoserver" name = "cozoserver"
version = "0.4.1" version = "0.5.0"
edition = "2021" edition = "2021"
license = "MPL-2.0" license = "MPL-2.0"
description = "Standalone Cozo database" 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 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
cozo = { version = "0.4.1", path = "../cozo-core", default-features = false } cozo = { version = "0.5.0", path = "../cozo-core", default-features = false }
clap = { version = "4.0.26", features = ["derive"] } clap = { version = "4.0.26", features = ["derive"] }
rouille = "3.5.0" rouille = "3.5.0"
env_logger = "0.10.0" env_logger = "0.10.0"

@ -95,10 +95,13 @@ fn main() {
.run_script("::running", Default::default()) .run_script("::running", Default::default())
.expect("Cannot determine running queries"); .expect("Cannot determine running queries");
for row in running.rows { for row in running.rows {
let id = row.into_iter().next().unwrap(); let id = row.into_iter().next().unwrap().get_int().unwrap();
eprintln!("Killing running query {id}"); eprintln!("Killing running query {id}");
db_copy db_copy
.run_script("::kill $id", BTreeMap::from([("id".to_string(), id)])) .run_script(
"::kill $id",
BTreeMap::from([("id".to_string(), json!(id))]),
)
.expect("Cannot kill process"); .expect("Cannot kill process");
} }
}) })

Loading…
Cancel
Save