Releases v0.3.0-beta.1

pull/190/head v0.3.0-beta.1
Tpt 3 years ago
parent 58d31c7b42
commit f617dc9bd3
  1. 6
      .github/workflows/release.yml
  2. 6
      CHANGELOG.md
  3. 50
      Cargo.lock
  4. 2
      bench/README.md
  5. 4
      js/Cargo.toml
  6. 10
      lib/Cargo.toml
  7. 2
      lib/oxrdf/Cargo.toml
  8. 4
      lib/sparesults/Cargo.toml
  9. 4
      lib/spargebra/Cargo.toml
  10. 4
      python/Cargo.toml
  11. 2
      rocksdb-sys/Cargo.toml
  12. 6
      server/Cargo.toml
  13. 4
      testsuite/Cargo.toml

@ -63,7 +63,7 @@ jobs:
publish_pypi_linux: publish_pypi_linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: publish_lib_crates needs: publish_crates
strategy: strategy:
matrix: matrix:
architecture: [ "x86_64", "aarch64" ] architecture: [ "x86_64", "aarch64" ]
@ -82,7 +82,7 @@ jobs:
publish_pypi_mac: publish_pypi_mac:
runs-on: macos-latest runs-on: macos-latest
needs: publish_lib_crates needs: publish_crates
env: env:
DEVELOPER_DIR: '/Applications/Xcode.app/Contents/Developer' DEVELOPER_DIR: '/Applications/Xcode.app/Contents/Developer'
SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk' SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk'
@ -107,7 +107,7 @@ jobs:
publish_pypi_windows: publish_pypi_windows:
runs-on: windows-latest runs-on: windows-latest
needs: publish_lib_crates needs: publish_crates
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:

