diff --git a/CHANGELOG.md b/CHANGELOG.md index 96182da0..839c128e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [0.3.1] - 2022-04-02 + +### Changed +- The default git branch is now `main` and not `master` (thanks to @nyurik). +- Upgrades RocksDB to v7.0.4. +- Limits the number of bulk loader threads to at most 4 (allows bigger BTree chunks and a better data layout). +- Limits the number of files opened by RocksDB to the soft file descriptor limit minus 48. + + ## [0.3.0] - 2022-03-19 ### Changed @@ -8,7 +17,7 @@ ## [0.3.0-rc.1] - 2022-03-14 ### Added -- The bulk loader now check available memory and tries to increase its batch size to make use of it. +- The bulk loader now checks available memory and tries to increase its batch size to make use of it. - The Bulk loader provides now a `--lenient` option to keep loading a file even if invalid data is found (works only with N-Triples and N-Quads). This behavior can be customised in the Rust API using the `BulkLoader::on_parse_error` method. diff --git a/Cargo.lock b/Cargo.lock index 0163c782..1950a313 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -791,7 +791,7 @@ dependencies = [ [[package]] name = "oxigraph" -version = "0.3.0" +version = "0.3.1" dependencies = [ "criterion", "digest", @@ -824,7 +824,7 @@ dependencies = [ [[package]] name = "oxigraph_js" -version = "0.3.0" +version = "0.3.1" dependencies = [ "console_error_panic_hook", "js-sys", @@ -835,7 +835,7 @@ dependencies = [ [[package]] name = "oxigraph_server" -version = "0.3.0" +version = "0.3.1" dependencies = [ "clap 3.1.8", "flate2", @@ -849,7 +849,7 @@ dependencies = [ [[package]] name = "oxigraph_testsuite" -version = "0.3.0" +version = "0.3.1" dependencies = [ "anyhow", "clap 3.1.8", @@ -883,7 +883,7 @@ dependencies = [ [[package]] name = "oxrocksdb-sys" -version = "0.3.0" +version = "0.3.1" dependencies = [ "bindgen", "cc", @@ -1082,7 +1082,7 @@ dependencies = [ [[package]] name = "pyoxigraph" -version = "0.3.0" +version = "0.3.1" dependencies = [ "oxigraph", "pyo3", diff --git a/js/Cargo.toml b/js/Cargo.toml index 2254c44d..9dabcf2a 100644 --- a/js/Cargo.toml +++ b/js/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph_js" -version = "0.3.0" +version = "0.3.1" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -14,7 +14,7 @@ crate-type = ["cdylib"] name = "oxigraph" [dependencies] -oxigraph = { version = "0.3.0", path="../lib" } +oxigraph = { version = "0.3.1", path="../lib" } wasm-bindgen = "0.2" js-sys = "0.3" console_error_panic_hook = "0.1" diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 6696323d..0e5e77e3 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph" -version = "0.3.0" +version = "0.3.1" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -43,7 +43,7 @@ sparesults = { version = "0.1.0", path="sparesults", features = ["rdf-star"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] libc = "0.2" -oxrocksdb-sys = { version = "0.3.0", path="../oxrocksdb-sys" } +oxrocksdb-sys = { version = "0.3.1", path="../oxrocksdb-sys" } oxhttp = { version = "0.1", optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] diff --git a/oxrocksdb-sys/Cargo.toml b/oxrocksdb-sys/Cargo.toml index 7e37759d..471a9ccc 100644 --- a/oxrocksdb-sys/Cargo.toml +++ b/oxrocksdb-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxrocksdb-sys" -version = "0.3.0" +version = "0.3.1" authors = ["Tpt "] license = "GPL-2.0 OR Apache-2.0" repository = "https://github.com/oxigraph/oxigraph/tree/main/oxrocksdb-sys" diff --git a/python/Cargo.toml b/python/Cargo.toml index 641a7b67..31ac4535 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pyoxigraph" -version = "0.3.0" +version = "0.3.1" authors = ["Tpt"] license = "MIT OR Apache-2.0" readme = "README.md" @@ -16,5 +16,5 @@ name = "pyoxigraph" doctest = false [dependencies] -oxigraph = { version = "0.3.0", path="../lib", features = ["http_client"] } +oxigraph = { version = "0.3.1", path="../lib", features = ["http_client"] } pyo3 = { version = "0.16", features = ["extension-module", "abi3-py37"] } diff --git a/server/Cargo.toml b/server/Cargo.toml index c77bd712..991d9a19 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph_server" -version = "0.3.0" +version = "0.3.1" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -14,7 +14,7 @@ edition = "2021" [dependencies] oxhttp = { version = "0.1", features = ["rayon"] } clap = { version = "3", features = ["derive"] } -oxigraph = { version = "0.3.0", path = "../lib", features = ["http_client"] } +oxigraph = { version = "0.3.1", path = "../lib", features = ["http_client"] } sparesults = { version = "0.1.0", path = "../lib/sparesults", features = ["rdf-star"] } rand = "0.8" url = "2" diff --git a/testsuite/Cargo.toml b/testsuite/Cargo.toml index 53965d3b..2bc2441d 100644 --- a/testsuite/Cargo.toml +++ b/testsuite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph_testsuite" -version = "0.3.0" +version = "0.3.1" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "../README.md" @@ -15,7 +15,7 @@ publish = false anyhow = "1" clap = { version = "3", features = ["derive"] } time = { version = "0.3", features = ["formatting"] } -oxigraph = { version = "0.3.0", path="../lib" } +oxigraph = { version = "0.3.1", path="../lib" } text-diff = "0.4" [dev-dependencies]