Skip to content

Commit

Permalink
bump to v0.10.1 and upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
eeeebbbbrrrr committed Sep 14, 2023
1 parent 7ca9174 commit 864a2dd
Show file tree
Hide file tree
Showing 12 changed files with 138 additions and 112 deletions.
175 changes: 100 additions & 75 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions cargo-pgrx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "cargo-pgrx"
version = "0.10.0"
version = "0.10.1"
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
license = "MIT"
description = "Cargo subcommand for 'pgrx' to make Postgres extension development easy"
Expand All @@ -33,10 +33,10 @@ semver = "1.0.18"
owo-colors = { version = "3.5.0", features = [ "supports-colors" ] }
env_proxy = "0.4.1"
num_cpus = "1.16.0"
pgrx-pg-config = { path = "../pgrx-pg-config", version = "=0.10.0" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0" }
prettyplease = "0.2.14"
proc-macro2 = { version = "1.0.66", features = [ "span-locations" ] }
pgrx-pg-config = { path = "../pgrx-pg-config", version = "=0.10.1" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.1" }
prettyplease = "0.2.15"
proc-macro2 = { version = "1.0.67", features = [ "span-locations" ] }
quote = "1.0.33"
rayon = "1.7.0"
regex = "1.9.5"
Expand Down
4 changes: 2 additions & 2 deletions cargo-pgrx/src/templates/cargo_toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ pg16 = ["pgrx/pg16", "pgrx-tests/pg16" ]
pg_test = []

[dependencies]
pgrx = "=0.10.0"
pgrx = "=0.10.1"

[dev-dependencies]
pgrx-tests = "=0.10.0"
pgrx-tests = "=0.10.1"

[profile.dev]
panic = "unwind"
Expand Down
4 changes: 2 additions & 2 deletions nix/templates/default/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ pg16 = ["pgrx/pg16", "pgrx-tests/pg16" ]
pg_test = []

[dependencies]
pgrx = "=0.10.0"
pgrx = "=0.10.1"

[dev-dependencies]
pgrx-tests = "=0.10.0"
pgrx-tests = "=0.10.1"
tempfile = "3.2.0"
once_cell = "1.7.2"

Expand Down
6 changes: 3 additions & 3 deletions pgrx-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx-macros"
version = "0.10.0"
version = "0.10.1"
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
license = "MIT"
description = "Proc Macros for 'pgrx'"
Expand All @@ -31,8 +31,8 @@ rustc-args = ["--cfg", "docsrs"]
no-schema-generation = ["pgrx-sql-entity-graph/no-schema-generation"]

[dependencies]
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0" }
proc-macro2 = "1.0.66"
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.1" }
proc-macro2 = "1.0.67"
quote = "1.0.33"
syn = { version = "1.0.109", features = [ "extra-traits", "full", "fold", "parsing" ] }

Expand Down
4 changes: 2 additions & 2 deletions pgrx-pg-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx-pg-config"
version = "0.10.0"
version = "0.10.1"
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
license = "MIT"
description = "A Postgres pg_config wrapper for 'pgrx'"
Expand All @@ -30,6 +30,6 @@ owo-colors = "3.5.0"
serde = { version = "1.0", features = [ "derive" ] }
serde_derive = "1.0"
serde_json = "1.0"
toml = "0.7.6"
toml = "0.8.0"
url = "2.4.1"
cargo_toml = "0.15.3"
12 changes: 6 additions & 6 deletions pgrx-pg-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx-pg-sys"
version = "0.10.0"
version = "0.10.1"
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
license = "MIT"
description = "Generated Rust bindings for Postgres internals, for use with 'pgrx'"
Expand Down Expand Up @@ -40,17 +40,17 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
memoffset = "0.9.0"
pgrx-macros = { path = "../pgrx-macros/", version = "=0.10.0" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph/", version = "=0.10.0" }
pgrx-macros = { path = "../pgrx-macros/", version = "=0.10.1" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph/", version = "=0.10.1" }
serde = { version = "1.0", features = [ "derive" ] } # impls on pub types
# polyfill until #![feature(strict_provenance)] stabilizes
sptr = "0.3"
libc = "0.2"

[build-dependencies]
bindgen = { version = "0.66.1", default-features = false, features = ["runtime"] }
pgrx-pg-config= { path = "../pgrx-pg-config/", version = "=0.10.0" }
proc-macro2 = "1.0.66"
bindgen = { version = "0.68.1", default-features = false, features = ["runtime"] }
pgrx-pg-config= { path = "../pgrx-pg-config/", version = "=0.10.1" }
proc-macro2 = "1.0.67"
quote = "1.0.33"
syn = { version = "1.0.109", features = [ "extra-traits", "full", "fold", "parsing" ] }
eyre = "0.6.8"
Expand Down
4 changes: 2 additions & 2 deletions pgrx-sql-entity-graph/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx-sql-entity-graph"
version = "0.10.0"
version = "0.10.1"
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
license = "MIT"
description = "Sql Entity Graph for `pgrx`"
Expand All @@ -28,7 +28,7 @@ no-schema-generation = []
convert_case = "0.6.0"
eyre = "0.6.8"
petgraph = "0.6.4"
proc-macro2 = { version = "1.0.66", features = [ "span-locations" ] }
proc-macro2 = { version = "1.0.67", features = [ "span-locations" ] }
quote = "1.0.33"
syn = { version = "1.0.109", features = [ "extra-traits", "full", "fold", "parsing" ] }
unescape = "0.1.0"
Expand Down
12 changes: 6 additions & 6 deletions pgrx-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx-tests"
version = "0.10.0"
version = "0.10.1"
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
license = "MIT"
description = "Test framework for 'pgrx'-based Postgres extensions"
Expand Down Expand Up @@ -48,15 +48,15 @@ rustdoc-args = ["--cfg", "docsrs"]
clap-cargo = "0.11.0"
owo-colors = "3.5.0"
once_cell = "1.18.0"
libc = "0.2.147"
pgrx-macros = { path = "../pgrx-macros", version = "=0.10.0" }
pgrx-pg-config = { path = "../pgrx-pg-config", version = "=0.10.0" }
libc = "0.2.148"
pgrx-macros = { path = "../pgrx-macros", version = "=0.10.1" }
pgrx-pg-config = { path = "../pgrx-pg-config", version = "=0.10.1" }
postgres = "0.19.7"
proptest = { version = "1", optional = true }
regex = "1.9.5"
serde = "1.0"
serde_json = "1.0"
sysinfo = "0.29.9"
sysinfo = "0.29.10"
eyre = "0.6.8"
thiserror = "1.0"
rand = "0.8.5"
Expand All @@ -68,4 +68,4 @@ trybuild = "1"
[dependencies.pgrx]
path = "../pgrx"
default-features = false
version = "=0.10.0"
version = "=0.10.1"
2 changes: 1 addition & 1 deletion pgrx-version-updater/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ description = "Standalone tool to update PGRX Cargo.toml versions and dependenci
[dependencies]
clap = { version = "4.4.2", features = [ "env", "derive" ] }
owo-colors = "3.5.0"
toml_edit = { version = "0.19.14" }
toml_edit = { version = "0.20.0" }
walkdir = "2"
12 changes: 6 additions & 6 deletions pgrx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx"
version = "0.10.0"
version = "0.10.1"
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
license = "MIT"
description = "pgrx: A Rust framework for creating Postgres extensions"
Expand Down Expand Up @@ -44,15 +44,15 @@ no-default-features = true
rustc-args = ["--cfg", "docsrs"]

[dependencies]
pgrx-macros = { path = "../pgrx-macros", version = "=0.10.0" }
pgrx-pg-sys = { path = "../pgrx-pg-sys", version = "=0.10.0" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0" }
pgrx-macros = { path = "../pgrx-macros", version = "=0.10.1" }
pgrx-pg-sys = { path = "../pgrx-pg-sys", version = "=0.10.1" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.1" }

# used to internally impl things
once_cell = "1.18.0" # polyfill until std::lazy::OnceCell stabilizes
seq-macro = "0.3" # impls loops in macros
uuid = { version = "1.4.1", features = [ "v4" ] } # PgLwLock and shmem
enum-map = "2.6.1"
enum-map = "2.6.3"

# error handling and logging
thiserror = "1.0"
Expand All @@ -62,7 +62,7 @@ atomic-traits = "0.3.0" # PgAtomic and shmem init
bitflags = "2.4.0" # BackgroundWorker
bitvec = "1.0" # processing array nullbitmaps
heapless = "0.7.16" # shmem and PgLwLock
libc = "0.2.147" # FFI type compat
libc = "0.2.148" # FFI type compat
seahash = "4.1.0" # derive(PostgresHash)
serde = { version = "1.0", features = [ "derive" ] } # impls on pub types
serde_cbor = "0.11.2" # derive(PostgresType)
Expand Down
5 changes: 3 additions & 2 deletions upgrade-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@


# requires: "cargo install cargo-edit" from https://github.com/killercup/cargo-edit
EXCLUSIONS="--exclude syn --exclude cargo_metadata --exclude clap --exclude clap-cargo"
cargo update
cargo upgrade --incompatible --exclude syn
cargo upgrade --incompatible $EXCLUSIONS
cargo generate-lockfile

# examples are their own independent crates, so we have to do them individually.
for folder in pgrx-examples/*; do
if [ -d "$folder" ]; then
cd $folder
cargo update
cargo upgrade --incompatible --exclude syn
cargo upgrade --incompatible $EXCLUSIONS
cargo generate-lockfile
cargo check || exit $?
cd -
Expand Down

0 comments on commit 864a2dd

Please sign in to comment.