Skip to content

Commit

Permalink
Update version to 0.10.0-beta.2 (#1244)
Browse files Browse the repository at this point in the history
This is the third beta in the pgrx v0.10.x series. It contains a number
of soundness fixes, better error handling, more testing, and other
general code cleanup.

## Soundness Issues

* `AnyNumeric` is no longer backed by Postgres-allocated memory by
@eeeebbbbrrrr in #1216

## CI and general Testing Support

* Testing help by @eeeebbbbrrrr in
#1203
* Type testability cleanup by @eeeebbbbrrrr in
#1204
* Type roundtrip tests by @eeeebbbbrrrr in
#1185
* Stop SpiClient soundness from regressing by @workingjubilee in
#1214
* Initial valgrind support by @thomcc in
#1218
* Add a env flag that can be set to skip `#[pg_test]`-generated tests.
by @thomcc in #1239
* Ignores UI tests for MUSL environments by @BradyBonnette in
#1235
* Changes GHA workflows to use new upgraded runners by @BradyBonnette in
#1225

## General Improvements

* Add support for handling SIGINT and SIGCHLD from bgworker by @JelteF
in #1229
* Fix issue #1076: Properly handle dependency graph of `Result<T, _>` by
@eeeebbbbrrrr in #1241

## Improved Error Reporting

* Try to smartly propagate fs errors by @workingjubilee in
#1186
* Addresses cargo-pgrx error reporting by @BradyBonnette in
#1238
* Cleanup the error when cargo-pgrx version doesn't match Cargo.toml by
@eeeebbbbrrrr in #1240

## Additional Postgres Headers

* Add operator and cache related api by @VoVAllen in
#1242
* Add foreign table headers by @workingjubilee in
#1226
* Add postmaster related api by @JelteF in
#1237

## Internal Code Organization

* Modularize pgrx::spi by @workingjubilee in
#1219
* Modularize the interior of pgrx-pg-sys by @workingjubilee in
#1227

## Postgres 16-motivated Changes

* Add a workaround for the pg16/homebrew/icu4c situation by @thomcc in
#1206

## General Project Stuff

* Add security policy by @johnrballard in
#1207

## New Contributors
* @johnrballard made their first contribution in
#1207
* @VoVAllen made their first contribution in
#1242

**Full Changelog**:
v0.10.0-beta.1...v0.10.0-beta.2
  • Loading branch information
eeeebbbbrrrr authored Aug 1, 2023
1 parent e509bef commit d3a3901
Show file tree
Hide file tree
Showing 21 changed files with 2,741 additions and 198 deletions.
254 changes: 123 additions & 131 deletions Cargo.lock

Large diffs are not rendered by default.

20 changes: 10 additions & 10 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-beta.1"
version = "0.10.0-beta.2"
authors = ["PgCentral Foundation, Inc. <contact@pgcentral.org>"]
license = "MIT"
description = "Cargo subcommand for 'pgrx' to make Postgres extension development easy"
Expand All @@ -25,19 +25,19 @@ edition = "2021"

[dependencies]
atty = "0.2.14"
cargo_metadata = "0.15.4"
cargo_metadata = "=0.15.4" # locked b/c we're using an older `clap`
cargo_toml = "0.15.3"
clap = { version = "4.3.11", features = [ "env", "suggestions", "cargo", "derive", "wrap_help" ] }
clap = { version = "4.3.19", features = [ "env", "suggestions", "cargo", "derive", "wrap_help" ] }
clap-cargo = { version = "0.10.0", features = [ "cargo_metadata" ] }
semver = "1.0.17"
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-beta.1" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0-beta.1" }
prettyplease = "0.2.10"
proc-macro2 = { version = "1.0.64", features = [ "span-locations" ] }
quote = "1.0.29"
pgrx-pg-config = { path = "../pgrx-pg-config", version = "=0.10.0-beta.2" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0-beta.2" }
prettyplease = "0.2.12"
proc-macro2 = { version = "1.0.66", features = [ "span-locations" ] }
quote = "1.0.32"
rayon = "1.7.0"
regex = "1.9.1"
ureq = "2.7.1"
Expand All @@ -57,7 +57,7 @@ tracing = "0.1"
tracing-error = "0.2.0"
tracing-subscriber = { version = "0.3.17", features = [ "env-filter" ] }
flate2 = { version = "1.0.26", default-features = false, features = ["rust_backend"] }
tempfile = "3.6.0"
tempfile = "3.7.0"
nix = { version = "0.26", default-features = false, features = ["user"] }

[features]
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-beta.1"
pgrx = "=0.10.0-beta.2"

[dev-dependencies]
pgrx-tests = "=0.10.0-beta.1"
pgrx-tests = "=0.10.0-beta.2"

[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-beta.1"
pgrx = "=0.10.0-beta.2"

[dev-dependencies]
pgrx-tests = "=0.10.0-beta.1"
pgrx-tests = "=0.10.0-beta.2"
tempfile = "3.2.0"
once_cell = "1.7.2"

Expand Down
8 changes: 4 additions & 4 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-beta.1"
version = "0.10.0-beta.2"
authors = ["PgCentral Foundation, Inc. <contact@pgcentral.org>"]
license = "MIT"
description = "Proc Macros for 'pgrx'"
Expand All @@ -31,9 +31,9 @@ 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-beta.1" }
proc-macro2 = "1.0.64"
quote = "1.0.29"
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0-beta.2" }
proc-macro2 = "1.0.66"
quote = "1.0.32"
syn = { version = "1.0.109", features = [ "extra-traits", "full", "fold", "parsing" ] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion 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-beta.1"
version = "0.10.0-beta.2"
authors = ["PgCentral Foundation, Inc. <contact@pgcentral.org>"]
license = "MIT"
description = "A Postgres pg_config wrapper for 'pgrx'"
Expand Down
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-beta.1"
version = "0.10.0-beta.2"
authors = ["PgCentral Foundation, Inc. <contact@pgcentral.org>"]
license = "MIT"
description = "Generated Rust bindings for Postgres internals, for use with 'pgrx'"
Expand Down Expand Up @@ -40,18 +40,18 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
memoffset = "0.9.0"
pgrx-macros = { path = "../pgrx-macros/", version = "=0.10.0-beta.1" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph/", version = "=0.10.0-beta.1" }
pgrx-macros = { path = "../pgrx-macros/", version = "=0.10.0-beta.2" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph/", version = "=0.10.0-beta.2" }
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-beta.1" }
proc-macro2 = "1.0.64"
quote = "1.0.29"
pgrx-pg-config= { path = "../pgrx-pg-config/", version = "=0.10.0-beta.2" }
proc-macro2 = "1.0.66"
quote = "1.0.32"
syn = { version = "1.0.109", features = [ "extra-traits", "full", "fold", "parsing" ] }
eyre = "0.6.8"
shlex = "1.1.0" # shell lexing, also used by many of our deps
Expand Down
Loading

0 comments on commit d3a3901

Please sign in to comment.