From 0668983cd617281b2b2bd2268f96964a6233891a Mon Sep 17 00:00:00 2001 From: Tpt Date: Fri, 17 Feb 2023 21:56:18 +0100 Subject: [PATCH] Releases v0.3.12 --- CHANGELOG.md | 25 ++++++++++++++++++------- Cargo.lock | 18 +++++++++--------- js/Cargo.toml | 4 ++-- lib/Cargo.toml | 8 ++++---- lib/oxrdf/Cargo.toml | 2 +- lib/sparesults/Cargo.toml | 4 ++-- lib/spargebra/Cargo.toml | 4 ++-- lib/sparql-smith/Cargo.toml | 2 +- python/Cargo.toml | 4 ++-- server/Cargo.toml | 6 +++--- testsuite/Cargo.toml | 4 ++-- 11 files changed, 46 insertions(+), 35 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f8f4c6b..d97c518c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,17 @@ -## [0.3.11] - 2022-12-18 +## [0.3.12] - 2023-02-18 -## Added +### Added +- `From` for `GraphName` (and similarly for `*Ref`). +- Prebuilt Python wheels for Linux with [musl libc](https://www.musl-libc.org/). + +### Changed +- Fixes TriG serialization. +- `QueryDataset` is now properly exposed in the public Rust API. + + +## [0.3.11] - 2023-01-18 + +### Added - SPARQL: Implementation of the `LATERAL` operator following [SPARQL SEP-0006](https://github.com/w3c/sparql-12/blob/main/SEP/SEP-0006/sep-0006.md). Support is behind the `sep-0006` feature in `spargebra` and enabled by default in Oxigraph. - SPARQL: Implementation of the `ADJUST` function following [SPARQL SEP-0002](https://github.com/w3c/sparql-12/blob/main/SEP/SEP-0002/sep-0002.md). @@ -9,7 +20,7 @@ It was part of the Oxigraph crate and it might be useful for other SPARQL or XPath implementations. - Rust: The `oxigraph` crate can now be compiled for `wasm32-wasi` with the basic in-memory backend but without RocksDB. -## Changed +### Changed - SPARQL: The property path evaluator was sometime emitting duplicates when evaluating disjunctive patterns (`a|b`). It is now fixed. - SPARQL: If written explicitly in the SPARQL query, the regular expressions are now compiled once and not for each row. - SPARQL: Property path evaluation with both start and end variables bound has been optimized. @@ -25,12 +36,12 @@ ## [0.3.10] - 2022-12-21 -## Added +### Added - SPARQL: Property path with unbound graph are now evaluated. For example, `SELECT * WHERE { GRAPH ?g { ?s ex:p+ ?o } }` now works. - SPARQL: The query optimizer is now fuzzed for better testing. -## Changed +### Changed - SPARQL: Evaluation of zero-length paths with both start and end unbounded now return only terms defined in the current graph but not terms only defined in the query. For example, in `SELECT * WHERE { VALUES ?s { 1 } { ?s ex:p? ?o } }` the literal `1` won't be returned anymore if not in the queried graph. - Python: type stubs are now compatible with Python 3.7 and Mypy strict mode. @@ -40,13 +51,13 @@ ## [0.3.9] - 2022-12-07 -## Added +### 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 +### 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. diff --git a/Cargo.lock b/Cargo.lock index d792906d..134420b7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -973,7 +973,7 @@ dependencies = [ [[package]] name = "oxigraph" -version = "0.3.12-dev" +version = "0.3.12" dependencies = [ "criterion", "digest", @@ -1004,7 +1004,7 @@ dependencies = [ [[package]] name = "oxigraph_js" -version = "0.3.12-dev" +version = "0.3.12" dependencies = [ "console_error_panic_hook", "js-sys", @@ -1014,7 +1014,7 @@ dependencies = [ [[package]] name = "oxigraph_server" -version = "0.3.12-dev" +version = "0.3.12" dependencies = [ "anyhow", "assert_cmd", @@ -1036,7 +1036,7 @@ dependencies = [ [[package]] name = "oxigraph_testsuite" -version = "0.3.12-dev" +version = "0.3.12" dependencies = [ "anyhow", "clap 4.0.32", @@ -1060,7 +1060,7 @@ checksum = "bb175ec8981211357b7b379869c2f8d555881c55ea62311428ec0de46d89bd5c" [[package]] name = "oxrdf" -version = "0.1.3-dev" +version = "0.1.3" dependencies = [ "lasso", "oxilangtag", @@ -1313,7 +1313,7 @@ dependencies = [ [[package]] name = "pyoxigraph" -version = "0.3.12-dev" +version = "0.3.12" dependencies = [ "oxigraph", "pyo3", @@ -1663,7 +1663,7 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] name = "sparesults" -version = "0.1.5-dev" +version = "0.1.5" dependencies = [ "json-event-parser", "oxrdf", @@ -1672,7 +1672,7 @@ dependencies = [ [[package]] name = "spargebra" -version = "0.2.5-dev" +version = "0.2.5" dependencies = [ "oxilangtag", "oxiri", @@ -1683,7 +1683,7 @@ dependencies = [ [[package]] name = "sparql-smith" -version = "0.1.0-alpha.1" +version = "0.1.0-alpha.2" dependencies = [ "arbitrary", ] diff --git a/js/Cargo.toml b/js/Cargo.toml index b6fa58b3..ca9eff71 100644 --- a/js/Cargo.toml +++ b/js/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph_js" -version = "0.3.12-dev" +version = "0.3.12" 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.12-dev", path="../lib" } +oxigraph = { version = "0.3.12", 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 cb257a05..78f47147 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph" -version = "0.3.12-dev" +version = "0.3.12" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -37,10 +37,10 @@ hex = "0.4" siphasher = "0.3" lazy_static = "1" sysinfo = "0.28" -oxrdf = { version = "0.1.3-dev", path="oxrdf", features = ["rdf-star", "oxsdatatypes"] } +oxrdf = { version = "0.1.3", path="oxrdf", features = ["rdf-star", "oxsdatatypes"] } oxsdatatypes = { version = "0.1.0", path="oxsdatatypes" } -spargebra = { version = "0.2.5-dev", path="spargebra", features = ["rdf-star", "sep-0002", "sep-0006"] } -sparesults = { version = "0.1.5-dev", path="sparesults", features = ["rdf-star"] } +spargebra = { version = "0.2.5", path="spargebra", features = ["rdf-star", "sep-0002", "sep-0006"] } +sparesults = { version = "0.1.5", path="sparesults", features = ["rdf-star"] } [target.'cfg(not(target_family = "wasm"))'.dependencies] libc = "0.2" diff --git a/lib/oxrdf/Cargo.toml b/lib/oxrdf/Cargo.toml index 5072b79c..e9a52fc9 100644 --- a/lib/oxrdf/Cargo.toml +++ b/lib/oxrdf/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxrdf" -version = "0.1.3-dev" +version = "0.1.3" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/lib/sparesults/Cargo.toml b/lib/sparesults/Cargo.toml index a2b5567b..ce5d7397 100644 --- a/lib/sparesults/Cargo.toml +++ b/lib/sparesults/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sparesults" -version = "0.1.5-dev" +version = "0.1.5" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -19,7 +19,7 @@ rdf-star = ["oxrdf/rdf-star"] [dependencies] json-event-parser = "0.1" -oxrdf = { version = "0.1.3-dev", path="../oxrdf" } +oxrdf = { version = "0.1.3", path="../oxrdf" } quick-xml = "0.27" [package.metadata.docs.rs] diff --git a/lib/spargebra/Cargo.toml b/lib/spargebra/Cargo.toml index 715666d3..07721fc8 100644 --- a/lib/spargebra/Cargo.toml +++ b/lib/spargebra/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spargebra" -version = "0.2.5-dev" +version = "0.2.5" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -24,7 +24,7 @@ peg = "0.8" rand = "0.8" oxiri = "0.2" oxilangtag = "0.1" -oxrdf = { version = "0.1.3-dev", path="../oxrdf" } +oxrdf = { version = "0.1.3", path="../oxrdf" } [package.metadata.docs.rs] all-features = true diff --git a/lib/sparql-smith/Cargo.toml b/lib/sparql-smith/Cargo.toml index 8bb35e6b..560b0a99 100644 --- a/lib/sparql-smith/Cargo.toml +++ b/lib/sparql-smith/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sparql-smith" -version = "0.1.0-alpha.1" +version = "0.1.0-alpha.2" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/python/Cargo.toml b/python/Cargo.toml index 099b5d29..0e1250d0 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pyoxigraph" -version = "0.3.12-dev" +version = "0.3.12" authors = ["Tpt"] license = "MIT OR Apache-2.0" readme = "README.md" @@ -19,5 +19,5 @@ doctest = false abi3 = ["pyo3/abi3-py37"] [dependencies] -oxigraph = { version = "0.3.12-dev", path="../lib", features = ["http_client"] } +oxigraph = { version = "0.3.12", path="../lib", features = ["http_client"] } pyo3 = { version = "0.18", features = ["extension-module"] } diff --git a/server/Cargo.toml b/server/Cargo.toml index 64d4c265..f842012f 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph_server" -version = "0.3.12-dev" +version = "0.3.12" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -17,8 +17,8 @@ anyhow = "1" oxhttp = { version = "0.1", features = ["rayon"] } clap = { version = "=4.0", features = ["derive"] } clap_lex = "=0.3.0" -oxigraph = { version = "0.3.12-dev", path = "../lib", features = ["http_client"] } -sparesults = { version = "0.1.5-dev", path = "../lib/sparesults", features = ["rdf-star"] } +oxigraph = { version = "0.3.12", path = "../lib", features = ["http_client"] } +sparesults = { version = "0.1.5", 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 c83ebea6..79d93394 100644 --- a/testsuite/Cargo.toml +++ b/testsuite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph_testsuite" -version = "0.3.12-dev" +version = "0.3.12" 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.12-dev", path="../lib" } +oxigraph = { version = "0.3.12", path="../lib" } text-diff = "0.4" [dev-dependencies]