From 45c541edad4f34f338b6b2a264479570625fc9d8 Mon Sep 17 00:00:00 2001 From: Tpt Date: Tue, 6 Dec 2022 21:59:22 +0100 Subject: [PATCH] Releases v0.3.9 --- CHANGELOG.md | 19 +++++++++++++++++++ Cargo.lock | 16 ++++++++-------- js/Cargo.toml | 4 ++-- lib/Cargo.toml | 8 ++++---- lib/oxrdf/Cargo.toml | 2 +- lib/sparesults/Cargo.toml | 4 ++-- lib/spargebra/Cargo.toml | 4 ++-- python/Cargo.toml | 4 ++-- server/Cargo.toml | 6 +++--- testsuite/Cargo.toml | 4 ++-- 10 files changed, 45 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a639965..b77490e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +## [0.3.9] - 2022-12-07 + +## Added +- Server: The `/store` endpoints now has a `no_transaction` HTTP option for `POST` and `PUT` request to get better performances at the cost of transactional guarantees. +- Server: The `/store` endpoints now has a `lenient` HTTP option for `POST` and `PUT` request to ignore syntax errors (requires the `no_transaction` option). +- Server: allows path that are not valid UTF-8 in file path CLI arguments. +- Rust: `From` to `oxigraph::Query` (thanks to @hobofan). + +## Changed +- SPARQL: `NOW()` function properly returns the current time and not 1970-01-01 +- SPARQL: fixes serialization of SPARQL queries (property path and STRSTARTS function). +- SPARQL: slightly optimize aggregates by avoiding an unneeded projection. +- SPARQL: the parser now cleanly fails if invalid `VALUES` clauses are provided. +- SPARQL: In DELETE/INSERT UPDATEs the currently written values can't be read anymore ("Halloween problem"). +- `oxrdf`: makes Clippy run without warnings when `rdf-star` is disable. +- Python: makes type annotations compatible with Python 3.7. +- Python: makes sure the parameter default value is always included in the type annotation. + + ## [0.3.8] - 2022-10-22 ### Changed diff --git a/Cargo.lock b/Cargo.lock index 3bfe07f9..750e42cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -976,7 +976,7 @@ dependencies = [ [[package]] name = "oxigraph" -version = "0.3.8" +version = "0.3.9" dependencies = [ "criterion", "digest", @@ -1009,7 +1009,7 @@ dependencies = [ [[package]] name = "oxigraph_js" -version = "0.3.8" +version = "0.3.9" dependencies = [ "console_error_panic_hook", "js-sys", @@ -1020,7 +1020,7 @@ dependencies = [ [[package]] name = "oxigraph_server" -version = "0.3.8" +version = "0.3.9" dependencies = [ "anyhow", "assert_cmd", @@ -1040,7 +1040,7 @@ dependencies = [ [[package]] name = "oxigraph_testsuite" -version = "0.3.8" +version = "0.3.9" dependencies = [ "anyhow", "clap 4.0.29", @@ -1064,7 +1064,7 @@ checksum = "bb175ec8981211357b7b379869c2f8d555881c55ea62311428ec0de46d89bd5c" [[package]] name = "oxrdf" -version = "0.1.0" +version = "0.1.1" dependencies = [ "lasso", "oxilangtag", @@ -1302,7 +1302,7 @@ dependencies = [ [[package]] name = "pyoxigraph" -version = "0.3.8" +version = "0.3.9" dependencies = [ "oxigraph", "pyo3", @@ -1660,7 +1660,7 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] name = "sparesults" -version = "0.1.1" +version = "0.1.2" dependencies = [ "json-event-parser", "oxrdf", @@ -1669,7 +1669,7 @@ dependencies = [ [[package]] name = "spargebra" -version = "0.2.2" +version = "0.2.3" dependencies = [ "oxilangtag", "oxiri", diff --git a/js/Cargo.toml b/js/Cargo.toml index 3c10b92e..4300445b 100644 --- a/js/Cargo.toml +++ b/js/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph_js" -version = "0.3.8" +version = "0.3.9" 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.8", path="../lib" } +oxigraph = { version = "0.3.9", 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 10a97376..6c8965bd 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph" -version = "0.3.8" +version = "0.3.9" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -37,9 +37,9 @@ nom = "7" siphasher = "0.3" lazy_static = "1" sysinfo = "0.26" -oxrdf = { version = "0.1.0", path="oxrdf", features = ["rdf-star"] } -spargebra = { version = "0.2.2", path="spargebra", features = ["rdf-star"] } -sparesults = { version = "0.1.1", path="sparesults", features = ["rdf-star"] } +oxrdf = { version = "0.1.1", path="oxrdf", features = ["rdf-star"] } +spargebra = { version = "0.2.3", path="spargebra", features = ["rdf-star"] } +sparesults = { version = "0.1.2", path="sparesults", features = ["rdf-star"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] libc = "0.2" diff --git a/lib/oxrdf/Cargo.toml b/lib/oxrdf/Cargo.toml index b9924f94..9154eeaa 100644 --- a/lib/oxrdf/Cargo.toml +++ b/lib/oxrdf/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxrdf" -version = "0.1.0" +version = "0.1.1" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/lib/sparesults/Cargo.toml b/lib/sparesults/Cargo.toml index 2c3e1747..30abcfa7 100644 --- a/lib/sparesults/Cargo.toml +++ b/lib/sparesults/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sparesults" -version = "0.1.1" +version = "0.1.2" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -18,7 +18,7 @@ rdf-star = ["oxrdf/rdf-star"] [dependencies] json-event-parser = "0.1" -oxrdf = { version = "0.1.0", path="../oxrdf" } +oxrdf = { version = "0.1.1", path="../oxrdf" } quick-xml = "0.23" [package.metadata.docs.rs] diff --git a/lib/spargebra/Cargo.toml b/lib/spargebra/Cargo.toml index 2ae069c7..a7e19626 100644 --- a/lib/spargebra/Cargo.toml +++ b/lib/spargebra/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spargebra" -version = "0.2.2" +version = "0.2.3" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -21,7 +21,7 @@ peg = "0.8" rand = "0.8" oxiri = "0.2" oxilangtag = "0.1" -oxrdf = { version = "0.1.0", path="../oxrdf" } +oxrdf = { version = "0.1.1", path="../oxrdf" } [package.metadata.docs.rs] all-features = true diff --git a/python/Cargo.toml b/python/Cargo.toml index 20762193..95be846b 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pyoxigraph" -version = "0.3.8" +version = "0.3.9" authors = ["Tpt"] license = "MIT OR Apache-2.0" readme = "README.md" @@ -16,5 +16,5 @@ name = "pyoxigraph" doctest = false [dependencies] -oxigraph = { version = "0.3.8", path="../lib", features = ["http_client"] } +oxigraph = { version = "0.3.9", path="../lib", features = ["http_client"] } pyo3 = { version = "0.17", features = ["extension-module", "abi3-py37"] } diff --git a/server/Cargo.toml b/server/Cargo.toml index bfcd54ba..0183d9c4 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph_server" -version = "0.3.8" +version = "0.3.9" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -15,8 +15,8 @@ edition = "2021" anyhow = "1" oxhttp = { version = "0.1", features = ["rayon"] } clap = { version = "4", features = ["derive"] } -oxigraph = { version = "0.3.8", path = "../lib", features = ["http_client"] } -sparesults = { version = "0.1.1", path = "../lib/sparesults", features = ["rdf-star"] } +oxigraph = { version = "0.3.9", path = "../lib", features = ["http_client"] } +sparesults = { version = "0.1.2", path = "../lib/sparesults", features = ["rdf-star"] } rand = "0.8" url = "2" oxiri = "0.2" diff --git a/testsuite/Cargo.toml b/testsuite/Cargo.toml index ba90c607..87bc7282 100644 --- a/testsuite/Cargo.toml +++ b/testsuite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph_testsuite" -version = "0.3.8" +version = "0.3.9" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "../README.md" @@ -15,7 +15,7 @@ publish = false anyhow = "1" clap = { version = "4", features = ["derive"] } time = { version = "0.3", features = ["formatting"] } -oxigraph = { version = "0.3.8", path="../lib" } +oxigraph = { version = "0.3.9", path="../lib" } text-diff = "0.4" [dev-dependencies]