Skip to content

Commit d591ccc

Browse files
authored
Update version to 0.17.0 (pgcentralfoundation#2245)
Welcome to pgrx v0.17.0. This is a new minor release that brings a bunch of internal code refactoring, cleanup, new Postgres headers, and additional `cargo-pgrx regress` CLI options. As always, please install the latest `cargo-pgrx` with `cargo install cargo-pgrx --version 0.17.0 --locked` and also update your extension crate dependencies with `cargo pgrx upgrade`. ## What's Changed ### New Headers/Symbols * include `access/tsmapi.h` by @usamoi in pgcentralfoundation#2155 * Include access/subtrans.h & access/commit_ts.h by @isdaniel in pgcentralfoundation#2147 * include `utils/guc_tables.h` by @usamoi in pgcentralfoundation#2243 * Include `scanner.h` in Rust bindings by @piki in pgcentralfoundation#2163 * Add `commands/publicationcmds.h` to generated `pg_sys` bindings by @Sinjo in pgcentralfoundation#2221 * Add the ClientAuthentication_hook by @daamien in pgcentralfoundation#2231 * add storage/dsm_*.h headers by @eeeebbbbrrrr in pgcentralfoundation#2244 * pg-sys: add catalog/heap.h bindings for PG18 by @charmitro in pgcentralfoundation#2150 * Add back `peer_dn` field to `Port` on `pg17..` by @workingjubilee in pgcentralfoundation#2200 * Add `repr(C)` to `struct Port` on `pg13..=16` by @workingjubilee in pgcentralfoundation#2201 ### `cargo-pgrx` improvements * Add a psql_verbosity parameter for cargo pgrx regress by @daamien in pgcentralfoundation#2230 ### Code Cleanup * Replace with let-chains in pgrx-bindgen by @workingjubilee in pgcentralfoundation#2168 * Replace with let-chains in pgrx-sql-entity-graph by @workingjubilee in pgcentralfoundation#2169 * Restore so-called needless lifetimes by @workingjubilee in pgcentralfoundation#2167 * Drop stray Postgres 12 support in cargo-pgrx by @workingjubilee in pgcentralfoundation#2173 * Remove deprecated enum##member constants by @workingjubilee in pgcentralfoundation#2170 * Remove `variadic!` macro by @workingjubilee in pgcentralfoundation#2171 * Semi-automated code cleanup by @workingjubilee in pgcentralfoundation#2189 * Deref instead of borrowing `Option<&String>` by @workingjubilee in pgcentralfoundation#2185 * Refactor schema.rs using a cargo command builder by @workingjubilee in pgcentralfoundation#2187 * Replace `impl AsRef<T>` with `&T` by @workingjubilee in pgcentralfoundation#2182 * Make `PgRelation::heap_relation` unsafe by @workingjubilee in pgcentralfoundation#2176 * Move `cargo_pgrx::env` to `cargo_pgrx::cargo` by @workingjubilee in pgcentralfoundation#2186 * Move `CargoProfile` into `cargo_pgrx::cargo` by @workingjubilee in pgcentralfoundation#2188 * Add Scalar trait for generic handling of primitive arrays by @workingjubilee in pgcentralfoundation#2153 * Set BGWORKER_SHMEM_ACCESS when building background workers by @cbandy in pgcentralfoundation#2161 * Stop referencing `pg_config` in schema generation by @workingjubilee in pgcentralfoundation#2174 * Show line number of failed asserts by @piki in pgcentralfoundation#2175 * Ghostbust `used_type.rs` a bit by @workingjubilee in pgcentralfoundation#2190 * Manually bind `static MyProcPort` and `struct Port` by @workingjubilee in pgcentralfoundation#2162 * Make datetime types import each other via `use super` by @workingjubilee in pgcentralfoundation#2198 * Migrate datetime types into `pgrx::datetime` by @workingjubilee in pgcentralfoundation#2199 * Use diagnostic attrs for ABI/SQL-related traits by @workingjubilee in pgcentralfoundation#2203 * Make `Scalar` provide `pg_sys::Oid` constant by @workingjubilee in pgcentralfoundation#2209 * Hoist varlena encoding fn by @workingjubilee in pgcentralfoundation#2208 * Recurse through `T` while anonymizing `&T` by @workingjubilee in pgcentralfoundation#2212 * `impl BorrowDatum for TimeTz` by @workingjubilee in pgcentralfoundation#2213 * Change `MemCx::alloc_bytes` to return `NonNull` by @workingjubilee in pgcentralfoundation#2214 * Add `MemCx<'current, T>` arguments and `PBox<'current, T>` returns by @workingjubilee in pgcentralfoundation#2210 * Further improve diagnostics for signatures with no SQL form by @workingjubilee in pgcentralfoundation#2215 * Add `array::Element` and `callconv::DatumPass` by @workingjubilee in pgcentralfoundation#2218 * Remove unused line in `memcxt_tests.rs` by @workingjubilee in pgcentralfoundation#2220 * Add `FlatArray<'_, T>` by @workingjubilee in pgcentralfoundation#2207 * Allow explicit handling of allocation errors by @workingjubilee in pgcentralfoundation#2226 * Place lbound before updating array len product by @workingjubilee in pgcentralfoundation#2236 * introduce `#[pg_guard(unsafe_entry_thread)]` by @eeeebbbbrrrr in pgcentralfoundation#2242 ### Project Administrativa * Use Rust Edition 2024 by @workingjubilee in pgcentralfoundation#2165 * Remove testing for deprecated Intel Macs by @workingjubilee in pgcentralfoundation#2156 * Remove unused Cargo.lock for version-updater by @workingjubilee in pgcentralfoundation#2180 * Add rust-analyzer.toml by @workingjubilee in pgcentralfoundation#2179 * Note pgrx requires an unknown minimum Xcode version by @workingjubilee in pgcentralfoundation#2164 ## New Contributors * @isdaniel made their first contribution in pgcentralfoundation#2147 * @cbandy made their first contribution in pgcentralfoundation#2161 * @piki made their first contribution in pgcentralfoundation#2163 * @Sinjo made their first contribution in pgcentralfoundation#2221 **Full Changelog**: pgcentralfoundation/pgrx@v0.16.1...v0.17.0
1 parent feddb8f commit d591ccc

23 files changed

Lines changed: 21974 additions & 47035 deletions

File tree

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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ version = "0.16.0"
6868
cargo-pgrx = { path = "cargo-pgrx" }
6969

7070
[workspace.dependencies]
71-
pgrx-macros = { path = "./pgrx-macros", version = "=0.16.1" }
72-
pgrx-pg-sys = { path = "./pgrx-pg-sys", version = "=0.16.1" }
73-
pgrx-sql-entity-graph = { path = "./pgrx-sql-entity-graph", version = "=0.16.1" }
74-
pgrx-pg-config = { path = "./pgrx-pg-config", version = "=0.16.1" }
75-
pgrx-bindgen = { path = "./pgrx-bindgen", version = "=0.16.1" }
71+
pgrx-macros = { path = "./pgrx-macros", version = "=0.17.0" }
72+
pgrx-pg-sys = { path = "./pgrx-pg-sys", version = "=0.17.0" }
73+
pgrx-sql-entity-graph = { path = "./pgrx-sql-entity-graph", version = "=0.17.0" }
74+
pgrx-pg-config = { path = "./pgrx-pg-config", version = "=0.17.0" }
75+
pgrx-bindgen = { path = "./pgrx-bindgen", version = "=0.17.0" }
7676

7777
cargo_metadata = "0.18.0"
7878
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.16.1"
13+
version = "0.17.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.16.1"
24+
pgrx = "=0.17.0"
2525

2626
[dev-dependencies]
27-
pgrx-tests = "=0.16.1"
27+
pgrx-tests = "=0.17.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.16.1"
4+
version = "0.17.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.16.1"
13+
version = "0.17.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.16.1"
13+
version = "0.17.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.16.1"
13+
version = "0.17.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)