Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: hoodiecollin/pgrx

Tags

v0.11.2

Toggle v0.11.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Prepare pgrx v0.11.2 (pgcentralfoundation#1425)

pgrx v0.11.2 is a minor release which

- makes available the storage-related API, thanks to @silver-ymz in
pgcentralfoundation#1409
- deprecates the `Oid::from_u32_unchecked` API... because it is actually
possible to do via casting in a *query*, which makes it effectively
impossible for us to not wind up providing it via some other safe API,
since the source is also an easily-Copied type. Thus you can now simply
use `From::from` for it. Thanks to @thomcc for this discovery,
implemented by @workingjubilee in
pgcentralfoundation#1374

As usual, `cargo install cargo-pgrx --version 0.11.2 --locked` and be on
your merry way!

Thanks everyone!

v0.11.1

Toggle v0.11.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Cut pgrx v0.11.1 (pgcentralfoundation#1408)

Hello. Welcome to pgrx v0.11.1, a bugfix release that hopefully
addresses a very annoying persistent problem for users, especially ones
that were trying to use pgrx with Postgres 16! My changes in
b992f55 now steer bindgen towards
including the exact compiler-header directory that we require, instead
of relying on clang-sys to guess the right directory in ways that can go
horribly wrong. Unfortunately, this may make our build step more brittle
in certain cases. Please report issues as they arise, so that we can
continue to refine our build system, and eventually fix this in bindgen
proper!

This new behavior can still be disabled by setting
`PGRX_BINDGEN_NO_DETECT_INCLUDES`, as it is still a form of
autodetecting includes, but if this release fixes your build that was
previously relying on that or any other easily-removed hack, please let
us know!

Also, thanks to LuminousMonkey, you can now use pgrx on illumos, an
operating system descended from Solaris, with no changes to your source
code!

v0.11.0

Toggle v0.11.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update version to 0.11.0 (pgcentralfoundation#1331)

v0.10.2

Toggle v0.10.2's commit message
Enable proptest in more workflows

v0.10.1

Toggle v0.10.1's commit message
bump to v0.10.1 and upgrade dependencies

v0.10.0

Toggle v0.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update version to 0.10.0 (pgcentralfoundation#1280)

This is the final release of v0.10.0. Thanks everyone for the beta
testing, pull requests, issues, and patience.

As always, install `cargo-pgrx` with `cargo install cargo-pgrx --locked`
and update your extension Cargo.toml files to use the `0.10.0` pgrx
dependencies.

This release includes support for Postgres 16RC1. Support for the
previous betas has been removed. As such, a fresh `cargo pgrx init` is
required.

## What's Changed Since v0.10.0-beta.4

* Fix `GetMemoryChunkContext` port by @workingjubilee in
pgcentralfoundation#1273
* Better error messages when `pg_config` isn't found. by @eeeebbbbrrrr
in pgcentralfoundation#1271
* Make `PostgresHash` also need `Eq` by @workingjubilee in
pgcentralfoundation#1264
* Memoize git hash and extension metadata by @levkk in
pgcentralfoundation#1274
* move to pg16rc1 by @eeeebbbbrrrr in
pgcentralfoundation#1276
* Fix bgworker template up to 0.10.0-beta.4 by @workingjubilee in
pgcentralfoundation#1270

## New Contributors
* @levkk made their first contribution in
pgcentralfoundation#1274

**Changelog**:
pgcentralfoundation/pgrx@v0.10.0-beta.4...v0.10.0

---

v0.10.0's full set of changes throughout the entire beta period are:

* Postgres 16beta1 Support by @eeeebbbbrrrr in
pgcentralfoundation#1169
* Support building against macOS universal binaries by @clowder in
pgcentralfoundation#1166
* list specific versions in feature gates by @eeeebbbbrrrr in
pgcentralfoundation#1175
* Fix bug with converting a `pg_sys::Datum` into a `pgrx::Date` by
@eeeebbbbrrrr in pgcentralfoundation#1177
* Fix Arrays with leading nulls by @eeeebbbbrrrr in
pgcentralfoundation#1180
* Disable hello_versioned_so test by @workingjubilee in
pgcentralfoundation#1192
* doc: fix link broken by @yihong0618 in
pgcentralfoundation#1181
* fcinfo: fix incorrect length set in unsafe code by @Sasasu in
pgcentralfoundation#1190
* update to pg16beta2 support by @eeeebbbbrrrr in
pgcentralfoundation#1188
* Array-walking is aligned by @workingjubilee in
pgcentralfoundation#1191
* Implement PGRXSharedMemory for Deque by @feikesteenbergen in
pgcentralfoundation#1170
* Include security labels header by @daamien in
pgcentralfoundation#1189
* Fixes macos-11 tests by @BradyBonnette in
pgcentralfoundation#1197
* Pgcentralfoundation updates again by @eeeebbbbrrrr in
pgcentralfoundation#1200
* Update version to 0.10.0-beta.0 by @eeeebbbbrrrr in
pgcentralfoundation#1201
* Testing help by @eeeebbbbrrrr in
pgcentralfoundation#1203
* Type testability cleanup by @eeeebbbbrrrr in
pgcentralfoundation#1204
* Try to smartly propagate fs errors by @workingjubilee in
pgcentralfoundation#1186
* Fix issue pgcentralfoundation#1209 by @eeeebbbbrrrr in
pgcentralfoundation#1210
* Type roundtrip tests by @eeeebbbbrrrr in
pgcentralfoundation#1185
* Update version to 0.10.0-beta.1 by @eeeebbbbrrrr in
pgcentralfoundation#1213
* Add a workaround for the pg16/homebrew/icu4c situation by @thomcc in
pgcentralfoundation#1206
* Add security policy by @johnrballard in
pgcentralfoundation#1207
* `AnyNumeric` is no longer backed by Postgres-allocated memory by
@eeeebbbbrrrr in pgcentralfoundation#1216
* Modularize pgrx::spi by @workingjubilee in
pgcentralfoundation#1219
* Stop SpiClient soundness from regressing by @workingjubilee in
pgcentralfoundation#1214
* Add foreign table headers by @workingjubilee in
pgcentralfoundation#1226
* Modularize the interior of pgrx-pg-sys by @workingjubilee in
pgcentralfoundation#1227
* Initial valgrind support by @thomcc in
pgcentralfoundation#1218
* Add support for handling SIGINT and SIGCHLD from bgworker by @JelteF
in pgcentralfoundation#1229
* Ignores UI tests for MUSL environments by @BradyBonnette in
pgcentralfoundation#1235
* Add a env flag that can be set to skip `#[pg_test]`-generated tests.
by @thomcc in pgcentralfoundation#1239
* Fix issue pgcentralfoundation#1076: Properly handle dependency graph of `Result<T, _>` by
@eeeebbbbrrrr in pgcentralfoundation#1241
* Cleanup the error when cargo-pgrx version doesn't match Cargo.toml by
@eeeebbbbrrrr in pgcentralfoundation#1240
* Add operator and cache related api by @VoVAllen in
pgcentralfoundation#1242
* Addresses cargo-pgrx error reporting by @BradyBonnette in
pgcentralfoundation#1238
* Update version to 0.10.0-beta.2 by @eeeebbbbrrrr in
pgcentralfoundation#1244
* Bump cargo-metadata and clap-cargo by @thomcc in
pgcentralfoundation#1246
* Derive Clone for Inet by @JelteF in
pgcentralfoundation#1251
* Correct docs for datetime `From` impls by @workingjubilee in
pgcentralfoundation#1253
* Only enable line tables for profile.dev by @thomcc in
pgcentralfoundation#1249
* Remove references to master branch by @thomcc in
pgcentralfoundation#1243
* Ensure bindgen gets all the `cppflags` it needs (on macOS, anyway) by
@thomcc in pgcentralfoundation#1247
* update for pg16beta3 support by @eeeebbbbrrrr in
pgcentralfoundation#1254
* Update version to 0.10.0-beta.3 by @eeeebbbbrrrr in
pgcentralfoundation#1255
* Add proptest support by @workingjubilee in
pgcentralfoundation#1258
* Misc reformatting and typo fixes by @workingjubilee in
pgcentralfoundation#1260
* spi: simplify (optimize?) Datum preparation by @vrmiguel in
pgcentralfoundation#1256
* Assume commutation when deriving PostgresEq by @workingjubilee in
pgcentralfoundation#1261
* Demand Ord for PostgresOrd by @workingjubilee in
pgcentralfoundation#1262
* Fix pgrx install causing postgresql coredump by @Sasasu in
pgcentralfoundation#1263
* Update version to 0.10.0-beta.4 by @workingjubilee in
pgcentralfoundation#1267

## New Contributors
* @clowder made their first contribution in
pgcentralfoundation#1166
* @yihong0618 made their first contribution in
pgcentralfoundation#1181
* @Sasasu made their first contribution in
pgcentralfoundation#1190
* @daamien made their first contribution in
pgcentralfoundation#1189
* @johnrballard made their first contribution in
pgcentralfoundation#1207
* @VoVAllen made their first contribution in
pgcentralfoundation#1242
* @vrmiguel made their first contribution in
pgcentralfoundation#1256


**Full Changelog**:
pgcentralfoundation/pgrx@v0.9.8...v0.10.0

v0.10.0-beta.4

Toggle v0.10.0-beta.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update version to 0.10.0-beta.4 (pgcentralfoundation#1267)

The fifth beta release of 0.10.0!

* `#[pg_test]`-compatible proptest support in
pgcentralfoundation#1258 courtesy of moi
* PostgresEq (pgcentralfoundation#1261) and
PostgresOrd (pgcentralfoundation#1262) now
explicitly require their "base" Rust traits, which may hypothetically
break some impls, but in exchange your equality implementations are now
presumed to be commutative.
* Work on improving/simplifying/optimizing our SPI continues, with
@vrmiguel contributing some polish to Datum preparation in
pgcentralfoundation#1256
* We have been finding some extra-spicy edge cases in how PGRX interacts
with a continuously-operational Postgres installation which might
feature extensions being installed and reinstalled lately! @Sasasu fixed
at least one core-dump-causing case from `cargo pgrx install` in
pgcentralfoundation#1263

## New Contributors
* @vrmiguel made their first contribution in
pgcentralfoundation#1256

**Full Changelog**:
pgcentralfoundation/pgrx@v0.10.0-beta.3...v0.10.0-beta.4

v0.10.0-beta.3

Toggle v0.10.0-beta.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update version to 0.10.0-beta.3 (pgcentralfoundation#1255)

This is pgrx v0.10.0-beta.3. The 4th beta in our series that includes
Postgres 16 support. In this release, Postgres 16 support has been
updated to pg16beta3.

To work with this beta please install `cargo-pgrx` with `cargo install
cargo-pgrx --version 0.10.0-beta.3 --locked` and update the pgrx
dependency versions in any extension crates. Then make sure to add a
"pg16" feature flag.

## What's Changed

* update for pg16beta3 support by @eeeebbbbrrrr in
pgcentralfoundation#1254

### Usability

* Derive Clone for Inet by @JelteF in
pgcentralfoundation#1251
* Ensure bindgen gets all the `cppflags` it needs (on macOS, anyway) by
@thomcc in pgcentralfoundation#1247

### Documentation

* Correct docs for datetime `From` impls by @workingjubilee in
pgcentralfoundation#1253

### Internal
* Only enable line tables for profile.dev by @thomcc in
pgcentralfoundation#1249
* Bump cargo-metadata and clap-cargo by @thomcc in
pgcentralfoundation#1246
* Remove references to master branch by @thomcc in
pgcentralfoundation#1243

**Full Changelog**:
pgcentralfoundation/pgrx@v0.10.0-beta.2...v0.10.0-beta.3

v0.10.0-beta.2

Toggle v0.10.0-beta.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update version to 0.10.0-beta.2 (pgcentralfoundation#1244)

This is the third beta in the pgrx v0.10.x series. It contains a number
of soundness fixes, better error handling, more testing, and other
general code cleanup.

## Soundness Issues

* `AnyNumeric` is no longer backed by Postgres-allocated memory by
@eeeebbbbrrrr in pgcentralfoundation#1216

## CI and general Testing Support

* Testing help by @eeeebbbbrrrr in
pgcentralfoundation#1203
* Type testability cleanup by @eeeebbbbrrrr in
pgcentralfoundation#1204
* Type roundtrip tests by @eeeebbbbrrrr in
pgcentralfoundation#1185
* Stop SpiClient soundness from regressing by @workingjubilee in
pgcentralfoundation#1214
* Initial valgrind support by @thomcc in
pgcentralfoundation#1218
* Add a env flag that can be set to skip `#[pg_test]`-generated tests.
by @thomcc in pgcentralfoundation#1239
* Ignores UI tests for MUSL environments by @BradyBonnette in
pgcentralfoundation#1235
* Changes GHA workflows to use new upgraded runners by @BradyBonnette in
pgcentralfoundation#1225

## General Improvements

* Add support for handling SIGINT and SIGCHLD from bgworker by @JelteF
in pgcentralfoundation#1229
* Fix issue pgcentralfoundation#1076: Properly handle dependency graph of `Result<T, _>` by
@eeeebbbbrrrr in pgcentralfoundation#1241

## Improved Error Reporting

* Try to smartly propagate fs errors by @workingjubilee in
pgcentralfoundation#1186
* Addresses cargo-pgrx error reporting by @BradyBonnette in
pgcentralfoundation#1238
* Cleanup the error when cargo-pgrx version doesn't match Cargo.toml by
@eeeebbbbrrrr in pgcentralfoundation#1240

## Additional Postgres Headers

* Add operator and cache related api by @VoVAllen in
pgcentralfoundation#1242
* Add foreign table headers by @workingjubilee in
pgcentralfoundation#1226
* Add postmaster related api by @JelteF in
pgcentralfoundation#1237

## Internal Code Organization

* Modularize pgrx::spi by @workingjubilee in
pgcentralfoundation#1219
* Modularize the interior of pgrx-pg-sys by @workingjubilee in
pgcentralfoundation#1227

## Postgres 16-motivated Changes

* Add a workaround for the pg16/homebrew/icu4c situation by @thomcc in
pgcentralfoundation#1206

## General Project Stuff

* Add security policy by @johnrballard in
pgcentralfoundation#1207

## New Contributors
* @johnrballard made their first contribution in
pgcentralfoundation#1207
* @VoVAllen made their first contribution in
pgcentralfoundation#1242

**Full Changelog**:
pgcentralfoundation/pgrx@v0.10.0-beta.1...v0.10.0-beta.2

v0.10.0-beta.1

Toggle v0.10.0-beta.1's commit message
Merge branch 'develop'