From b2c02979100ef987eb9cf5bc3afd1240ae116001 Mon Sep 17 00:00:00 2001 From: Wendell Smith Date: Wed, 6 Nov 2024 15:06:39 -0500 Subject: [PATCH] chore: release 0.1.0 (#295) * chore(version): bumped version number with 'python ci/version.py set 0.1.0' * chore(docs): update repository link to refer to this repo * chore(docs): update substrait compatibility matrix --- Cargo.lock | 10 +++++----- README.md | 22 ++++++++++++---------- c/Cargo.toml | 4 ++-- ci/version | 2 +- ci/version-diff-template | 4 ++-- derive/Cargo.toml | 4 ++-- py/Cargo.toml | 4 ++-- py/pyproject.toml | 2 +- rs/Cargo.toml | 6 +++--- rs/README.md | 4 ++-- tests/Cargo.toml | 4 ++-- 11 files changed, 34 insertions(+), 32 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 239dee4c..cdf35c00 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1391,7 +1391,7 @@ dependencies = [ [[package]] name = "substrait-validator" -version = "0.0.11" +version = "0.1.0" dependencies = [ "antlr-rust", "base64", @@ -1424,7 +1424,7 @@ dependencies = [ [[package]] name = "substrait-validator-c" -version = "0.0.11" +version = "0.1.0" dependencies = [ "cbindgen", "libc", @@ -1435,7 +1435,7 @@ dependencies = [ [[package]] name = "substrait-validator-derive" -version = "0.0.11" +version = "0.1.0" dependencies = [ "heck 0.5.0", "quote", @@ -1444,7 +1444,7 @@ dependencies = [ [[package]] name = "substrait-validator-py" -version = "0.0.11" +version = "0.1.0" dependencies = [ "dunce", "prost-build", @@ -1497,7 +1497,7 @@ dependencies = [ [[package]] name = "test-runner" -version = "0.0.11" +version = "0.1.0" dependencies = [ "glob", "prost-build", diff --git a/README.md b/README.md index 226c4123..cc5b059e 100644 --- a/README.md +++ b/README.md @@ -25,16 +25,18 @@ Substrait versions. Whenever Substrait makes a breaking change that affects validation, the validator will be updated accordingly and drop support for the older version. Refer to the table below for the version compatibility matrix. -| Substrait... | ... is supported by validator ... | -| -------------- | ------------------------------------ | -| 0.20.x | 0.0.11 (current version) | -| 0.19.x | 0.0.10 | -| 0.18.x | 0.0.9 | -| 0.9.x - 0.17.x | 0.0.8 | -| 0.7.x - 0.8.x | 0.0.7 | -| 0.5.x - 0.6.x | 0.0.6 | -| 0.3.x - 0.4.x | 0.0.4 - 0.0.5 | -| older | try 0.0.1, but your mileage may vary | +| Substrait... | ... is supported by validator ... | +| --------------- | ---------------------------------------------- | +| 0.57.x | 0.1.0 (current version) | +| 0.21.x - 0.56.x | try 0.0.11 or 0.1.0, but your mileage may vary | +| 0.20.x | 0.0.11 | +| 0.19.x | 0.0.10 | +| 0.18.x | 0.0.9 | +| 0.9.x - 0.17.x | 0.0.8 | +| 0.7.x - 0.8.x | 0.0.7 | +| 0.5.x - 0.6.x | 0.0.6 | +| 0.3.x - 0.4.x | 0.0.4 - 0.0.5 | +| older | try 0.0.1, but your mileage may vary | As Substrait and the validator stabilize and breaking changes become less frequent, the intention is to support more versions within a single validator diff --git a/c/Cargo.toml b/c/Cargo.toml index d8ad49bd..2372d0d0 100644 --- a/c/Cargo.toml +++ b/c/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "substrait-validator-c" -version = "0.0.11" +version = "0.1.0" edition = "2021" license = "Apache-2.0" @@ -12,7 +12,7 @@ doc = false cbindgen = "0.27.0" [dependencies] -substrait-validator = { path = "../rs", version = "0.0.11" } +substrait-validator = { path = "../rs", version = "0.1.0" } libc = "0.2" thiserror = "1.0" once_cell = "1.19" diff --git a/ci/version b/ci/version index 58682af4..6c6aa7cb 100644 --- a/ci/version +++ b/ci/version @@ -1 +1 @@ -0.0.11 \ No newline at end of file +0.1.0 \ No newline at end of file diff --git a/ci/version-diff-template b/ci/version-diff-template index 2a00ed5c..7312c163 100644 --- a/ci/version-diff-template +++ b/ci/version-diff-template @@ -25,7 +25,7 @@ index 1cf1f7e..482c127 100644 +++ b/derive/Cargo.toml @@ -4,7 +4,7 @@ description = "Procedural macros for substrait-validator" homepage = "https://substrait.io/" - repository = "https://github.com/substrait-io/substrait" + repository = "https://github.com/substrait-io/substrait-validator" readme = "README.md" -version = "{frm}" +version = "{to}" @@ -72,7 +72,7 @@ index 4144f94..791db63 100644 +++ b/rs/Cargo.toml @@ -4,7 +4,7 @@ description = "Substrait validator" homepage = "https://substrait.io/" - repository = "https://github.com/substrait-io/substrait" + repository = "https://github.com/substrait-io/substrait-validator" readme = "README.md" -version = "{frm}" +version = "{to}" diff --git a/derive/Cargo.toml b/derive/Cargo.toml index 1cf1f7eb..78cefbda 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -2,9 +2,9 @@ name = "substrait-validator-derive" description = "Procedural macros for substrait-validator" homepage = "https://substrait.io/" -repository = "https://github.com/substrait-io/substrait" +repository = "https://github.com/substrait-io/substrait-validator" readme = "README.md" -version = "0.0.11" +version = "0.1.0" edition = "2021" license = "Apache-2.0" diff --git a/py/Cargo.toml b/py/Cargo.toml index d28af208..a5a88ecb 100644 --- a/py/Cargo.toml +++ b/py/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "substrait-validator-py" -version = "0.0.11" +version = "0.1.0" edition = "2018" license = "Apache-2.0" include = [ @@ -29,7 +29,7 @@ name = "substrait_validator" doc = false [dependencies] -substrait-validator = { path = "../rs", version = "0.0.11" } +substrait-validator = { path = "../rs", version = "0.1.0" } pyo3 = { version = "0.22.5", features = ["extension-module"] } [build-dependencies] diff --git a/py/pyproject.toml b/py/pyproject.toml index 6e602e6d..2bd56ed9 100644 --- a/py/pyproject.toml +++ b/py/pyproject.toml @@ -5,7 +5,7 @@ backend-path = ["."] [project] name = "substrait-validator" -version = "0.0.11" +version = "0.1.0" description = "Validator for Substrait query plans" readme = "README.md" license = { file = "LICENSE" } diff --git a/rs/Cargo.toml b/rs/Cargo.toml index dfd6e9c7..67b86f34 100644 --- a/rs/Cargo.toml +++ b/rs/Cargo.toml @@ -2,9 +2,9 @@ name = "substrait-validator" description = "Substrait validator" homepage = "https://substrait.io/" -repository = "https://github.com/substrait-io/substrait" +repository = "https://github.com/substrait-io/substrait-validator" readme = "README.md" -version = "0.0.11" +version = "0.1.0" edition = "2021" license = "Apache-2.0" include = ["src", "build.rs", "README.md"] @@ -24,7 +24,7 @@ prost-types = "0.13.3" # Prost doesn't generate any introspection stuff, so we hack that stuff in with # our own procedural macros. -substrait-validator-derive = { path = "../derive", version = "0.0.11" } +substrait-validator-derive = { path = "../derive", version = "0.1.0" } # Google/protobuf has a funny idea about case conventions (it converts them all # over the place) and prost remaps to Rust's conventions to boot. So, to diff --git a/rs/README.md b/rs/README.md index 14f82167..5e85b99c 100644 --- a/rs/README.md +++ b/rs/README.md @@ -6,7 +6,7 @@ plans. ``` [dependencies] -substrait-validator = "0.0.11" +substrait-validator = "0.1.0" ``` YAML file resolution @@ -20,7 +20,7 @@ dependency: ``` [dependencies] -substrait-validator = { version = "0.0.11", features = ["curl"] } +substrait-validator = { version = "0.1.0", features = ["curl"] } ``` This adds the `substrait_validator::Config::add_curl_yaml_uri_resolver()` diff --git a/tests/Cargo.toml b/tests/Cargo.toml index cf1ba039..4dc14d0c 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-runner" -version = "0.0.11" +version = "0.1.0" edition = "2018" license = "Apache-2.0" default-run = "runner" @@ -14,7 +14,7 @@ name = "find_protoc" path = "src/find_protoc.rs" [dependencies] -substrait-validator = { path = "../rs", version = "0.0.11" } +substrait-validator = { path = "../rs", version = "0.1.0" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" walkdir = "2"