From ffe1a2aad163c5878a23bb50b5e72f69b9e3faed Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Fri, 11 Feb 2022 10:28:00 -0800 Subject: [PATCH] Release 0.3.1 Signed-off-by: Ana Hobden --- Cargo.lock | 35 +++++++++++++++--------------- Cargo.toml | 12 +++++----- cargo-pgx/Cargo.toml | 4 ++-- cargo-pgx/src/templates/cargo_toml | 6 ++--- 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 | 8 ++++++- 11 files changed, 53 insertions(+), 48 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fd65cbb89..91f464047 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -234,7 +234,7 @@ dependencies = [ [[package]] name = "cargo-pgx" -version = "0.3.0" +version = "0.3.1" dependencies = [ "cargo_metadata", "cargo_toml", @@ -531,9 +531,9 @@ dependencies = [ [[package]] name = "crypto-common" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683d6b536309245c849479fba3da410962a43ed8e51c26b729208ec0ac2798d0" +checksum = "a4600d695eb3f6ce1cd44e6e291adceb2cc3ab12f20a33777ecd0bf6eba34e06" dependencies = [ "generic-array", ] @@ -565,13 +565,12 @@ dependencies = [ [[package]] name = "digest" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b697d66081d42af4fba142d56918a3cb21dc8eb63372c6b85d14f44fb9c5979b" +checksum = "8cb780dce4f9a8f5c087362b3a4595936b2019e7c8b30f2c3e9a7e94e6ae9837" dependencies = [ "block-buffer", "crypto-common", - "generic-array", "subtle", ] @@ -625,9 +624,9 @@ dependencies = [ [[package]] name = "embedded-hal" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e36cfb62ff156596c892272f3015ef952fe1525e85261fa3a7f327bd6b384ab9" +checksum = "35949884794ad573cf46071e41c9b60efb0cb311e3ca01f7af807af1debc66ff" dependencies = [ "nb 0.1.3", "void", @@ -1099,9 +1098,9 @@ checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" [[package]] name = "memmap2" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe3179b85e1fd8b14447cbebadb75e45a1002f541b925f0bfec366d56a81c56d" +checksum = "057a3db23999c867821a7a59feb06a578fcb03685e983dff90daf9e7d24ac08f" dependencies = [ "libc", ] @@ -1234,9 +1233,9 @@ dependencies = [ [[package]] name = "ntapi" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44" +checksum = "c28774a7fd2fbb4f0babd8237ce554b73af68021b5f695a3cebd6c59bac0980f" dependencies = [ "winapi 0.3.9", ] @@ -1401,7 +1400,7 @@ dependencies = [ [[package]] name = "pgx" -version = "0.3.0" +version = "0.3.1" dependencies = [ "atomic-traits", "bitflags", @@ -1429,7 +1428,7 @@ dependencies = [ [[package]] name = "pgx-macros" -version = "0.3.0" +version = "0.3.1" dependencies = [ "pgx-utils", "proc-macro-crate", @@ -1442,7 +1441,7 @@ dependencies = [ [[package]] name = "pgx-parent" -version = "0.3.0" +version = "0.3.1" dependencies = [ "cargo-pgx", "pgx", @@ -1453,7 +1452,7 @@ dependencies = [ [[package]] name = "pgx-pg-sys" -version = "0.3.0" +version = "0.3.1" dependencies = [ "bindgen", "build-deps", @@ -1473,7 +1472,7 @@ dependencies = [ [[package]] name = "pgx-tests" -version = "0.3.0" +version = "0.3.1" dependencies = [ "colored", "eyre", @@ -1492,7 +1491,7 @@ dependencies = [ [[package]] name = "pgx-utils" -version = "0.3.0" +version = "0.3.1" dependencies = [ "clap 3.0.14", "color-eyre", diff --git a/Cargo.toml b/Cargo.toml index 5e5889686..f7122d534 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-parent" -version = "0.3.0" +version = "0.3.1" authors = ["ZomboDB, LLC "] edition = "2018" license = "MIT" @@ -52,8 +52,8 @@ no-default-features = true rustc-args = ["--cfg", "docsrs"] [dependencies] -cargo-pgx = { path = "cargo-pgx", version = "0.3.0" } -pgx = { path = "pgx", version = "0.3.0", default-features = false } -pgx-macros = { path = "pgx-macros", version = "0.3.0" } -pgx-pg-sys = { path = "pgx-pg-sys", version = "0.3.0", default-features = false } -pgx-tests = { path = "pgx-tests", version = "0.3.0", default-features = false } +cargo-pgx = { path = "cargo-pgx", version = "0.3.1" } +pgx = { path = "pgx", version = "0.3.1", default-features = false } +pgx-macros = { path = "pgx-macros", version = "0.3.1" } +pgx-pg-sys = { path = "pgx-pg-sys", version = "0.3.1", default-features = false } +pgx-tests = { path = "pgx-tests", version = "0.3.1", default-features = false } diff --git a/cargo-pgx/Cargo.toml b/cargo-pgx/Cargo.toml index 11760c807..2086220d5 100644 --- a/cargo-pgx/Cargo.toml +++ b/cargo-pgx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-pgx" -version = "0.3.0" +version = "0.3.1" authors = ["ZomboDB, LLC "] edition = "2018" license = "MIT" @@ -22,7 +22,7 @@ semver = "1.0.5" colored = "2.0.0" env_proxy = "0.4.1" num_cpus = "1.13.1" -pgx-utils = { path = "../pgx-utils", version = "0.3.0" } +pgx-utils = { path = "../pgx-utils", version = "0.3.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 3d011bcee..17e2aa283 100644 --- a/cargo-pgx/src/templates/cargo_toml +++ b/cargo-pgx/src/templates/cargo_toml @@ -16,11 +16,11 @@ pg14 = ["pgx/pg14", "pgx-tests/pg14" ] pg_test = [] [dependencies] -pgx = "0.3.0" -pgx-macros = "0.3.0" +pgx = "0.3.1" +pgx-macros = "0.3.1" [dev-dependencies] -pgx-tests = "0.3.0" +pgx-tests = "0.3.1" [profile.dev] panic = "unwind" diff --git a/nix/templates/default/Cargo.toml b/nix/templates/default/Cargo.toml index 25d833ea5..4c314e295 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.3.0" -pgx-macros = "0.3.0" -pgx-utils = "0.3.0" +pgx = "0.3.1" +pgx-macros = "0.3.1" +pgx-utils = "0.3.1" [dev-dependencies] -pgx-tests = "0.3.0" +pgx-tests = "0.3.1" tempfile = "3.2.0" once_cell = "1.7.2" diff --git a/pgx-macros/Cargo.toml b/pgx-macros/Cargo.toml index 0919264ff..02a13bf58 100644 --- a/pgx-macros/Cargo.toml +++ b/pgx-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-macros" -version = "0.3.0" +version = "0.3.1" authors = ["ZomboDB, LLC "] edition = "2018" license = "MIT" @@ -18,7 +18,7 @@ proc-macro = true rustc-args = ["--cfg", "docsrs"] [dependencies] -pgx-utils = { path = "../pgx-utils", version = "0.3.0" } +pgx-utils = { path = "../pgx-utils", version = "0.3.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 b16e33382..c9cc5beee 100644 --- a/pgx-pg-sys/Cargo.toml +++ b/pgx-pg-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-pg-sys" -version = "0.3.0" +version = "0.3.1" authors = ["ZomboDB, LLC "] edition = "2018" license = "MIT" @@ -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.3.0" } +pgx-macros = { path = "../pgx-macros/", version = "0.3.1" } [build-dependencies] bindgen = "0.59.2" build-deps = "0.1.4" colored = "2.0.0" num_cpus = "1.13.1" -pgx-utils = { path = "../pgx-utils/", version = "0.3.0" } +pgx-utils = { path = "../pgx-utils/", version = "0.3.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 342148a1f..75509f74a 100644 --- a/pgx-tests/Cargo.toml +++ b/pgx-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-tests" -version = "0.3.0" +version = "0.3.1" authors = ["ZomboDB, LLC "] edition = "2018" license = "MIT" @@ -30,9 +30,9 @@ no-default-features = true colored = "2.0.0" lazy_static = "1.4.0" libc = "0.2.117" -pgx = { path = "../pgx", default-features = false, version= "0.3.0" } -pgx-macros = { path = "../pgx-macros", version= "0.3.0" } -pgx-utils = { path = "../pgx-utils", version= "0.3.0" } +pgx = { path = "../pgx", default-features = false, version= "0.3.1" } +pgx-macros = { path = "../pgx-macros", version= "0.3.1" } +pgx-utils = { path = "../pgx-utils", version= "0.3.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 f3b3b4f21..6564685f6 100644 --- a/pgx-utils/Cargo.toml +++ b/pgx-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-utils" -version = "0.3.0" +version = "0.3.1" authors = ["ZomboDB, LLC "] edition = "2018" license = "MIT" diff --git a/pgx/Cargo.toml b/pgx/Cargo.toml index f969cbc09..4afd9122c 100644 --- a/pgx/Cargo.toml +++ b/pgx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx" -version = "0.3.0" +version = "0.3.1" authors = ["ZomboDB, LLC "] edition = "2018" license = "MIT" @@ -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.3.0" } -pgx-pg-sys = { path = "../pgx-pg-sys", version = "0.3.0" } -pgx-utils = { path = "../pgx-utils/", version = "0.3.0" } +pgx-macros = { path = "../pgx-macros/", version = "0.3.1" } +pgx-pg-sys = { path = "../pgx-pg-sys", version = "0.3.1" } +pgx-utils = { path = "../pgx-utils/", version = "0.3.1" } serde = { version = "1.0.136", features = [ "derive" ] } serde_cbor = "0.11.2" serde_json = "1.0.78" diff --git a/update-versions.sh b/update-versions.sh index 3c3745cca..fc3bab53a 100755 --- a/update-versions.sh +++ b/update-versions.sh @@ -54,4 +54,10 @@ for cargo_toml in ${CARGO_TOMLS_TO_BUMP[@]}; do sed -i'' -E "s/(^version = \")[0-9]+\.[0-9]+\.[0-9]+(\"$)/\1${VERSION}\2/" ${cargo_toml} done -cargo generate-lockfile \ No newline at end of file +cargo generate-lockfile + +for example in ./pgx-examples/*/; do + pushd ${example} + cargo generate-lockfile + popd +done \ No newline at end of file