@ -1,4 +1,4 @@
## [0.3.0-dev] ## [0.3.0-beta1] - 2022-01-29
### Added ### Added
- [RDF-star](https://w3c.github.io/rdf-star/cg-spec) support. `Triple` is now a possible `Term`. Serialization formats and SPARQL support have been updated to match the [latest version of the specification draft](https://w3c.github.io/rdf-star/cg-spec/2021-07-01.html). - [RDF-star](https://w3c.github.io/rdf-star/cg-spec) support. `Triple` is now a possible `Term`. Serialization formats and SPARQL support have been updated to match the [latest version of the specification draft](https://w3c.github.io/rdf-star/cg-spec/2021-07-01.html).
@ -11,7 +11,7 @@
- `Store` operations are now transactional using the "repeatable read" isolation level: - `Store` operations are now transactional using the "repeatable read" isolation level:
the store only exposes changes that have been "committed" (i.e. no partial writes) and the exposed state does not change for the complete duration of a read operation (e.g. a SPARQL query) or a read/write operation (e.g. a SPARQL update). the store only exposes changes that have been "committed" (i.e. no partial writes) and the exposed state does not change for the complete duration of a read operation (e.g. a SPARQL query) or a read/write operation (e.g. a SPARQL update).
the `Store` `transaction` method now allows to do read/write transactions. the `Store` `transaction` method now allows to do read/write transactions.
* `RDF-star <https://w3c.github.io/rdf-star/cg-spec>`_ is now supported (including serialization formats and SPARQL-star). :py:class:`.Triple` can now be used in :py:attr:`.Triple.object`, :py:attr:`.Triple.object`, :py:attr:`.Quad.subject` and :py:attr:`.Quad.object`. -`RDF-star <https://w3c.github.io/rdf-star/cg-spec>`_ is now supported (including serialization formats and SPARQL-star). :py:class:`.Triple` can now be used in :py:attr:`.Triple.object`, :py:attr:`.Triple.object`, :py:attr:`.Quad.subject` and :py:attr:`.Quad.object`.
### Changed ### Changed
- SPARQL: It is now possible to compare `rdf:langString` literals with the same language tag. - SPARQL: It is now possible to compare `rdf:langString` literals with the same language tag.
@ -41,6 +41,8 @@
- `oxigraph_wikibase` is now stored in [its own repository](https://github.com/oxigraph/oxigraph-wikibase). - `oxigraph_wikibase` is now stored in [its own repository](https://github.com/oxigraph/oxigraph-wikibase).
- Rust: `From` implementations between `oxigraph` terms and `rio_api` terms. - Rust: `From` implementations between `oxigraph` terms and `rio_api` terms.
Many thanks to [Thad Guidry](https://github.com/thadguidry), [James Overton](https://github.com/jamesaoverton) and [Jeremiah](https://github.com/jeremiahpslewis) who sponsored the project during the development of this version.
## [0.2.5] - 2021-07-11 ## [0.2.5] - 2021-07-11

50
Cargo.lock generated

@ -177,9 +177,9 @@ dependencies = [
[[package]] [[package]]
name = "clap" name = "clap"
version = "3.0.12" version = "3.0.13"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2afefa54b5c7dd40918dc1e09f213a171ab5937aadccab45e804780b238f9f43" checksum = "08799f92c961c7a1cf0cc398a9073da99e21ce388b46372c37f3191f2f3eed3e"
dependencies = [ dependencies = [
"atty", "atty",
"bitflags", "bitflags",
@ -608,9 +608,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]] [[package]]
name = "libc" name = "libc"
version = "0.2.113" version = "0.2.116"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eef78b64d87775463c549fbd80e19249ef436ea3bf1de2a1eb7e717ec7fab1e9" checksum = "565dbd88872dbe4cc8a46e527f26483c1d1f7afa6b884a3bd6cd893d4f98da74"
[[package]] [[package]]
name = "libloading" name = "libloading"
@ -624,9 +624,9 @@ dependencies = [
[[package]] [[package]]
name = "lock_api" name = "lock_api"
version = "0.4.5" version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712a4d093c9976e24e7dbca41db895dabcbac38eb5f4045393d17a95bdfb1109" checksum = "88943dd7ef4a2e5a4bfa2753aaab3013e34ce2533d1996fb18ef591e315e2b3b"
dependencies = [ dependencies = [
"scopeguard", "scopeguard",
] ]
@ -714,9 +714,9 @@ dependencies = [
[[package]] [[package]]
name = "num_threads" name = "num_threads"
version = "0.1.2" version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71a1eb3a36534514077c1e079ada2fb170ef30c47d203aa6916138cf882ecd52" checksum = "97ba99ba6393e2c3734791401b66902d981cb03bf190af674ca69949b6d5fb15"
dependencies = [ dependencies = [
"libc", "libc",
] ]
@ -764,7 +764,7 @@ dependencies = [
[[package]] [[package]]
name = "oxigraph" name = "oxigraph"
version = "0.3.0-dev" version = "0.3.0-beta.1"
dependencies = [ dependencies = [
"criterion", "criterion",
"digest", "digest",
@ -798,7 +798,7 @@ dependencies = [
[[package]] [[package]]
name = "oxigraph_js" name = "oxigraph_js"
version = "0.3.0-dev" version = "0.3.0-beta.1"
dependencies = [ dependencies = [
"console_error_panic_hook", "console_error_panic_hook",
"js-sys", "js-sys",
@ -809,9 +809,9 @@ dependencies = [
[[package]] [[package]]
name = "oxigraph_server" name = "oxigraph_server"
version = "0.3.0-dev" version = "0.3.0-beta.1"
dependencies = [ dependencies = [
"clap 3.0.12", "clap 3.0.13",
"oxhttp", "oxhttp",
"oxigraph", "oxigraph",
"oxiri", "oxiri",
@ -822,10 +822,10 @@ dependencies = [
[[package]] [[package]]
name = "oxigraph_testsuite" name = "oxigraph_testsuite"
version = "0.3.0-dev" version = "0.3.0-beta.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap 3.0.12", "clap 3.0.13",
"criterion", "criterion",
"oxigraph", "oxigraph",
"text-diff", "text-diff",
@ -846,7 +846,7 @@ checksum = "a8a8821a5332e388ab8d6436ab703c5744516c11976e2c08702fbc93fe4b3f51"
[[package]] [[package]]
name = "oxrdf" name = "oxrdf"
version = "0.1.0-dev" version = "0.1.0-beta.1"
dependencies = [ dependencies = [
"lasso", "lasso",
"oxilangtag", "oxilangtag",
@ -857,7 +857,7 @@ dependencies = [
[[package]] [[package]]
name = "oxrocksdb-sys" name = "oxrocksdb-sys"
version = "0.3.0-dev" version = "0.3.0-beta.1"
dependencies = [ dependencies = [
"bindgen", "bindgen",
"cc", "cc",
@ -1070,7 +1070,7 @@ dependencies = [
[[package]] [[package]]
name = "pyoxigraph" name = "pyoxigraph"
version = "0.3.0-dev" version = "0.3.0-beta.1"
dependencies = [ dependencies = [
"oxigraph", "oxigraph",
"pyo3", "pyo3",
@ -1367,9 +1367,9 @@ checksum = "568a8e6258aa33c13358f81fd834adb854c6f7c9468520910a9b1e8fac068012"
[[package]] [[package]]
name = "serde" name = "serde"
version = "1.0.135" version = "1.0.136"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2cf9235533494ea2ddcdb794665461814781c53f19d87b76e571a1c35acbad2b" checksum = "ce31e24b01e1e524df96f1c2fdd054405f8d7376249a5110886fb4b658484789"
[[package]] [[package]]
name = "serde_cbor" name = "serde_cbor"
@ -1383,9 +1383,9 @@ dependencies = [
[[package]] [[package]]
name = "serde_derive" name = "serde_derive"
version = "1.0.135" version = "1.0.136"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8dcde03d87d4c973c04be249e7d8f0b35db1c848c487bd43032808e59dd8328d" checksum = "08597e7152fcd306f41838ed3e37be9eaeed2b61c42e2117266a554fab4662f9"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -1471,7 +1471,7 @@ dependencies = [
[[package]] [[package]]
name = "sparesults" name = "sparesults"
version = "0.1.0-dev" version = "0.1.0-beta.1"
dependencies = [ dependencies = [
"json-event-parser", "json-event-parser",
"oxrdf", "oxrdf",
@ -1480,7 +1480,7 @@ dependencies = [
[[package]] [[package]]
name = "spargebra" name = "spargebra"
version = "0.2.0-dev" version = "0.2.0-beta.1"
dependencies = [ dependencies = [
"oxilangtag", "oxilangtag",
"oxiri", "oxiri",
@ -1584,9 +1584,9 @@ dependencies = [
[[package]] [[package]]
name = "time" name = "time"
version = "0.3.6" version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c8d54b9298e05179c335de2b9645d061255bcd5155f843b3e328d2cfe0a5b413" checksum = "004cbc98f30fa233c61a38bc77e96a9106e65c88f2d3bef182ae952027e5753d"
dependencies = [ dependencies = [
"itoa 1.0.1", "itoa 1.0.1",
"libc", "libc",

@ -7,7 +7,7 @@ It provides a dataset generator and multiple sets of queries grouped by "use cas
## Results ## Results
We compare here Oxigraph with some existing SPARQL implementations (Blazegraph, GraphDB, Jena, and Virtuoso). We compare here Oxigraph 0.2 and 0.3 with some existing SPARQL implementations (Blazegraph, GraphDB, Jena, and Virtuoso).
The dataset used in the following charts is generated with 100k "products" (see [its spec](http://wifo5-03.informatik.uni-mannheim.de/bizer/berlinsparqlbenchmark/spec/Dataset/index.html)). It leads to the creation of 35M triples. The dataset used in the following charts is generated with 100k "products" (see [its spec](http://wifo5-03.informatik.uni-mannheim.de/bizer/berlinsparqlbenchmark/spec/Dataset/index.html)). It leads to the creation of 35M triples.
It has been executed on a PrevailPro P3000 with 32GB of RAM. It has been executed on a PrevailPro P3000 with 32GB of RAM.

@ -1,6 +1,6 @@
[package] [package]
name = "oxigraph_js" name = "oxigraph_js"
version = "0.3.0-dev" version = "0.3.0-beta.1"
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.0-dev", path="../lib" } oxigraph = { version = "0.3.0-beta.1", 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.0-dev" version = "0.3.0-beta.1"
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"
@ -39,13 +39,13 @@ siphasher = "0.3"
lazy_static = "1" lazy_static = "1"
sophia_api = { version = "0.7", optional = true } sophia_api = { version = "0.7", optional = true }
num_cpus = "1" num_cpus = "1"
oxrdf = { version = "0.1.0-dev", path="oxrdf", features = ["rdf-star"] } oxrdf = { version = "0.1.0-beta.1", path="oxrdf", features = ["rdf-star"] }
spargebra = { version = "0.2.0-dev", path="spargebra", features = ["rdf-star"] } spargebra = { version = "0.2.0-beta.1", path="spargebra", features = ["rdf-star"] }
sparesults = { version = "0.1.0-dev", path="sparesults", features = ["rdf-star"] } sparesults = { version = "0.1.0-beta.1", path="sparesults", features = ["rdf-star"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies] [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
libc = "0.2" libc = "0.2"
oxrocksdb-sys = { version = "0.3.0-dev", path="../rocksdb-sys" } oxrocksdb-sys = { version = "0.3.0-beta.1", path="../rocksdb-sys" }
oxhttp = { version = "0.1", optional = true } oxhttp = { version = "0.1", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies] [target.'cfg(target_arch = "wasm32")'.dependencies]

@ -1,6 +1,6 @@
[package] [package]
name = "oxrdf" name = "oxrdf"
version = "0.1.0-dev" version = "0.1.0-beta.1"
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.0-dev" version = "0.1.0-beta.1"
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"
@ -18,7 +18,7 @@ rdf-star = ["oxrdf/rdf-star"]
[dependencies] [dependencies]
json-event-parser = "0.1" json-event-parser = "0.1"
oxrdf = { version = "0.1.0-dev", path="../oxrdf" } oxrdf = { version = "0.1.0-beta.1", path="../oxrdf" }
quick-xml = "0.22" quick-xml = "0.22"
[package.metadata.docs.rs] [package.metadata.docs.rs]

@ -1,6 +1,6 @@
[package] [package]
name = "spargebra" name = "spargebra"
version = "0.2.0-dev" version = "0.2.0-beta.1"
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"
@ -21,7 +21,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.0-dev", path="../oxrdf" } oxrdf = { version = "0.1.0-beta.1", path="../oxrdf" }
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true

@ -1,6 +1,6 @@
[package] [package]
name = "pyoxigraph" name = "pyoxigraph"
version = "0.3.0-dev" version = "0.3.0-beta.1"
authors = ["Tpt"] authors = ["Tpt"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
readme = "README.md" readme = "README.md"
@ -16,5 +16,5 @@ name = "pyoxigraph"
doctest = false doctest = false
[dependencies] [dependencies]
oxigraph = { version = "0.3.0-dev", path="../lib", features = ["http_client"] } oxigraph = { version = "0.3.0-beta.1", path="../lib", features = ["http_client"] }
pyo3 = { version = "0.15", features = ["extension-module", "abi3-py37"] } pyo3 = { version = "0.15", features = ["extension-module", "abi3-py37"] }

@ -1,6 +1,6 @@
[package] [package]
name = "oxrocksdb-sys" name = "oxrocksdb-sys"
version = "0.3.0-dev" version = "0.3.0-beta.1"
authors = ["Tpt <thomas@pellissier-tanon.fr>"] authors = ["Tpt <thomas@pellissier-tanon.fr>"]
license = "GPL-2.0 OR Apache-2.0" license = "GPL-2.0 OR Apache-2.0"
repository = "https://github.com/oxigraph/oxigraph/tree/v0.3/rocksdb-sys" repository = "https://github.com/oxigraph/oxigraph/tree/v0.3/rocksdb-sys"

@ -1,6 +1,6 @@
[package] [package]
name = "oxigraph_server" name = "oxigraph_server"
version = "0.3.0-dev" version = "0.3.0-beta.1"
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,8 +14,8 @@ edition = "2021"
[dependencies] [dependencies]
oxhttp = { version = "0.1", features = ["rayon"] } oxhttp = { version = "0.1", features = ["rayon"] }
clap = { version = "3", features = ["derive"] } clap = { version = "3", features = ["derive"] }
oxigraph = { version = "0.3.0-dev", path = "../lib", features = ["http_client"] } oxigraph = { version = "0.3.0-beta.1", path = "../lib", features = ["http_client"] }
sparesults = { version = "0.1.0-dev", path="../lib/sparesults", features = ["rdf-star"] } sparesults = { version = "0.1.0-beta.1", 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.0-dev" version = "0.3.0-beta.1"
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 = "3" clap = "3"
time = { version = "0.3", features = ["formatting"] } time = { version = "0.3", features = ["formatting"] }
oxigraph = { version = "0.3.0-dev", path="../lib" } oxigraph = { version = "0.3.0-beta.1", path="../lib" }
text-diff = "0.4" text-diff = "0.4"
[dev-dependencies] [dev-dependencies]

Loading…
Cancel
Save