Releases v0.3.12

pull/385/head v0.3.12
Tpt 2 years ago committed by Thomas Tanon
parent b267d5ea07
commit 0668983cd6
  1. 25
      CHANGELOG.md
  2. 18
      Cargo.lock
  3. 4
      js/Cargo.toml
  4. 8
      lib/Cargo.toml
  5. 2
      lib/oxrdf/Cargo.toml
  6. 4
      lib/sparesults/Cargo.toml
  7. 4
      lib/spargebra/Cargo.toml
  8. 2
      lib/sparql-smith/Cargo.toml
  9. 4
      python/Cargo.toml
  10. 6
      server/Cargo.toml
  11. 4
      testsuite/Cargo.toml

@ -1,6 +1,17 @@
## [0.3.11] - 2022-12-18 ## [0.3.12] - 2023-02-18
## Added ### Added
- `From<NamedOrBlankNode>` 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). - 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. 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). - 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. 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. - 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: 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: 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. - SPARQL: Property path evaluation with both start and end variables bound has been optimized.
@ -25,12 +36,12 @@
## [0.3.10] - 2022-12-21 ## [0.3.10] - 2022-12-21
## Added ### Added
- SPARQL: Property path with unbound graph are now evaluated. - SPARQL: Property path with unbound graph are now evaluated.
For example, `SELECT * WHERE { GRAPH ?g { ?s ex:p+ ?o } }` now works. For example, `SELECT * WHERE { GRAPH ?g { ?s ex:p+ ?o } }` now works.
- SPARQL: The query optimizer is now fuzzed for better testing. - 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. - 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. 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. - Python: type stubs are now compatible with Python 3.7 and Mypy strict mode.
@ -40,13 +51,13 @@
## [0.3.9] - 2022-12-07 ## [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 `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: 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. - Server: allows path that are not valid UTF-8 in file path CLI arguments.
- Rust: `From<spargebra::Query>` to `oxigraph::Query` (thanks to @hobofan). - Rust: `From<spargebra::Query>` to `oxigraph::Query` (thanks to @hobofan).
## Changed ### Changed
- SPARQL: `NOW()` function properly returns the current time and not 1970-01-01 - 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: fixes serialization of SPARQL queries (property path and STRSTARTS function).
- SPARQL: slightly optimize aggregates by avoiding an unneeded projection. - SPARQL: slightly optimize aggregates by avoiding an unneeded projection.

18
Cargo.lock generated

