Skip to content

Commit

Permalink
Release pgrx 0.11.3 (#1496)
Browse files Browse the repository at this point in the history
The pgrx 0.11.3 release addresses a few UB risks in pgrx, updates its
dependencies on many points, and includes many additional headers. It
should also now be easier to use cargo-pgrx on more-complicated network
configurations.

## New Bindings!

New bindings added thanks to
- @burmecia in #1432
- @daamien in
  - #1431
  - #1485
- @rebasedming in #1486
- @usamoi in #1436
- @workingjubilee in
#1453

## "...wait, that's UB?"

Two UB fixes!
- Thanks to @Lokathor in
#1443
- Thanks to @usamoi in
#1466

## Ergonomics

- A better `ereport!` macro in
#1472

## Less transport-level security problems in cargo-pgrx

- We no longer secretly require rustls! Thanks to @jirutka in
#1448
- We now use native certs if possible, even with rustls, since
#1449

Together these should mean it's possible to actually use cargo-pgrx on
whatever your network configuration is, but you might have to use `cargo
install --no-default-features --features native-tls` to install with
native-tls (which, on Linux, means OpenSSL). By default, you will use
rustls.

## Many dependency updates

These address some largely-hypothetical security risks, but one is
particularly important: the bindgen update means we now should be
compatible with some aarch64 builds that might have failed.

- #1492
- #1493
- #1494
  • Loading branch information
workingjubilee committed Jan 25, 2024
2 parents 14b063e + c1bcf74 commit 2244e62
Show file tree
Hide file tree
Showing 39 changed files with 2,065 additions and 504 deletions.
1 change: 0 additions & 1 deletion .github/docker/Dockerfile.alpine:3.18
Expand Up @@ -27,7 +27,6 @@ RUN apk add --no-cache \
make \
musl-dev \
openssl-dev \
tar \
util-linux-dev

# Set up permissions so that the rust user below can create extensions
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/tests.yml
Expand Up @@ -35,6 +35,8 @@ jobs:

- name: Set up prerequisites and environment
run: |
sudo apt-get update -y -qq --fix-missing
echo ""
echo "----- Install sccache -----"
mkdir -p $HOME/.local/bin
Expand Down Expand Up @@ -277,6 +279,8 @@ jobs:

- name: Set up prerequisites and environment
run: |
sudo apt-get update -y -qq --fix-missing
echo ""
echo "----- Install / Set up sccache -----"
Expand Down Expand Up @@ -402,9 +406,12 @@ jobs:
- name: Workaround GitHub Actions Python issues
run: brew unlink python && brew link --overwrite python

# install postgres with homebrew, but do't let homebrew do an update too. The update
# process not only takes forever, but it tends to fail when the internet changes
# https://github.com/Homebrew/brew/issues/1670#issuecomment-267096602
- name: brew install postgresql
run: |
brew install ${FORMULA}
HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install ${FORMULA}
echo "$(brew --prefix ${FORMULA})/bin" >> $GITHUB_PATH
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/will-it-blend-develop.yml
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false # We want all of them to run, even if one fails
matrix:
pg_version: ["pg11", "pg12", "pg13", "pg14", "pg15"]
pg_version: ["pg12", "pg13", "pg14", "pg15"]
container: ["fedora", "debian:bullseye", "alpine:3.18", "amazon:2"]
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 2244e62

Please sign in to comment.