Skip to content

Commit a7a95bf

Browse files
authored
Update version to 0.16.0 (#2123)
Welcome to pgrx v0.16.0. This release contains support for Postgres 18beta2 and has some breaking changes in that support for pgrx' "hooks" implementation, which has been deprecated for over a year, has finally been removed. Additionally, due to unsoundness issues, direct support for using `heapless` in shared memory has been removed. Users can still do this themselves, which requires them to assert they're taking responsibility of possible unsoundness issues. As always, first install the latest `cargo-pgrx` with: ```shell $ cargo install cargo-pgrx --version 0.16.0 --locked ``` Then you're free to run `cargo pgrx upgrade` in the root of all your extension crates. To pickup pg18beta2 support you'll also want to run `cargo pgrx init` so that it can be downloaded and compiled. # What's Changed ## Breaking Changes * delete `pgrx::hooks` by @usamoi in #2120 * improve shmem api by @usamoi in #2107 ## New Features * update to Postgres v18beta2 by @usamoi in #2111 * feat: `BackgroundWorker::connect_worker_to_spi_by_oid` by @if0ne in #2116 * teach `#[pg_cast]` to support 3-argument CAST functions by @eeeebbbbrrrr in #2119 * teach `#[pg_extern]` about a SUPPORT function by @eeeebbbbrrrr in #2121 ## Bug Fixes * fix name_data_to_str by @usamoi in #2108 * add pg_guard_ffi_boundary to direct_pg_extern_function_call_as_datum by @usamoi in #2118 ## `cargo-pgrx` Improvements * add `--valgrind` to more cargo-pgrx subcommands by @usamoi in #2109 * `cargo pgrx regress --resetdb` will run `setup.sql` by @ccleve in #2113 ## Code Cleanup * filter out unrecognized attributes in PostgresGucEnum by @usamoi in #2102 * Elide needless lifetime by @nyurik in #2097 ## Package/Build System Cleanup * chore: include pgrx-version-updater into workspace by @nyurik in #2101 * chore: consolidate package settings in workspace by @nyurik in #2100 * chore: prepare for 2024 edition by @nyurik in #2103 # Thanks! Thanks to all contributors -- y'alls work helps keep pgrx moving forward. **Full Changelog**: v0.15.0...v0.16.0
1 parent 3ec1e48 commit a7a95bf

File tree

12 files changed

+8204
-8314
lines changed

12 files changed

+8204
-8314
lines changed

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,17 @@ repository = "https://github.com/pgcentralfoundation/pgrx/"
5959
homepage = "https://github.com/pgcentralfoundation/pgrx/"
6060
# TODO: all crates should use this version rather than copy it
6161
# See https://github.com/pgcentralfoundation/pgrx/pull/2100 comments
62-
version = "0.15.0"
62+
version = "0.16.0"
6363

6464
[workspace.metadata.local-install]
6565
cargo-pgrx = { path = "cargo-pgrx" }
6666

6767
[workspace.dependencies]
68-
pgrx-macros = { path = "./pgrx-macros", version = "=0.15.0" }
69-
pgrx-pg-sys = { path = "./pgrx-pg-sys", version = "=0.15.0" }
70-
pgrx-sql-entity-graph = { path = "./pgrx-sql-entity-graph", version = "=0.15.0" }
71-
pgrx-pg-config = { path = "./pgrx-pg-config", version = "=0.15.0" }
72-
pgrx-bindgen = { path = "./pgrx-bindgen", version = "=0.15.0" }
68+
pgrx-macros = { path = "./pgrx-macros", version = "=0.16.0" }
69+
pgrx-pg-sys = { path = "./pgrx-pg-sys", version = "=0.16.0" }
70+
pgrx-sql-entity-graph = { path = "./pgrx-sql-entity-graph", version = "=0.16.0" }
71+
pgrx-pg-config = { path = "./pgrx-pg-config", version = "=0.16.0" }
72+
pgrx-bindgen = { path = "./pgrx-bindgen", version = "=0.16.0" }
7373

7474
cargo_metadata = "0.18.0"
7575
cargo-edit = "=0.13.2" # format-preserving edits to cargo.toml

cargo-pgrx/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[package]
1212
name = "cargo-pgrx"
13-
version = "0.15.0"
13+
version = "0.16.0"
1414
authors.workspace = true
1515
license.workspace = true
1616
description = "Cargo subcommand for 'pgrx' to make Postgres extension development easy"

cargo-pgrx/src/templates/cargo_toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ pg18 = ["pgrx/pg18", "pgrx-tests/pg18" ]
2121
pg_test = []
2222

2323
[dependencies]
24-
pgrx = "=0.15.0"
24+
pgrx = "=0.16.0"
2525

2626
[dev-dependencies]
27-
pgrx-tests = "=0.15.0"
27+
pgrx-tests = "=0.16.0"
2828

2929
[profile.dev]
3030
panic = "unwind"

pgrx-bindgen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "pgrx-bindgen"
33
description = "additional bindgen support for pgrx"
4-
version = "0.15.0"
4+
version = "0.16.0"
55
edition.workspace = true
66
license.workspace = true
77
homepage = "https://github.com/pgcentralfoundation/pgrx"

pgrx-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[package]
1212
name = "pgrx-macros"
13-
version = "0.15.0"
13+
version = "0.16.0"
1414
authors.workspace = true
1515
license.workspace = true
1616
description = "Proc Macros for 'pgrx'"

pgrx-pg-config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[package]
1212
name = "pgrx-pg-config"
13-
version = "0.15.0"
13+
version = "0.16.0"
1414
authors.workspace = true
1515
license.workspace = true
1616
description = "A Postgres pg_config wrapper for 'pgrx'"

pgrx-pg-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[package]
1212
name = "pgrx-pg-sys"
13-
version = "0.15.0"
13+
version = "0.16.0"
1414
authors.workspace = true
1515
license.workspace = true
1616
description = "Generated Rust bindings for Postgres internals, for use with 'pgrx'"

0 commit comments

Comments
 (0)