diff --git a/CHANGELOG.md b/CHANGELOG.md index bd4584a9..f66bae28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,29 @@ +## [0.3.14] - 2023-03-19 + +### Added +- Read only and secondary RocksDB storage. Allows to open the data as read-only or two follow a primary instance. +- Server: adds multiple commands: + - `serve-secondary` and `serve-read-only` to serve the HTTP server in secondary and read only-modes. + - `dump` to dump the database content to a file. + - `query` and `update` to execute SPARQL query and updates. + - `backup` to do a database backup. + - `optimize` to optimize the database storage. +- Server: adds `format` and `graph` options to the `load` command in order to select the loaded data format and the target graph. +- Python: `Store.extend` and `Store.bulk_extend` methods. +- Python: allows to pickle basic data model classes. + +### Changed +- Upgrades RocksDB to 8.0.0. +- Server: listening to localhost now properly listen to both IPv4 and IPv6. +- RDF/XML and XML parser results: avoid an ever growing buffer. +- JSON SPARQL results: allows the "head" key to be at the end of the document. +- TSV SPARQL results: properly quote `\t` and print trailing line jumps. +- `Term::from_str`: fixes parsing of blank nodes in object position of quoted triples. +- `QuerySolution`: implements `Eq` and `Debug`. +- JS: Reduces WASM build size. +- OxRDF: fixes `Graph` and `Dataset` serialization to output proper N-Triples and N-Qauds. + + ## [0.3.13] - 2023-02-23 ### Changed diff --git a/Cargo.lock b/Cargo.lock index d59ee429..4f75997f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -935,7 +935,7 @@ dependencies = [ [[package]] name = "oxigraph" -version = "0.3.14-dev" +version = "0.3.14" dependencies = [ "criterion", "digest", @@ -966,7 +966,7 @@ dependencies = [ [[package]] name = "oxigraph_js" -version = "0.3.14-dev" +version = "0.3.14" dependencies = [ "console_error_panic_hook", "js-sys", @@ -976,7 +976,7 @@ dependencies = [ [[package]] name = "oxigraph_server" -version = "0.3.14-dev" +version = "0.3.14" dependencies = [ "anyhow", "assert_cmd", @@ -1024,7 +1024,7 @@ checksum = "bb175ec8981211357b7b379869c2f8d555881c55ea62311428ec0de46d89bd5c" [[package]] name = "oxrdf" -version = "0.1.5-dev" +version = "0.1.5" dependencies = [ "oxilangtag", "oxiri", @@ -1034,7 +1034,7 @@ dependencies = [ [[package]] name = "oxrocksdb-sys" -version = "0.3.14-dev" +version = "0.3.14" dependencies = [ "bindgen", "cc", @@ -1276,7 +1276,7 @@ dependencies = [ [[package]] name = "pyoxigraph" -version = "0.3.14-dev" +version = "0.3.14" dependencies = [ "oxigraph", "pyo3", @@ -1617,7 +1617,7 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] name = "sparesults" -version = "0.1.7-dev" +version = "0.1.7" dependencies = [ "json-event-parser", "oxrdf", @@ -1626,7 +1626,7 @@ dependencies = [ [[package]] name = "spargebra" -version = "0.2.7-dev" +version = "0.2.7" dependencies = [ "oxilangtag", "oxiri", @@ -1637,7 +1637,7 @@ dependencies = [ [[package]] name = "sparql-smith" -version = "0.1.0-alpha.2" +version = "0.1.0-alpha.3" dependencies = [ "arbitrary", ] diff --git a/README.md b/README.md index 57592e7c..06fa4ac1 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ Unless you explicitly state otherwise, any contribution intentionally submitted ## Sponsors * [RelationLabs](https://relationlabs.ai/) that is building [Relation-Graph](https://github.com/relationlabs/Relation-Graph), a SPARQL database module for the [Substrate blockchain platform](https://substrate.io/) based on Oxigraph. +* [Field 33](https://field33.com) that is building [an ontology management plateform](https://plow.pm/). * [Magnus Bakken](https://github.com/magbak) who is building [chrontext](https://github.com/magbak/chrontext), providing a SPARQL query endpoint on top of joint RDF and time series databases. * [ACE IoT Solutions](https://aceiotsolutions.com/), a building IOT platform. * [Albin Larsson](https://byabbe.se/) who is building [GovDirectory](https://www.govdirectory.org/), a directory of public agencies based on Wikidata. diff --git a/js/Cargo.toml b/js/Cargo.toml index e28e8a43..53575628 100644 --- a/js/Cargo.toml +++ b/js/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph_js" -version = "0.3.14-dev" +version = "0.3.14" 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.14-dev", path="../lib" } +oxigraph = { version = "0.3.14", 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 b01c5c2d..eeedfdda 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph" -version = "0.3.14-dev" +version = "0.3.14" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -37,14 +37,14 @@ hex = "0.4" siphasher = "0.3" lazy_static = "1" sysinfo = "0.28" -oxrdf = { version = "0.1.5-dev", path="oxrdf", features = ["rdf-star", "oxsdatatypes"] } +oxrdf = { version = "0.1.5", path="oxrdf", features = ["rdf-star", "oxsdatatypes"] } oxsdatatypes = { version = "0.1.1", path="oxsdatatypes" } -spargebra = { version = "0.2.7-dev", path="spargebra", features = ["rdf-star", "sep-0002", "sep-0006"] } -sparesults = { version = "0.1.7-dev", path="sparesults", features = ["rdf-star"] } +spargebra = { version = "0.2.7", path="spargebra", features = ["rdf-star", "sep-0002", "sep-0006"] } +sparesults = { version = "0.1.7", path="sparesults", features = ["rdf-star"] } [target.'cfg(not(target_family = "wasm"))'.dependencies] libc = "0.2" -oxrocksdb-sys = { version = "0.3.14-dev", path="../oxrocksdb-sys" } +oxrocksdb-sys = { version = "0.3.14", 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 7c9042da..9bb88fe3 100644 --- a/lib/oxrdf/Cargo.toml +++ b/lib/oxrdf/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxrdf" -version = "0.1.5-dev" +version = "0.1.5" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/lib/sparesults/Cargo.toml b/lib/sparesults/Cargo.toml index 9f7b4019..eff7da14 100644 --- a/lib/sparesults/Cargo.toml +++ b/lib/sparesults/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sparesults" -version = "0.1.7-dev" +version = "0.1.7" 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.5-dev", path="../oxrdf" } +oxrdf = { version = "0.1.5", path="../oxrdf" } quick-xml = "0.28" [package.metadata.docs.rs] diff --git a/lib/spargebra/Cargo.toml b/lib/spargebra/Cargo.toml index 4b7401da..101ef8a7 100644 --- a/lib/spargebra/Cargo.toml +++ b/lib/spargebra/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spargebra" -version = "0.2.7-dev" +version = "0.2.7" 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.5-dev", path="../oxrdf" } +oxrdf = { version = "0.1.5", path="../oxrdf" } [package.metadata.docs.rs] all-features = true diff --git a/lib/sparql-smith/Cargo.toml b/lib/sparql-smith/Cargo.toml index 560b0a99..64bd375b 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.2" +version = "0.1.0-alpha.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 d69c718e..657f9994 100644 --- a/oxrocksdb-sys/Cargo.toml +++ b/oxrocksdb-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxrocksdb-sys" -version = "0.3.14-dev" +version = "0.3.14" 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 0122f058..0410188f 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pyoxigraph" -version = "0.3.14-dev" +version = "0.3.14" 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.14-dev", path="../lib", features = ["http_client"] } +oxigraph = { version = "0.3.14", path="../lib", features = ["http_client"] } pyo3 = { version = "0.18", features = ["extension-module"] } diff --git a/server/Cargo.toml b/server/Cargo.toml index 350d6aa8..337e48c2 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph_server" -version = "0.3.14-dev" +version = "0.3.14" 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.14-dev", path = "../lib", features = ["http_client"] } -sparesults = { version = "0.1.7-dev", path = "../lib/sparesults", features = ["rdf-star"] } +oxigraph = { version = "0.3.14", path = "../lib", features = ["http_client"] } +sparesults = { version = "0.1.7", 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 d27837e3..a8165d86 100644 --- a/testsuite/Cargo.toml +++ b/testsuite/Cargo.toml @@ -15,7 +15,7 @@ publish = false anyhow = "1" clap = { version = "4", features = ["derive"] } time = { version = "0.3", features = ["formatting"] } -oxigraph = { path="../lib" } +oxigraph = { path = "../lib" } text-diff = "0.4" [dev-dependencies]