From 8e76341bb20cf59cb2c082931662a11b0f61829d Mon Sep 17 00:00:00 2001 From: Tpt Date: Tue, 13 Jun 2023 17:48:27 +0200 Subject: [PATCH] Releases v0.3.18 --- CHANGELOG.md | 8 +++++ Cargo.lock | 63 ++++++++++++++++--------------------- js/Cargo.toml | 4 +-- lib/Cargo.toml | 8 ++--- lib/oxrdf/Cargo.toml | 4 +-- lib/oxsdatatypes/Cargo.toml | 2 +- oxrocksdb-sys/Cargo.toml | 2 +- python/Cargo.toml | 4 +-- server/Cargo.toml | 4 +-- testsuite/rdf-tests | 2 +- 10 files changed, 50 insertions(+), 51 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8aef8327..4c615fec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## [0.3.18] - 2023-06-13 + +### Changed +- SPARQL: fixes evaluation of `||` when all alternatives are `false`. The results must be `false` and not an error. +- SPARQL: `xsd:duration` it is now possible to properly parse and serialize all numbers that can be internally represented by the encoding used by Oxigraph. +- Python: fixes `Store.contains_named_graph` return type annotation. + + ## [0.3.17] - 2023-06-11 ### Added diff --git a/Cargo.lock b/Cargo.lock index ca0bce77..1b6590b8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -383,22 +383,22 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.14" +version = "0.9.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695" +checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" dependencies = [ "autocfg", "cfg-if", "crossbeam-utils", - "memoffset 0.8.0", + "memoffset", "scopeguard", ] [[package]] name = "crossbeam-utils" -version = "0.8.15" +version = "0.8.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b" +checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" dependencies = [ "cfg-if", ] @@ -746,9 +746,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.63" +version = "0.3.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f37a4a5928311ac501dee68b3c7613a1037d0edb30c8e5427bd832d55d1b790" +checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" dependencies = [ "wasm-bindgen", ] @@ -834,15 +834,6 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" -[[package]] -name = "memoffset" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" -dependencies = [ - "autocfg", -] - [[package]] name = "memoffset" version = "0.9.0" @@ -942,7 +933,7 @@ dependencies = [ [[package]] name = "oxigraph" -version = "0.3.17" +version = "0.3.18" dependencies = [ "criterion", "digest", @@ -974,7 +965,7 @@ dependencies = [ [[package]] name = "oxigraph_js" -version = "0.3.17" +version = "0.3.18" dependencies = [ "console_error_panic_hook", "js-sys", @@ -984,7 +975,7 @@ dependencies = [ [[package]] name = "oxigraph_server" -version = "0.3.17" +version = "0.3.18" dependencies = [ "anyhow", "assert_cmd", @@ -1032,7 +1023,7 @@ checksum = "bb175ec8981211357b7b379869c2f8d555881c55ea62311428ec0de46d89bd5c" [[package]] name = "oxrdf" -version = "0.1.6" +version = "0.1.7" dependencies = [ "oxilangtag", "oxiri", @@ -1042,7 +1033,7 @@ dependencies = [ [[package]] name = "oxrocksdb-sys" -version = "0.3.17" +version = "0.3.18" dependencies = [ "bindgen", "cc", @@ -1051,7 +1042,7 @@ dependencies = [ [[package]] name = "oxsdatatypes" -version = "0.1.2" +version = "0.1.3" dependencies = [ "js-sys", ] @@ -1240,7 +1231,7 @@ dependencies = [ "cfg-if", "indoc", "libc", - "memoffset 0.9.0", + "memoffset", "parking_lot", "pyo3-build-config", "pyo3-ffi", @@ -1293,7 +1284,7 @@ dependencies = [ [[package]] name = "pyoxigraph" -version = "0.3.17" +version = "0.3.18" dependencies = [ "oxigraph", "pyo3", @@ -1905,9 +1896,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bba0e8cb82ba49ff4e229459ff22a191bbe9a1cb3a341610c9c33efc27ddf73" +checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -1915,9 +1906,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b04bc93f9d6bdee709f6bd2118f57dd6679cf1176a1af464fca3ab0d66d8fb" +checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" dependencies = [ "bumpalo", "log", @@ -1930,9 +1921,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14d6b024f1a526bb0234f52840389927257beb670610081360e5a03c5df9c258" +checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -1940,9 +1931,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8" +checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", @@ -1953,15 +1944,15 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.86" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed9d5b4305409d1fc9482fee2d7f9bcbf24b3972bf59817ef757e23982242a93" +checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" [[package]] name = "web-sys" -version = "0.3.63" +version = "0.3.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bdd9ef4e984da1187bf8110c5cf5b845fbc87a23602cdf912386a76fcd3a7c2" +checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" dependencies = [ "js-sys", "wasm-bindgen", diff --git a/js/Cargo.toml b/js/Cargo.toml index 1d9e0d93..55e9d0bc 100644 --- a/js/Cargo.toml +++ b/js/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph_js" -version = "0.3.17" +version = "0.3.18" 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.17", path="../lib" } +oxigraph = { version = "0.3.18", 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 0b83e59a..c7fa0d26 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph" -version = "0.3.17" +version = "0.3.18" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -38,14 +38,14 @@ hex = "0.4" siphasher = "0.3" lazy_static = "1" json-event-parser = "0.1" -oxrdf = { version = "0.1.6", path="oxrdf", features = ["rdf-star", "oxsdatatypes"] } -oxsdatatypes = { version = "0.1.2", path="oxsdatatypes" } +oxrdf = { version = "0.1.7", path="oxrdf", features = ["rdf-star", "oxsdatatypes"] } +oxsdatatypes = { version = "0.1.3", path="oxsdatatypes" } spargebra = { version = "0.2.8", path="spargebra", features = ["rdf-star", "sep-0002", "sep-0006"] } sparesults = { version = "0.1.8", path="sparesults", features = ["rdf-star"] } [target.'cfg(not(target_family = "wasm"))'.dependencies] libc = "0.2" -oxrocksdb-sys = { version = "0.3.17", path="../oxrocksdb-sys" } +oxrocksdb-sys = { version = "0.3.18", path="../oxrocksdb-sys" } oxhttp = { version = "0.1", optional = true } [target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies] diff --git a/lib/oxrdf/Cargo.toml b/lib/oxrdf/Cargo.toml index 91f49f4e..3e7789c8 100644 --- a/lib/oxrdf/Cargo.toml +++ b/lib/oxrdf/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxrdf" -version = "0.1.6" +version = "0.1.7" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -21,7 +21,7 @@ rdf-star = [] rand = "0.8" oxilangtag = "0.1" oxiri = "0.2" -oxsdatatypes = { version = "0.1.2", path="../oxsdatatypes", optional = true } +oxsdatatypes = { version = "0.1.3", path="../oxsdatatypes", optional = true } [package.metadata.docs.rs] all-features = true diff --git a/lib/oxsdatatypes/Cargo.toml b/lib/oxsdatatypes/Cargo.toml index 95baafe7..27f2084e 100644 --- a/lib/oxsdatatypes/Cargo.toml +++ b/lib/oxsdatatypes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxsdatatypes" -version = "0.1.2" +version = "0.1.3" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/oxrocksdb-sys/Cargo.toml b/oxrocksdb-sys/Cargo.toml index ccc2513d..cda577e8 100644 --- a/oxrocksdb-sys/Cargo.toml +++ b/oxrocksdb-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxrocksdb-sys" -version = "0.3.17" +version = "0.3.18" 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 70ee9340..89ca09e7 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pyoxigraph" -version = "0.3.17" +version = "0.3.18" 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.17", path="../lib", features = ["http_client"] } +oxigraph = { version = "0.3.18", path="../lib", features = ["http_client"] } pyo3 = { version = "0.19", features = ["extension-module"] } diff --git a/server/Cargo.toml b/server/Cargo.toml index dafb4868..81d62db2 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph_server" -version = "0.3.17" +version = "0.3.18" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -17,7 +17,7 @@ anyhow = "1" oxhttp = { version = "0.1", features = ["rayon"] } clap = { version = "=4.0", features = ["derive"] } clap_lex = "=0.3.0" -oxigraph = { version = "0.3.17", path = "../lib", features = ["http_client"] } +oxigraph = { version = "0.3.18", path = "../lib", features = ["http_client"] } sparesults = { version = "0.1.8", path = "../lib/sparesults", features = ["rdf-star"] } rand = "0.8" url = "2" diff --git a/testsuite/rdf-tests b/testsuite/rdf-tests index 9d70ac92..fb410326 160000 --- a/testsuite/rdf-tests +++ b/testsuite/rdf-tests @@ -1 +1 @@ -Subproject commit 9d70ac9298f494bfc3a2becabc8fa8bc3d169685 +Subproject commit fb41032699d22b9991bba2e427b805b3b82648b6