Repository navigation
fix(deps): update all non-major go dependencies (release-1.29) - #10499
Merged
leonardoce merged 1 commit intoApr 22, 2026
Merged
Conversation
Contributor
|
/test |
Contributor
|
@sxd, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/24721547892 |
gbartolini
approved these changes
Apr 22, 2026
mnencia
approved these changes
Apr 22, 2026
renovate
Bot
force-pushed
the
renovate/release-1.29-all-non-major-go-dependencies
branch
from
April 22, 2026 07:19
0dc4520 to
e3bc244
Compare
leonardoce
deleted the
renovate/release-1.29-all-non-major-go-dependencies
branch
April 22, 2026 07:36
sdwilsh
pushed a commit
to sdwilsh/ansible-playbooks
that referenced
this pull request
May 11, 2026
##### [\`v1.29.1\`](https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.29.1) **Release date:** May 8, 2026 ##### Security and Supply Chain - **`CVE-2026-44477` / `GHSA-423p-g724-fr39`: metrics exporter privilege escalation**: the metrics exporter no longer authenticates as the `postgres` superuser. It now uses a dedicated `cnpg_metrics_exporter` role with `pg_monitor` privileges only, closing a chain that let a low-privilege database user gain PostgreSQL superuser. ([`GHSA-423p-g724-fr39`](GHSA-423p-g724-fr39)) <!-- 1.29 1.28 1.25 --> Upgrade impact: custom monitoring queries that read user-owned tables, or use `target_databases: '*'` against databases where `PUBLIC CONNECT` has been revoked, need explicit `GRANT` statements to `cnpg_metrics_exporter`. See ["Custom query privileges and safety"](../monitoring.md#custom-query-privileges-and-safety) and ["Manually creating the metrics exporter role"](../monitoring.md#manually-creating-the-metrics-exporter-role) in the monitoring documentation. For replica clusters, upgrade the source primary cluster before any replica clusters that consume from it. The `cnpg_metrics_exporter` role is created on the source primary and replicates downstream; a replica cluster upgraded first will scrape against a missing role until the source primary upgrades. The manual-recovery section linked above also covers replica clusters. - **Schema-qualified catalog references in default monitoring queries**: hardened the shipped monitoring configuration and documentation samples by qualifying every `pg_catalog` object explicitly. Unqualified references resolve through `search_path`, which a database user can manipulate to shadow built-in objects. ([#10576](cloudnative-pg/cloudnative-pg#10576)) <!-- 1.29 1.28 1.25 --> - **Discoverable SBOM and provenance attestations**: SBOM and SLSA provenance attached to operator container images now follow the OCI 1.1 Referrers spec, so standard registry tooling and supply-chain scanners can discover them automatically. ([#10601](cloudnative-pg/cloudnative-pg#10601)) <!-- 1.29 1.28 1.25 --> - **CVE remediation in `github.com/jackc/pgx/v5`**: bumped to v5.9.2 to pick up upstream fixes for `CVE-2026-33816` (memory-safety in `pgproto3`) and `GHSA-j88v-2chj-qfwx` (SQL injection via simple-protocol dollar-quoted string handling). ([#10437](cloudnative-pg/cloudnative-pg#10437), [#10499](cloudnative-pg/cloudnative-pg#10499)) - **CVE remediation in the Go runtime**: built with Go 1.26.3 to pick up upstream fixes in `crypto/x509`, `crypto/tls`, `net/http`, and `net` (CVE-2026-32280, CVE-2026-32281, CVE-2026-33810, CVE-2026-33814, CVE-2026-33811, CVE-2026-39825). ([#10463](cloudnative-pg/cloudnative-pg#10463), [#10647](cloudnative-pg/cloudnative-pg#10647)) <!-- 1.29 1.28 1.25 --> - **Build pipeline hardening**: the Go 1.26.3 bump also addresses CVE-2026-42501 (`cmd/go` module-checksum validation), reducing supply-chain exposure during release builds. The affected code paths are not reachable from the running operator. ([#10647](cloudnative-pg/cloudnative-pg#10647)) <!-- 1.29 1.28 1.25 --> ##### Changes - Switched TLS peer verification from `VerifyPeerCertificate` to `VerifyConnection`, which runs on every completed handshake (the former is skipped on resumed TLS 1.3 sessions). Session resumption is not enabled in CloudNativePG today, so this has no observable effect, but it future-proofs verification if session caching is introduced later. ([#10478](cloudnative-pg/cloudnative-pg#10478)) <!-- 1.29 1.28 1.25 --> ##### Fixes - Fixed a failover window where the former primary kept its primary label. If it returned during failover (for example, after a transient network partition), the `-rw` service kept routing to it, replicas could reconnect, and committed writes were lost to `pg_rewind`. The old primary is now labeled `unhealthy` to isolate it from service traffic during failover. ([#10409](cloudnative-pg/cloudnative-pg#10409)) <!-- 1.29 1.28 1.25 --> - Fixed failover not being triggered when the node hosting the primary becomes unreachable. The operator now reads the pod's `Ready` condition (flipped to `False` by the node controller when the kubelet stops reporting) instead of `ContainersReady`, which stays stale as `True` in that scenario. Combined with the spurious-failover guard ([#10445](cloudnative-pg/cloudnative-pg#10445)), failover triggers only when Kubernetes itself marks the pod not Ready. ([#10448](cloudnative-pg/cloudnative-pg#10448)) <!-- 1.29 1.28 1.25 --> - Fixed spurious failovers caused by transient failures on the primary's HTTP status endpoint. ([#10445](cloudnative-pg/cloudnative-pg#10445)) <!-- 1.29 1.28 1.25 --> - Fixed escaping of backslashes and control characters in PostgreSQL configuration values. Previously, such characters in parameters like `log_line_prefix` could corrupt the configuration file or be silently stripped at runtime. ([#10515](cloudnative-pg/cloudnative-pg#10515)) <!-- 1.29 1.28 1.25 --> - Fixed `restore_command` construction to shell-quote each argument. Values such as a `destinationPath` containing whitespace (for example, `s3://my bucket/wal`) were word-split by the POSIX shell and passed to the WAL restore tool as separate arguments. ([#10518](cloudnative-pg/cloudnative-pg#10518)) <!-- 1.29 1.28 1.25 --> - Tightened `recoveryTarget` validation in the admission webhook: `targetXID` must now be a non-negative 32-bit integer, and `targetName` must be shorter than 64 bytes and free of ASCII control characters. Malformed values are rejected at admission instead of failing later during PostgreSQL recovery. ([#10565](cloudnative-pg/cloudnative-pg#10565)) <!-- 1.29 1.28 1.25 --> - Fixed snapshot restores failing when leftover `pgsql_tmp*` directories were present in the data directory. ([#10447](cloudnative-pg/cloudnative-pg#10447)) <!-- 1.29 1.28 1.25 --> - Fixed a deadlock occurring when PVC storage size and resource requests are changed simultaneously. ([#10427](cloudnative-pg/cloudnative-pg#10427)) <!-- 1.29 1.28 1.25 -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2.15.2→v2.15.4v5.9.1→v5.9.2Release Notes
goreleaser/goreleaser (github.com/goreleaser/goreleaser)
v2.15.4Compare Source
v2.15.3Compare Source
Announcement
Read the official announcement: Announcing GoReleaser v2.15.
Changelog
Security updates
d1cdbb2: sec: prevent secret leaks in logs and improve redaction (@caarlos0)Bug fixes
cba5b9f: fix(aur,krew,aursources): apply template to SkipUpload before checking its value (@caarlos0)4d1924d: fix(blob): evaluate template in provider before checking for S3 ACL support (@caarlos0)38577c6: fix(build): fix broken backtick and missing GOMIPS64 in --single-target help text (@caarlos0)ff02d82: fix(build): prevent panic when command has single element (@caarlos0)2a10e3e: fix(bun): show original target in parse error, not trimmed version (@caarlos0)88daaf3: fix(changelog): prevent panic on negative abbrev values other than -1 (@caarlos0)6c7798f: fix(changelog): use %t instead of %b for bool in debug log format (@caarlos0)f39c233: fix(checksums): prevent panic in sort when line has no double-space (@caarlos0)f8e7ec9: fix(client): off-by-one in truncateReleaseBody (#6534) (@caarlos0)d788340: fix(docker): check evaluated Dockerfile template for emptiness, not raw template (@caarlos0)921e6cb: fix(docker): fix "did you mean?" suggestion always suggesting the input name itself (@caarlos0)9e9f87c: fix(docker): prevent panic in parsePlatform with missing arch (@caarlos0)a0875e5: fix(docker): remove duplicate WithOutput in error wrapping (@caarlos0)e7a4afa: fix(dockers/v2): digest log (@caarlos0)4a9d25f: fix(gitea): fix misleading 'using master' log when default branch lookup fails (@caarlos0)1ca21f0: fix(github): nil-guard resp in updateRelease before accessing Header (@caarlos0)ff9035a: fix(http): remove double-close of response body in executeHTTPRequest (@caarlos0)50a034d: fix(nfpm): show correct value in content mtime parse error (@caarlos0)206120a: fix(opencollective): handle errors, more tests (#6512) (@caarlos0)e15276b: fix(partial): add missing ppc64le to archExtraEnvs map (@caarlos0)a05ecb8: fix(partial): use GGOMIPS64/GOMIPS64 instead of GGOMIPS/GOMIPS for mips64/mips64le (@caarlos0)f48613d: fix(redact): return 0 bytes written on underlying write failure (@caarlos0)44133de: fix(release): log correct repo name for GitLab and Gitea releases (@caarlos0)e4262d5: fix(rust): glibc version stripping for gnueabi/gnueabihf targets (@caarlos0)889107f: fix(rust): show all workspace members in error message, not just first (@caarlos0)634a0cb: fix(rust): strip custom glibc version from target for rustup command (@mozzieongit)292203e: fix(sbom): use matched filename for artifact Name instead of glob pattern (@caarlos0)053c68a: fix(srpm): remove double close of package file (@caarlos0)0099417: fix(targz): close gzip reader in Copy (@caarlos0)c2f16b9: fix(tmpl): return error instead of panicking on invalid filter regex (@caarlos0)ed201bd: fix(winget): use filepath.Join instead of path.Join for local filesystem paths (@caarlos0)a176567: fix: add retries everywhere possible (#6528) (@caarlos0)6a19ea9: fix: better log (@caarlos0)e09e23a: fix: check buildx for dockers v1 (#6526) (@caarlos0)be89f2a: fix: guard iterator bounds in gerrors Details (@caarlos0)8b77358: fix: handle io.ReadAll error in bodyOf instead of discarding it (@caarlos0)5042b84: fix: preserve original error details in git config extraction (@caarlos0)68ebdd7: fix: remove duplicate WithField in gitea client push logging (#6532) (@caarlos0)60028b1: fix: replace recursive rateLimitChecker with single check and context-aware sleep (@caarlos0)7e7f9b2: fix: use Mattermost.Color instead of Teams.Color in mattermost pipe (#6533) (@caarlos0)e31f01d: fix: use typed structs for LinkedIn API responses (@caarlos0)f236e07: refactor(http): remove global assetOpen mock pattern (@caarlos0)17d61b6: refactor(tests): simplify client tests with helpers (#6537) (@caarlos0)3dba4a6: refactor: use io.WriteString (@caarlos0)Documentation updates
9ee7477: docs(rust): document ability to specify custom glibc version (@mozzieongit)c4a137b: docs: Fix signature verification of checksum file (#6513) (@nicholasdille)5a92c1d: docs: add v2.15 banner (@caarlos0)e9c3a11: docs: ai usage guidelines (#6525) (@caarlos0)ad86abe: docs: fix output (@caarlos0)1171390: docs: regenerate favicons with transparent background (#6521) (@caarlos0)Other work
035aafd: chore: go 1.26.2 (#6547) (@caarlos0)Full Changelog: goreleaser/goreleaser@v2.15.2...v2.15.3
Helping out
This release is only possible thanks to all the support of some awesome people!
Want to be one of them?
You can sponsor, get a Pro License or contribute with code.
Where to go next?
jackc/pgx (github.com/jackc/pgx/v5)
v5.9.2Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.