Commit d591ccc
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.01 parent feddb8f commit d591ccc
23 files changed
Lines changed: 21974 additions & 47035 deletions
File tree
- cargo-pgrx
- src/templates
- pgrx-bindgen
- pgrx-macros
- pgrx-pg-config
- pgrx-pg-sys
- src/include
- pgrx-sql-entity-graph
- pgrx-tests
- pgrx
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments