From 0a473d28899920492a7c669cf7a32df8a755ebf1 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Fri, 25 Mar 2022 16:13:35 -0700 Subject: [PATCH] Release 0.4.1 (#508) Signed-off-by: Ana Hobden --- Cargo.lock | 12 ++++++------ cargo-pgx/Cargo.toml | 4 ++-- cargo-pgx/src/templates/cargo_toml | 4 ++-- nix/templates/default/Cargo.toml | 8 ++++---- pgx-macros/Cargo.toml | 4 ++-- pgx-pg-sys/Cargo.toml | 6 +++--- pgx-tests/Cargo.toml | 8 ++++---- pgx-utils/Cargo.toml | 2 +- pgx/Cargo.toml | 8 ++++---- update-versions.sh | 6 ------ 10 files changed, 28 insertions(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3f98104b5..639a3375f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -280,7 +280,7 @@ dependencies = [ [[package]] name = "cargo-pgx" -version = "0.4.0" +version = "0.4.1" dependencies = [ "atty", "cargo_metadata", @@ -1429,7 +1429,7 @@ dependencies = [ [[package]] name = "pgx" -version = "0.4.0" +version = "0.4.1" dependencies = [ "atomic-traits", "bitflags", @@ -1456,7 +1456,7 @@ dependencies = [ [[package]] name = "pgx-macros" -version = "0.4.0" +version = "0.4.1" dependencies = [ "pgx-utils", "proc-macro-crate", @@ -1469,7 +1469,7 @@ dependencies = [ [[package]] name = "pgx-pg-sys" -version = "0.4.0" +version = "0.4.1" dependencies = [ "bindgen", "build-deps", @@ -1489,7 +1489,7 @@ dependencies = [ [[package]] name = "pgx-tests" -version = "0.4.0" +version = "0.4.1" dependencies = [ "eyre", "libc", @@ -1508,7 +1508,7 @@ dependencies = [ [[package]] name = "pgx-utils" -version = "0.4.0" +version = "0.4.1" dependencies = [ "atty", "convert_case", diff --git a/cargo-pgx/Cargo.toml b/cargo-pgx/Cargo.toml index 99548648b..a8c97af80 100644 --- a/cargo-pgx/Cargo.toml +++ b/cargo-pgx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-pgx" -version = "0.4.0" +version = "0.4.1" authors = ["ZomboDB, LLC "] license = "MIT" description = "Cargo subcommand for 'pgx' to make Postgres extension development easy" @@ -23,7 +23,7 @@ semver = "1.0.6" owo-colors = { version = "3.2.0", features = [ "supports-colors" ] } env_proxy = "0.4.1" num_cpus = "1.13.1" -pgx-utils = { path = "../pgx-utils", version = "0.4.0" } +pgx-utils = { path = "../pgx-utils", version = "0.4.1" } proc-macro2 = { version = "1.0.36", features = [ "span-locations" ] } quote = "1.0.15" rayon = "1.5.1" diff --git a/cargo-pgx/src/templates/cargo_toml b/cargo-pgx/src/templates/cargo_toml index 08487cf49..83c5c3bf0 100644 --- a/cargo-pgx/src/templates/cargo_toml +++ b/cargo-pgx/src/templates/cargo_toml @@ -16,10 +16,10 @@ pg14 = ["pgx/pg14", "pgx-tests/pg14" ] pg_test = [] [dependencies] -pgx = "0.4.0" +pgx = "0.4.1" [dev-dependencies] -pgx-tests = "0.4.0" +pgx-tests = "0.4.1" [profile.dev] panic = "unwind" diff --git a/nix/templates/default/Cargo.toml b/nix/templates/default/Cargo.toml index 23a96954a..b458b2760 100644 --- a/nix/templates/default/Cargo.toml +++ b/nix/templates/default/Cargo.toml @@ -16,13 +16,13 @@ pg14 = ["pgx/pg14", "pgx-tests/pg14" ] pg_test = [] [dependencies] -pgx = "0.4.0" -pgx-macros = "0.4.0" -pgx-utils = "0.4.0" +pgx = "0.4.1" +pgx-macros = "0.4.1" +pgx-utils = "0.4.1" [dev-dependencies] -pgx-tests = "0.4.0" +pgx-tests = "0.4.1" tempfile = "3.2.0" once_cell = "1.7.2" diff --git a/pgx-macros/Cargo.toml b/pgx-macros/Cargo.toml index 9f704c5ee..db5f26b09 100644 --- a/pgx-macros/Cargo.toml +++ b/pgx-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-macros" -version = "0.4.0" +version = "0.4.1" authors = ["ZomboDB, LLC "] license = "MIT" description = "Proc Macros for 'pgx'" @@ -18,7 +18,7 @@ proc-macro = true rustc-args = ["--cfg", "docsrs"] [dependencies] -pgx-utils = { path = "../pgx-utils", version = "0.4.0" } +pgx-utils = { path = "../pgx-utils", version = "0.4.1" } proc-macro2 = "1.0.36" quote = "1.0.15" syn = { version = "1.0.86", features = [ "extra-traits", "full", "fold", "parsing" ] } diff --git a/pgx-pg-sys/Cargo.toml b/pgx-pg-sys/Cargo.toml index b32364516..28c2be221 100644 --- a/pgx-pg-sys/Cargo.toml +++ b/pgx-pg-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-pg-sys" -version = "0.4.0" +version = "0.4.1" authors = ["ZomboDB, LLC "] license = "MIT" description = "Generated Rust bindings for Postgres internals, for use with 'pgx'" @@ -29,14 +29,14 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] memoffset = "0.6.5" once_cell = "1.9.0" -pgx-macros = { path = "../pgx-macros/", version = "0.4.0" } +pgx-macros = { path = "../pgx-macros/", version = "0.4.1" } [build-dependencies] bindgen = { version = "0.59.2", default-features = false, features = ["runtime"] } build-deps = "0.1.4" owo-colors = "3.2.0" num_cpus = "1.13.1" -pgx-utils = { path = "../pgx-utils/", version = "0.4.0" } +pgx-utils = { path = "../pgx-utils/", version = "0.4.1" } proc-macro2 = "1.0.36" quote = "1.0.15" rayon = "1.5.1" diff --git a/pgx-tests/Cargo.toml b/pgx-tests/Cargo.toml index c4fcd36a4..f682143f9 100644 --- a/pgx-tests/Cargo.toml +++ b/pgx-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-tests" -version = "0.4.0" +version = "0.4.1" authors = ["ZomboDB, LLC "] license = "MIT" description = "Test framework for 'pgx'-based Postgres extensions" @@ -34,9 +34,9 @@ rustdoc-args = ["--cfg", "docsrs"] owo-colors = "3.2.0" once_cell = "1.9.0" libc = "0.2.119" -pgx = { path = "../pgx", default-features = false, version= "0.4.0" } -pgx-macros = { path = "../pgx-macros", version= "0.4.0" } -pgx-utils = { path = "../pgx-utils", version= "0.4.0" } +pgx = { path = "../pgx", default-features = false, version= "0.4.1" } +pgx-macros = { path = "../pgx-macros", version= "0.4.1" } +pgx-utils = { path = "../pgx-utils", version= "0.4.1" } postgres = "0.19.2" regex = "1.5.4" serde = "1.0.136" diff --git a/pgx-utils/Cargo.toml b/pgx-utils/Cargo.toml index 87b4bcedf..767321c28 100644 --- a/pgx-utils/Cargo.toml +++ b/pgx-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-utils" -version = "0.4.0" +version = "0.4.1" authors = ["ZomboDB, LLC "] license = "MIT" description = "Utility functions for 'pgx'" diff --git a/pgx/Cargo.toml b/pgx/Cargo.toml index 33880d79f..a1a2f2a25 100644 --- a/pgx/Cargo.toml +++ b/pgx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx" -version = "0.4.0" +version = "0.4.1" authors = ["ZomboDB, LLC "] license = "MIT" description = "pgx: A Rust framework for creating Postgres extensions" @@ -34,9 +34,9 @@ cstr_core = "0.2.5" enum-primitive-derive = "0.2.2" num-traits = "0.2.14" seahash = "4.1.0" -pgx-macros = { path = "../pgx-macros/", version = "0.4.0" } -pgx-pg-sys = { path = "../pgx-pg-sys", version = "0.4.0" } -pgx-utils = { path = "../pgx-utils/", version = "0.4.0" } +pgx-macros = { path = "../pgx-macros/", version = "0.4.1" } +pgx-pg-sys = { path = "../pgx-pg-sys", version = "0.4.1" } +pgx-utils = { path = "../pgx-utils/", version = "0.4.1" } serde = { version = "1.0.136", features = [ "derive" ] } serde_cbor = "0.11.2" serde_json = "1.0.79" diff --git a/update-versions.sh b/update-versions.sh index 55b49d01c..4b2f42b96 100755 --- a/update-versions.sh +++ b/update-versions.sh @@ -61,10 +61,4 @@ done cargo generate-lockfile -for example in ./pgx-examples/*/; do - pushd ${example} - cargo generate-lockfile - popd -done - PGX_PG_SYS_GENERATE_BINDINGS_FOR_RELEASE=1 cargo test --no-run --workspace --no-default-features --features "pg14"