@ -973,7 +973,7 @@ dependencies = [
[[package]] [[package]]
name = "oxigraph" name = "oxigraph"
version = "0.3.12-dev" version = "0.3.12"
dependencies = [ dependencies = [
"criterion", "criterion",
"digest", "digest",
@ -1004,7 +1004,7 @@ dependencies = [
[[package]] [[package]]
name = "oxigraph_js" name = "oxigraph_js"
version = "0.3.12-dev" version = "0.3.12"
dependencies = [ dependencies = [
"console_error_panic_hook", "console_error_panic_hook",
"js-sys", "js-sys",
@ -1014,7 +1014,7 @@ dependencies = [
[[package]] [[package]]
name = "oxigraph_server" name = "oxigraph_server"
version = "0.3.12-dev" version = "0.3.12"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"assert_cmd", "assert_cmd",
@ -1036,7 +1036,7 @@ dependencies = [
[[package]] [[package]]
name = "oxigraph_testsuite" name = "oxigraph_testsuite"
version = "0.3.12-dev" version = "0.3.12"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap 4.0.32", "clap 4.0.32",
@ -1060,7 +1060,7 @@ checksum = "bb175ec8981211357b7b379869c2f8d555881c55ea62311428ec0de46d89bd5c"
[[package]] [[package]]
name = "oxrdf" name = "oxrdf"
version = "0.1.3-dev" version = "0.1.3"
dependencies = [ dependencies = [
"lasso", "lasso",
"oxilangtag", "oxilangtag",
@ -1313,7 +1313,7 @@ dependencies = [
[[package]] [[package]]
name = "pyoxigraph" name = "pyoxigraph"
version = "0.3.12-dev" version = "0.3.12"
dependencies = [ dependencies = [
"oxigraph", "oxigraph",
"pyo3", "pyo3",
@ -1663,7 +1663,7 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"
[[package]] [[package]]
name = "sparesults" name = "sparesults"
version = "0.1.5-dev" version = "0.1.5"
dependencies = [ dependencies = [
"json-event-parser", "json-event-parser",
"oxrdf", "oxrdf",
@ -1672,7 +1672,7 @@ dependencies = [
[[package]] [[package]]
name = "spargebra" name = "spargebra"
version = "0.2.5-dev" version = "0.2.5"
dependencies = [ dependencies = [
"oxilangtag", "oxilangtag",
"oxiri", "oxiri",
@ -1683,7 +1683,7 @@ dependencies = [
[[package]] [[package]]
name = "sparql-smith" name = "sparql-smith"
version = "0.1.0-alpha.1" version = "0.1.0-alpha.2"
dependencies = [ dependencies = [
"arbitrary", "arbitrary",
] ]

@ -1,6 +1,6 @@
[package] [package]
name = "oxigraph_js" name = "oxigraph_js"
version = "0.3.12-dev" version = "0.3.12"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors = ["Tpt <thomas@pellissier-tanon.fr>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
readme = "README.md" readme = "README.md"
@ -14,7 +14,7 @@ crate-type = ["cdylib"]
name = "oxigraph" name = "oxigraph"
[dependencies] [dependencies]
oxigraph = { version = "0.3.12-dev", path="../lib" } oxigraph = { version = "0.3.12", path="../lib" }
wasm-bindgen = "0.2" wasm-bindgen = "0.2"
js-sys = "0.3" js-sys = "0.3"
console_error_panic_hook = "0.1" console_error_panic_hook = "0.1"

@ -1,6 +1,6 @@
[package] [package]
name = "oxigraph" name = "oxigraph"
version = "0.3.12-dev" version = "0.3.12"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors = ["Tpt <thomas@pellissier-tanon.fr>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
readme = "README.md" readme = "README.md"
@ -37,10 +37,10 @@ hex = "0.4"
siphasher = "0.3" siphasher = "0.3"
lazy_static = "1" lazy_static = "1"
sysinfo = "0.28" 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" } oxsdatatypes = { version = "0.1.0", path="oxsdatatypes" }
spargebra = { version = "0.2.5-dev", path="spargebra", features = ["rdf-star", "sep-0002", "sep-0006"] } spargebra = { version = "0.2.5", path="spargebra", features = ["rdf-star", "sep-0002", "sep-0006"] }
sparesults = { version = "0.1.5-dev", path="sparesults", features = ["rdf-star"] } sparesults = { version = "0.1.5", path="sparesults", features = ["rdf-star"] }
[target.'cfg(not(target_family = "wasm"))'.dependencies] [target.'cfg(not(target_family = "wasm"))'.dependencies]
libc = "0.2" libc = "0.2"

@ -1,6 +1,6 @@
[package] [package]
name = "oxrdf" name = "oxrdf"
version = "0.1.3-dev" version = "0.1.3"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors = ["Tpt <thomas@pellissier-tanon.fr>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
readme = "README.md" readme = "README.md"

@ -1,6 +1,6 @@
[package] [package]
name = "sparesults" name = "sparesults"
version = "0.1.5-dev" version = "0.1.5"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors = ["Tpt <thomas@pellissier-tanon.fr>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
readme = "README.md" readme = "README.md"
@ -19,7 +19,7 @@ rdf-star = ["oxrdf/rdf-star"]
[dependencies] [dependencies]
json-event-parser = "0.1" json-event-parser = "0.1"
oxrdf = { version = "0.1.3-dev", path="../oxrdf" } oxrdf = { version = "0.1.3", path="../oxrdf" }
quick-xml = "0.27" quick-xml = "0.27"
[package.metadata.docs.rs] [package.metadata.docs.rs]

@ -1,6 +1,6 @@
[package] [package]
name = "spargebra" name = "spargebra"
version = "0.2.5-dev" version = "0.2.5"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors = ["Tpt <thomas@pellissier-tanon.fr>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
readme = "README.md" readme = "README.md"
@ -24,7 +24,7 @@ peg = "0.8"
rand = "0.8" rand = "0.8"
oxiri = "0.2" oxiri = "0.2"
oxilangtag = "0.1" oxilangtag = "0.1"
oxrdf = { version = "0.1.3-dev", path="../oxrdf" } oxrdf = { version = "0.1.3", path="../oxrdf" }
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true

@ -1,6 +1,6 @@
[package] [package]
name = "sparql-smith" name = "sparql-smith"
version = "0.1.0-alpha.1" version = "0.1.0-alpha.2"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors = ["Tpt <thomas@pellissier-tanon.fr>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
readme = "README.md" readme = "README.md"

@ -1,6 +1,6 @@
[package] [package]
name = "pyoxigraph" name = "pyoxigraph"
version = "0.3.12-dev" version = "0.3.12"
authors = ["Tpt"] authors = ["Tpt"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
readme = "README.md" readme = "README.md"
@ -19,5 +19,5 @@ doctest = false
abi3 = ["pyo3/abi3-py37"] abi3 = ["pyo3/abi3-py37"]
[dependencies] [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"] } pyo3 = { version = "0.18", features = ["extension-module"] }

@ -1,6 +1,6 @@
[package] [package]
name = "oxigraph_server" name = "oxigraph_server"
version = "0.3.12-dev" version = "0.3.12"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors = ["Tpt <thomas@pellissier-tanon.fr>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
readme = "README.md" readme = "README.md"
@ -17,8 +17,8 @@ anyhow = "1"
oxhttp = { version = "0.1", features = ["rayon"] } oxhttp = { version = "0.1", features = ["rayon"] }
clap = { version = "=4.0", features = ["derive"] } clap = { version = "=4.0", features = ["derive"] }
clap_lex = "=0.3.0" clap_lex = "=0.3.0"
oxigraph = { version = "0.3.12-dev", path = "../lib", features = ["http_client"] } oxigraph = { version = "0.3.12", path = "../lib", features = ["http_client"] }
sparesults = { version = "0.1.5-dev", path = "../lib/sparesults", features = ["rdf-star"] } sparesults = { version = "0.1.5", path = "../lib/sparesults", features = ["rdf-star"] }
rand = "0.8" rand = "0.8"
url = "2" url = "2"
oxiri = "0.2" oxiri = "0.2"

@ -1,6 +1,6 @@
[package] [package]
name = "oxigraph_testsuite" name = "oxigraph_testsuite"
version = "0.3.12-dev" version = "0.3.12"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors = ["Tpt <thomas@pellissier-tanon.fr>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
readme = "../README.md" readme = "../README.md"
@ -15,7 +15,7 @@ publish = false
anyhow = "1" anyhow = "1"
clap = { version = "4", features = ["derive"] } clap = { version = "4", features = ["derive"] }
time = { version = "0.3", features = ["formatting"] } 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" text-diff = "0.4"
[dev-dependencies] [dev-dependencies]

Loading…
Cancel
Save