From c446b1287dedba122b941d8d1d4ae6290aa86d5c Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Tue, 13 Aug 2024 18:31:41 +0000 Subject: [PATCH] chore: prepare the next notable release of 0.19.0 To the best of my knowledge and testing (:laughing:) the version ranges on subcrates should be fine since we did not incorporate any major API changes since the 0.18.x line. This also includes a little script to help me release these things in the right order :tada: --- crates/aws/Cargo.toml | 4 ++-- crates/azure/Cargo.toml | 4 ++-- crates/catalog-glue/Cargo.toml | 4 ++-- crates/core/Cargo.toml | 2 +- crates/deltalake/Cargo.toml | 14 +++++++------- crates/gcp/Cargo.toml | 4 ++-- crates/hdfs/Cargo.toml | 4 ++-- crates/mount/Cargo.toml | 4 ++-- crates/test/Cargo.toml | 4 ++-- dev/publish.sh | 11 +++++++++++ 10 files changed, 33 insertions(+), 22 deletions(-) create mode 100755 dev/publish.sh diff --git a/crates/aws/Cargo.toml b/crates/aws/Cargo.toml index e6913a2162..c47065dce4 100644 --- a/crates/aws/Cargo.toml +++ b/crates/aws/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltalake-aws" -version = "0.1.2" +version = "0.1.4" authors.workspace = true keywords.workspace = true readme.workspace = true @@ -12,7 +12,7 @@ repository.workspace = true rust-version.workspace = true [dependencies] -deltalake-core = { version = ">=0.17.0, <0.19.0", path = "../core" } +deltalake-core = { version = ">=0.17.0, <0.20.0", path = "../core" } aws-smithy-runtime-api = { version="1.1.7" } aws-smithy-runtime = { version="1.1.7", optional = true} aws-credential-types = { version="1.1.7", features = ["hardcoded-credentials"]} diff --git a/crates/azure/Cargo.toml b/crates/azure/Cargo.toml index 574684627f..955c3f827b 100644 --- a/crates/azure/Cargo.toml +++ b/crates/azure/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltalake-azure" -version = "0.1.3" +version = "0.1.4" authors.workspace = true keywords.workspace = true readme.workspace = true @@ -12,7 +12,7 @@ repository.workspace = true rust-version.workspace = true [dependencies] -deltalake-core = { version = ">=0.17.0, <0.19.0", path = "../core" } +deltalake-core = { version = ">=0.17.0, <0.20.0", path = "../core" } lazy_static = "1" # workspace depenndecies diff --git a/crates/catalog-glue/Cargo.toml b/crates/catalog-glue/Cargo.toml index c757563c1b..74e927bfc4 100644 --- a/crates/catalog-glue/Cargo.toml +++ b/crates/catalog-glue/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltalake-catalog-glue" -version = "0.1.0" +version = "0.2.0" authors.workspace = true keywords.workspace = true readme.workspace = true @@ -15,7 +15,7 @@ rust-version.workspace = true async-trait = { workspace = true } aws-config = "1" aws-sdk-glue = "1" -deltalake-core = { version = ">=0.17.0, <0.19.0", path = "../core" } +deltalake-core = { version = ">=0.17.0, <0.20.0", path = "../core" } # This can depend on a lowest common denominator of core once that's released # deltalake_core = { version = "0.17.0" } thiserror = { workspace = true } diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index 541b91a59c..8507bed33a 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltalake-core" -version = "0.18.3" +version = "0.19.0" authors.workspace = true keywords.workspace = true readme.workspace = true diff --git a/crates/deltalake/Cargo.toml b/crates/deltalake/Cargo.toml index d571e47dc7..de56bf4283 100644 --- a/crates/deltalake/Cargo.toml +++ b/crates/deltalake/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltalake" -version = "0.18.3" +version = "0.19.0" authors.workspace = true keywords.workspace = true readme.workspace = true @@ -16,12 +16,12 @@ rust-version.workspace = true features = ["azure", "datafusion", "gcs", "hdfs", "json", "python", "s3", "unity-experimental"] [dependencies] -deltalake-core = { version = "~0.18.0", path = "../core" } -deltalake-aws = { version = "0.1.1", path = "../aws", default-features = false, optional = true } -deltalake-azure = { version = "0.1.1", path = "../azure", optional = true } -deltalake-gcp = { version = "0.2.1", path = "../gcp", optional = true } -deltalake-hdfs = { version = "0.1.0", path = "../hdfs", optional = true } -deltalake-catalog-glue = { version = "0.1.0", path = "../catalog-glue", optional = true } +deltalake-core = { version = "0.19.0", path = "../core" } +deltalake-aws = { version = "0.1.4", path = "../aws", default-features = false, optional = true } +deltalake-azure = { version = "0.1.4", path = "../azure", optional = true } +deltalake-gcp = { version = "0.2.2", path = "../gcp", optional = true } +deltalake-hdfs = { version = "0.2.0", path = "../hdfs", optional = true } +deltalake-catalog-glue = { version = "0.2.0", path = "../catalog-glue", optional = true } [features] # All of these features are just reflected into the core crate until that diff --git a/crates/gcp/Cargo.toml b/crates/gcp/Cargo.toml index 8defc92c70..f3f03724d8 100644 --- a/crates/gcp/Cargo.toml +++ b/crates/gcp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltalake-gcp" -version = "0.2.2" +version = "0.2.3" authors.workspace = true keywords.workspace = true readme.workspace = true @@ -12,7 +12,7 @@ repository.workspace = true rust-version.workspace = true [dependencies] -deltalake-core = { version = ">=0.17.0, <0.19.0", path = "../core" } +deltalake-core = { version = ">=0.17.0, <0.20.0", path = "../core" } lazy_static = "1" # workspace depenndecies diff --git a/crates/hdfs/Cargo.toml b/crates/hdfs/Cargo.toml index 9d9eade902..4b6dcabe5b 100644 --- a/crates/hdfs/Cargo.toml +++ b/crates/hdfs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltalake-hdfs" -version = "0.1.0" +version = "0.2.0" authors.workspace = true keywords.workspace = true readme.workspace = true @@ -12,7 +12,7 @@ repository.workspace = true rust-version.workspace = true [dependencies] -deltalake-core = { version = ">=0.17.0, <0.19.0", path = "../core" } +deltalake-core = { version = ">=0.17.0, <0.20.0", path = "../core" } hdfs-native-object-store = "0.11" # workspace dependecies diff --git a/crates/mount/Cargo.toml b/crates/mount/Cargo.toml index a111e8b16e..39ea1f70bc 100644 --- a/crates/mount/Cargo.toml +++ b/crates/mount/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltalake-mount" -version = "0.1.0" +version = "0.2.0" authors.workspace = true keywords.workspace = true readme.workspace = true @@ -12,7 +12,7 @@ repository.workspace = true rust-version.workspace = true [dependencies] -deltalake-core = { version = ">=0.17.0, <0.19.0", path = "../core", features = [ +deltalake-core = { version = ">=0.17.0, <0.20.0", path = "../core", features = [ "datafusion", ] } lazy_static = "1" diff --git a/crates/test/Cargo.toml b/crates/test/Cargo.toml index b4fa816176..20fb238a5f 100644 --- a/crates/test/Cargo.toml +++ b/crates/test/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "deltalake-test" -version = "0.1.0" +version = "0.2.0" edition = "2021" publish = false [dependencies] bytes = { workspace = true } chrono = { workspace = true, default-features = false, features = ["clock"] } -deltalake-core = { version = ">=0.17.0, <0.19.0", path = "../core" } +deltalake-core = { version = ">=0.17.0, <0.20.0", path = "../core" } dotenvy = "0" fs_extra = "1.3.0" futures = { version = "0.3" } diff --git a/dev/publish.sh b/dev/publish.sh new file mode 100755 index 0000000000..064caa191f --- /dev/null +++ b/dev/publish.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -xe + +for crate in "mount" "catalog-glue" "hdfs" "azure" "aws" "gcp" "core" "deltalake"; do + echo ">> Dry-run publishing ${crate}" + (cd crates/${crate} && \ + cargo publish \ + --allow-dirty \ + --dry-run) +done;