After two betas with minimal (reported) issues, pgx v0.7.0 is finally here!
The full set of code changes since pgx' previous version series (0.6.x) can be found here. It might also be beneficial to review the release notes for the 0.7.0-betas at beta0 and beta1
Below is the small set of changes since beta1.
As always, please make sure to install the latest cargo-pgx
with cargo install cargo-pgx --version 0.7.0 --locked
and update your extension crate dependencies.
Thanks to all the contributors and users. pgx wouldn't be possible without your participation!
What's Changed
A New Hook
- Add support for emit_log_hook by @feikesteenbergen in #979
This allows extensions to intercept "ereport" messages as they're emitted by either Postgres or pgx. Maybe you've always wanted to send log messages to some external collection system? Now you can!
Cross Compilation Support
- Allow manually choosing the scratch directory in
cargo pgx cross pgx-target
by @thomcc in #1016 - Fix confusing typo in
CROSS_COMPILE.md
aboutrustup target add
vsrustup toolchain add
by @thomcc in #1017 - enhance
PgConfig
to be able to construct itself from a set of environment variables by @eeeebbbbrrrr in #1019 and #1020
Other Cleanups
- add
PgHeapTuple::into_pg(self)
by @eeeebbbbrrrr in #1018 - Fix version in pg15 help text by @rustprooflabs in #1013
- Bump the Nix flake.lock by @workingjubilee in #1021
New Contributors
- @feikesteenbergen made their first contribution in #979
Full Changelog: v0.7.0-beta.1...v0.7.0