diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ea3fdde..b1bb16cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## [0.4.0-alpha.5] - 2024-03-23 + +### Added +- Python: `Dataset` class + +### Changed +- Rust: `Dataset::canonicalize` and `Graph::canonicalize` takes for input a `CanonicalizationAlgorithm` to set which algorithm to use. +- Upgrades RocksDB to 9.0.0 +- JS: Drops NodeJS 12-16 and older web browsers (Edge before Chromium...) support. + + ## [0.4.0-alpha.4] - 2024-03-07 ### Added diff --git a/Cargo.lock b/Cargo.lock index d398f142..b53dabc7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1049,7 +1049,7 @@ dependencies = [ [[package]] name = "oxigraph" -version = "0.4.0-alpha.5-dev" +version = "0.4.0-alpha.5" dependencies = [ "codspeed-criterion-compat", "digest", @@ -1080,7 +1080,7 @@ dependencies = [ [[package]] name = "oxigraph-cli" -version = "0.4.0-alpha.5-dev" +version = "0.4.0-alpha.5" dependencies = [ "anyhow", "assert_cmd", @@ -1099,7 +1099,7 @@ dependencies = [ [[package]] name = "oxigraph-js" -version = "0.4.0-alpha.5-dev" +version = "0.4.0-alpha.5" dependencies = [ "console_error_panic_hook", "js-sys", @@ -1139,7 +1139,7 @@ checksum = "b225dad32cfaa43a960b93f01fa7f87528ac07e794b80f6d9a0153e0222557e2" [[package]] name = "oxrdf" -version = "0.2.0-alpha.4-dev" +version = "0.2.0-alpha.4" dependencies = [ "oxilangtag", "oxiri", @@ -1150,7 +1150,7 @@ dependencies = [ [[package]] name = "oxrdfio" -version = "0.1.0-alpha.4-dev" +version = "0.1.0-alpha.4" dependencies = [ "oxrdf", "oxrdfxml", @@ -1161,7 +1161,7 @@ dependencies = [ [[package]] name = "oxrdfxml" -version = "0.1.0-alpha.4-dev" +version = "0.1.0-alpha.4" dependencies = [ "oxilangtag", "oxiri", @@ -1173,7 +1173,7 @@ dependencies = [ [[package]] name = "oxrocksdb-sys" -version = "0.4.0-alpha.5-dev" +version = "0.4.0-alpha.5" dependencies = [ "bindgen", "cc", @@ -1191,7 +1191,7 @@ dependencies = [ [[package]] name = "oxttl" -version = "0.1.0-alpha.4-dev" +version = "0.1.0-alpha.4" dependencies = [ "memchr", "oxilangtag", @@ -1429,7 +1429,7 @@ dependencies = [ [[package]] name = "pyoxigraph" -version = "0.4.0-alpha.5-dev" +version = "0.4.0-alpha.5" dependencies = [ "oxigraph", "pyo3", @@ -1762,7 +1762,7 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "sparesults" -version = "0.2.0-alpha.4-dev" +version = "0.2.0-alpha.4" dependencies = [ "json-event-parser", "memchr", @@ -1774,7 +1774,7 @@ dependencies = [ [[package]] name = "spargebra" -version = "0.3.0-alpha.4-dev" +version = "0.3.0-alpha.4" dependencies = [ "oxilangtag", "oxiri", @@ -1786,7 +1786,7 @@ dependencies = [ [[package]] name = "sparopt" -version = "0.1.0-alpha.4-dev" +version = "0.1.0-alpha.4" dependencies = [ "oxrdf", "rand", diff --git a/Cargo.toml b/Cargo.toml index d5e0582e..f96dc0df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.4.0-alpha.5-dev" +version = "0.4.0-alpha.5" authors = ["Tpt "] license = "MIT OR Apache-2.0" edition = "2021" @@ -69,15 +69,15 @@ zstd = ">=0.12, <0.14" # Internal dependencies oxigraph = { version = "0.4.0-alpha.4", path = "lib/oxigraph" } -oxrdf = { version = "0.2.0-alpha.4-dev", path = "lib/oxrdf" } -oxrdfio = { version = "0.1.0-alpha.4-dev", path = "lib/oxrdfio" } -oxrdfxml = { version = "0.1.0-alpha.4-dev", path = "lib/oxrdfxml" } +oxrdf = { version = "0.2.0-alpha.4", path = "lib/oxrdf" } +oxrdfio = { version = "0.1.0-alpha.4", path = "lib/oxrdfio" } +oxrdfxml = { version = "0.1.0-alpha.4", path = "lib/oxrdfxml" } oxrocksdb-sys = { version = "0.4.0-alpha.3", path = "./oxrocksdb-sys" } oxsdatatypes = { version = "0.2.0-alpha.1", path = "lib/oxsdatatypes" } -oxttl = { version = "0.1.0-alpha.4-dev", path = "lib/oxttl" } -sparesults = { version = "0.2.0-alpha.4-dev", path = "lib/sparesults" } -spargebra = { version = "0.3.0-alpha.4-dev", path = "lib/spargebra" } -sparopt = { version = "0.1.0-alpha.4-dev", path = "lib/sparopt" } +oxttl = { version = "0.1.0-alpha.4", path = "lib/oxttl" } +sparesults = { version = "0.2.0-alpha.4", path = "lib/sparesults" } +spargebra = { version = "0.3.0-alpha.4", path = "lib/spargebra" } +sparopt = { version = "0.1.0-alpha.4", path = "lib/sparopt" } sparql-smith = { version = "0.1.0-alpha.5", path = "lib/sparql-smith" } [workspace.lints.rust] diff --git a/lib/oxrdf/Cargo.toml b/lib/oxrdf/Cargo.toml index fdc879cd..12b4ba60 100644 --- a/lib/oxrdf/Cargo.toml +++ b/lib/oxrdf/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxrdf" -version = "0.2.0-alpha.4-dev" +version = "0.2.0-alpha.4" authors.workspace = true license.workspace = true readme = "README.md" diff --git a/lib/oxrdfio/Cargo.toml b/lib/oxrdfio/Cargo.toml index ffc24cd3..a0deee07 100644 --- a/lib/oxrdfio/Cargo.toml +++ b/lib/oxrdfio/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxrdfio" -version = "0.1.0-alpha.4-dev" +version = "0.1.0-alpha.4" authors.workspace = true license.workspace = true readme = "README.md" diff --git a/lib/oxrdfxml/Cargo.toml b/lib/oxrdfxml/Cargo.toml index 58cf4607..938d50bd 100644 --- a/lib/oxrdfxml/Cargo.toml +++ b/lib/oxrdfxml/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxrdfxml" -version = "0.1.0-alpha.4-dev" +version = "0.1.0-alpha.4" authors.workspace = true license.workspace = true readme = "README.md" diff --git a/lib/oxttl/Cargo.toml b/lib/oxttl/Cargo.toml index ebb48d02..f62f57a2 100644 --- a/lib/oxttl/Cargo.toml +++ b/lib/oxttl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxttl" -version = "0.1.0-alpha.4-dev" +version = "0.1.0-alpha.4" authors.workspace = true license.workspace = true readme = "README.md" diff --git a/lib/sparesults/Cargo.toml b/lib/sparesults/Cargo.toml index 3e3a10a9..740a4930 100644 --- a/lib/sparesults/Cargo.toml +++ b/lib/sparesults/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sparesults" -version = "0.2.0-alpha.4-dev" +version = "0.2.0-alpha.4" authors.workspace = true license.workspace = true readme = "README.md" diff --git a/lib/spargebra/Cargo.toml b/lib/spargebra/Cargo.toml index b26ec51e..2d23b8e9 100644 --- a/lib/spargebra/Cargo.toml +++ b/lib/spargebra/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spargebra" -version = "0.3.0-alpha.4-dev" +version = "0.3.0-alpha.4" authors.workspace = true license.workspace = true readme = "README.md" diff --git a/lib/sparopt/Cargo.toml b/lib/sparopt/Cargo.toml index e82d5f48..8edb384f 100644 --- a/lib/sparopt/Cargo.toml +++ b/lib/sparopt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sparopt" -version = "0.1.0-alpha.4-dev" +version = "0.1.0-alpha.4" authors.workspace = true license.workspace = true readme = "README.md" diff --git a/python/src/dataset.rs b/python/src/dataset.rs index 01b34504..1ef0e7a6 100644 --- a/python/src/dataset.rs +++ b/python/src/dataset.rs @@ -269,6 +269,7 @@ impl QuadIter { /// RDF canonicalization algorithms. /// /// The following algorithms are supported: +/// /// * :py:attr:`CanonicalizationAlgorithm.UNSTABLE`: an unstable algorithm preferred by PyOxigraph. #[pyclass(name = "CanonicalizationAlgorithm", module = "pyoxigraph")] #[derive(Clone)] diff --git a/python/src/io.rs b/python/src/io.rs index 37d97451..c778da30 100644 --- a/python/src/io.rs +++ b/python/src/io.rs @@ -177,6 +177,7 @@ impl PyQuadReader { /// RDF serialization formats. /// /// The following formats are supported: +/// /// * `N-Triples `_ (:py:attr:`RdfFormat.N_TRIPLES`) /// * `N-Quads `_ (:py:attr:`RdfFormat.N_QUADS`) /// * `Turtle `_ (:py:attr:`RdfFormat.TURTLE`) diff --git a/python/src/sparql.rs b/python/src/sparql.rs index b1133fa1..86ee7804 100644 --- a/python/src/sparql.rs +++ b/python/src/sparql.rs @@ -503,6 +503,7 @@ pub fn parse_query_results( /// `SPARQL query `_ results serialization formats. /// /// The following formats are supported: +/// /// * `XML `_ (:py:attr:`QueryResultsFormat.XML`) /// * `JSON `_ (:py:attr:`QueryResultsFormat.JSON`) /// * `CSV `_ (:py:attr:`QueryResultsFormat.CSV`)