diff --git a/.github/workflows/manylinux_build.sh b/.github/workflows/manylinux_build.sh index 48c69a2a..cf56e41d 100644 --- a/.github/workflows/manylinux_build.sh +++ b/.github/workflows/manylinux_build.sh @@ -11,14 +11,14 @@ cd python python3.12 -m venv venv source venv/bin/activate pip install -r requirements.dev.txt -maturin develop --release --no-default-features --features rustls +maturin develop --release python generate_stubs.py pyoxigraph pyoxigraph.pyi --ruff -maturin build --release --no-default-features --features abi3 --features rustls --compatibility manylinux2014 +maturin build --release --features abi3 --compatibility manylinux2014 if [ %for_each_version% ]; then for VERSION in 8 9 10 11 12; do - maturin build --release --no-default-features --features rustls --interpreter "python3.$VERSION" --compatibility manylinux2014 + maturin build --release --interpreter "python3.$VERSION" --compatibility manylinux2014 done for VERSION in 9 10; do - maturin build --release --no-default-features --features rustls --interpreter "pypy3.$VERSION" --compatibility manylinux2014 + maturin build --release --interpreter "pypy3.$VERSION" --compatibility manylinux2014 done -fi \ No newline at end of file +fi diff --git a/.github/workflows/musllinux_build.sh b/.github/workflows/musllinux_build.sh index 17d1233d..75d51ddf 100644 --- a/.github/workflows/musllinux_build.sh +++ b/.github/workflows/musllinux_build.sh @@ -9,11 +9,11 @@ cd python python3.12 -m venv venv source venv/bin/activate pip install -r requirements.dev.txt -maturin develop --release --no-default-features --features rustls +maturin develop --release python generate_stubs.py pyoxigraph pyoxigraph.pyi --ruff -maturin build --release --no-default-features --features abi3 --features rustls --compatibility musllinux_1_2 +maturin build --release --features abi3 --compatibility musllinux_1_2 if [ %for_each_version% ]; then for VERSION in 8 9 10 11 12; do - maturin build --release --no-default-features --features rustls --interpreter "python3.$VERSION" --compatibility musllinux_1_2 + maturin build --release --interpreter "python3.$VERSION" --compatibility musllinux_1_2 done fi diff --git a/CHANGELOG.md b/CHANGELOG.md index 2da6d30a..d52008ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## [0.4.0-alpha.3] - 2024-01-25 + +### Added +- `oxttl`: expose base IRIs. +- `oxttl`: allows to inject prefixes for serialization. +- `oxrdf`: `vocab::geosparql::WKT_LITERAL`. + +### Changed +- Turtle: Fixes parsing bug with escaped dot at the end of local name. +- `oxttl`: Changes `prefixes` getter return type. +- JS: simplify build. +- Python: uses rustls by default all platforms that are not Windows/macOS/iOS/WASM. +- Strips debug info of the Rust std library in release build. + + ## [0.4.0-alpha.2] - 2024-01-08 ### Added diff --git a/cli/Cargo.toml b/cli/Cargo.toml index befeb158..0c00e383 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph-cli" -version = "0.4.0-alpha.3-dev" +version = "0.4.0-alpha.3" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -29,7 +29,7 @@ rustls-webpki = ["oxigraph/http-client-rustls-webpki"] anyhow = "1.0.72" oxhttp = { version = "0.2.0-alpha.3", features = ["flate2"] } clap = { version = "4.0", features = ["derive"] } -oxigraph = { version = "0.4.0-alpha.3-dev", path = "../lib" } +oxigraph = { version = "0.4.0-alpha.3", path = "../lib" } rand = "0.8" url = "2.4" oxiri = "0.2.3-alpha.1" diff --git a/js/Cargo.toml b/js/Cargo.toml index 8caba72e..16764596 100644 --- a/js/Cargo.toml +++ b/js/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph-js" -version = "0.4.0-alpha.3-dev" +version = "0.4.0-alpha.3" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 44005104..12a62f22 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxigraph" -version = "0.4.0-alpha.3-dev" +version = "0.4.0-alpha.3" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -32,21 +32,21 @@ json-event-parser = "0.2.0-alpha.2" md-5 = "0.10" oxilangtag = "0.1" oxiri = "0.2.3-alpha.1" -oxrdf = { version = "0.2.0-alpha.2-dev", path = "oxrdf", features = ["rdf-star", "oxsdatatypes"] } -oxrdfio = { version = "0.1.0-alpha.2-dev", path = "oxrdfio", features = ["rdf-star"] } +oxrdf = { version = "0.2.0-alpha.2", path = "oxrdf", features = ["rdf-star", "oxsdatatypes"] } +oxrdfio = { version = "0.1.0-alpha.2", path = "oxrdfio", features = ["rdf-star"] } oxsdatatypes = { version = "0.2.0-alpha.1", path = "oxsdatatypes" } rand = "0.8" regex = "1.7" sha1 = "0.10" sha2 = "0.10" siphasher = ">=0.3, <2.0" -sparesults = { version = "0.2.0-alpha.2-dev", path = "sparesults", features = ["rdf-star"] } -spargebra = { version = "0.3.0-alpha.2-dev", path = "spargebra", features = ["rdf-star", "sep-0002", "sep-0006"] } -sparopt = { version = "0.1.0-alpha.2-dev", path = "sparopt", features = ["rdf-star", "sep-0002", "sep-0006"] } +sparesults = { version = "0.2.0-alpha.2", path = "sparesults", features = ["rdf-star"] } +spargebra = { version = "0.3.0-alpha.2", path = "spargebra", features = ["rdf-star", "sep-0002", "sep-0006"] } +sparopt = { version = "0.1.0-alpha.2", path = "sparopt", features = ["rdf-star", "sep-0002", "sep-0006"] } [target.'cfg(not(target_family = "wasm"))'.dependencies] libc = "0.2.147" -oxrocksdb-sys = { version = "0.4.0-alpha.3-dev", path = "../oxrocksdb-sys" } +oxrocksdb-sys = { version = "0.4.0-alpha.3", path = "../oxrocksdb-sys" } oxhttp = { version = "0.2.0-alpha.3", optional = true } [target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies] @@ -62,7 +62,6 @@ zstd = ">=0.12, <0.14" workspace = true [package.metadata.docs.rs] -all-features = true rustdoc-args = ["--cfg", "docsrs"] [[bench]] diff --git a/lib/oxrdf/Cargo.toml b/lib/oxrdf/Cargo.toml index c52b13ca..93fbf18d 100644 --- a/lib/oxrdf/Cargo.toml +++ b/lib/oxrdf/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxrdf" -version = "0.2.0-alpha.2-dev" +version = "0.2.0-alpha.2" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/lib/oxrdfio/Cargo.toml b/lib/oxrdfio/Cargo.toml index 027c5eba..1d10c046 100644 --- a/lib/oxrdfio/Cargo.toml +++ b/lib/oxrdfio/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxrdfio" -version = "0.1.0-alpha.2-dev" +version = "0.1.0-alpha.2" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -19,9 +19,9 @@ async-tokio = ["dep:tokio", "oxrdfxml/async-tokio", "oxttl/async-tokio"] rdf-star = ["oxrdf/rdf-star", "oxttl/rdf-star"] [dependencies] -oxrdf = { version = "0.2.0-alpha.2-dev", path = "../oxrdf" } -oxrdfxml = { version = "0.1.0-alpha.2-dev", path = "../oxrdfxml" } -oxttl = { version = "0.1.0-alpha.2-dev", path = "../oxttl" } +oxrdf = { version = "0.2.0-alpha.2", path = "../oxrdf" } +oxrdfxml = { version = "0.1.0-alpha.2", path = "../oxrdfxml" } +oxttl = { version = "0.1.0-alpha.2", path = "../oxttl" } tokio = { version = "1.29", optional = true, features = ["io-util"] } [dev-dependencies] diff --git a/lib/oxrdfxml/Cargo.toml b/lib/oxrdfxml/Cargo.toml index 6546b809..c1a6e18f 100644 --- a/lib/oxrdfxml/Cargo.toml +++ b/lib/oxrdfxml/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxrdfxml" -version = "0.1.0-alpha.2-dev" +version = "0.1.0-alpha.2" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -18,7 +18,7 @@ default = [] async-tokio = ["dep:tokio", "quick-xml/async-tokio"] [dependencies] -oxrdf = { version = "0.2.0-alpha.2-dev", path = "../oxrdf" } +oxrdf = { version = "0.2.0-alpha.2", path = "../oxrdf" } oxilangtag = "0.1" oxiri = "0.2.3-alpha.1" quick-xml = ">=0.29, <0.32" diff --git a/lib/oxttl/Cargo.toml b/lib/oxttl/Cargo.toml index 25d87b48..d18cb7e0 100644 --- a/lib/oxttl/Cargo.toml +++ b/lib/oxttl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxttl" -version = "0.1.0-alpha.2-dev" +version = "0.1.0-alpha.2" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -20,7 +20,7 @@ async-tokio = ["dep:tokio"] [dependencies] memchr = "2.5" -oxrdf = { version = "0.2.0-alpha.2-dev", path = "../oxrdf" } +oxrdf = { version = "0.2.0-alpha.2", path = "../oxrdf" } oxiri = "0.2.3-alpha.1" oxilangtag = "0.1" tokio = { version = "1.29", optional = true, features = ["io-util"] } diff --git a/lib/sparesults/Cargo.toml b/lib/sparesults/Cargo.toml index 1bfdf4ab..35d03deb 100644 --- a/lib/sparesults/Cargo.toml +++ b/lib/sparesults/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sparesults" -version = "0.2.0-alpha.2-dev" +version = "0.2.0-alpha.2" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -21,7 +21,7 @@ async-tokio = ["dep:tokio", "quick-xml/async-tokio", "json-event-parser/async-to [dependencies] json-event-parser = "0.2.0-alpha.2" memchr = "2.5" -oxrdf = { version = "0.2.0-alpha.2-dev", path = "../oxrdf" } +oxrdf = { version = "0.2.0-alpha.2", path = "../oxrdf" } quick-xml = ">=0.29, <0.32" tokio = { version = "1.29", optional = true, features = ["io-util"] } diff --git a/lib/spargebra/Cargo.toml b/lib/spargebra/Cargo.toml index 09d42f88..ac6c049b 100644 --- a/lib/spargebra/Cargo.toml +++ b/lib/spargebra/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spargebra" -version = "0.3.0-alpha.2-dev" +version = "0.3.0-alpha.2" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -24,7 +24,7 @@ peg = "0.8" rand = "0.8" oxiri = "0.2.3-alpha.1" oxilangtag = "0.1" -oxrdf = { version = "0.2.0-alpha.2-dev", path = "../oxrdf" } +oxrdf = { version = "0.2.0-alpha.2", path = "../oxrdf" } [lints] workspace = true diff --git a/lib/sparopt/Cargo.toml b/lib/sparopt/Cargo.toml index bdf55805..c0f397ab 100644 --- a/lib/sparopt/Cargo.toml +++ b/lib/sparopt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sparopt" -version = "0.1.0-alpha.2-dev" +version = "0.1.0-alpha.2" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" @@ -20,9 +20,9 @@ sep-0002 = ["spargebra/sep-0002"] sep-0006 = ["spargebra/sep-0006"] [dependencies] -oxrdf = { version = "0.2.0-alpha.2-dev", path = "../oxrdf" } +oxrdf = { version = "0.2.0-alpha.2", path = "../oxrdf" } rand = "0.8" -spargebra = { version = "0.3.0-alpha.2-dev", path = "../spargebra" } +spargebra = { version = "0.3.0-alpha.2", path = "../spargebra" } [lints] workspace = true diff --git a/oxrocksdb-sys/Cargo.toml b/oxrocksdb-sys/Cargo.toml index 892243cc..3af73776 100644 --- a/oxrocksdb-sys/Cargo.toml +++ b/oxrocksdb-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxrocksdb-sys" -version = "0.4.0-alpha.3-dev" +version = "0.4.0-alpha.3" 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 94c5bbf1..31d1f812 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pyoxigraph" -version = "0.4.0-alpha.3-dev" +version = "0.4.0-alpha.3" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md"