github pgcentralfoundation/pgrx v0.13.0

18 hours ago

Welcome to pgrx v0.13.0. The first update in a little bit, which makes pgrx current with upstream dependencies, rust 1.85.0 (but not 2024 Edition, yet), and a slew of fixes and cleanups and community contributions.

Upgrading

You'll need to cargo install cargo-pgrx --version 0.13.0 --locked to get the latest cargo-pgrx tool, and then you can run cargo pgrx upgrade in your extension crates to update their dependencies.

Breaking Changes

Generally, the only breaking changes in v0.13.0 are related to the user-facing SPI APIs. In general, SPI functions that previously took a Vec of Arguments now take a &[DatumWithOid], with proper lifetime bounds. This is a fairly straightforward boilerplate to update.

@YohDeadfall has done a lot of work on improving SPI's safety and it's greatly appreciated!

What's Changed

cargo-pgrx

Build System

  • use allowlist_file for bindgen by @usamoi in #1922
  • add pg_config --libdir to linker search path by @usamoi in #1932
  • lock patch version of pgrx-bindgen by @usamoi in #1939
  • Introduce a blocklist of "yanked" Postgres versions by @eeeebbbbrrrr in #1950
  • Make sure bindgen gets the cppflags even if we aren't using macOS by @thomcc in #1336

SPI

General pgrx-pg-sys Interfaces

Bug Fixes

  • Check wakeup_flags from wait_latch function to exit on WL_POSTMASTER_DEATH by @var77 in #1938

Overall Code Cleanup

Thanks!

Thanks to the community, past, present, and future. Especially to our new contributors...

New Contributors

Full Changelog: v0.12.7...v0.13.0

Don't miss a new pgrx release

NewReleases is sending notifications on new releases.