Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update all non-major go dependencies #27

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 2, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
github.com/cloudnative-pg/cloudnative-pg v1.22.1-0.20240123130737-a22a155b9eb8 -> v1.23.2 age adoption passing confidence require minor
github.com/cloudnative-pg/cnpg-i 4c0a1ac -> 2ad7cc7 age adoption passing confidence require digest
github.com/go-logr/logr v1.3.0 -> v1.4.2 age adoption passing confidence require minor
github.com/go-logr/zapr v1.2.4 -> v1.3.0 age adoption passing confidence require minor
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.0.1 -> v2.1.0 age adoption passing confidence require minor
github.com/snorwin/jsonpatch v1.4.0 -> v1.5.0 age adoption passing confidence require minor
github.com/spf13/cobra v1.8.0 -> v1.8.1 age adoption passing confidence require patch
github.com/spf13/viper v1.14.0 -> v1.19.0 age adoption passing confidence require minor
go.uber.org/zap v1.26.0 -> v1.27.0 age adoption passing confidence require minor
google.golang.org/grpc v1.60.1 -> v1.64.0 age adoption passing confidence require minor
k8s.io/api v0.28.4 -> v0.30.2 age adoption passing confidence require minor

Release Notes

cloudnative-pg/cloudnative-pg (github.com/cloudnative-pg/cloudnative-pg)

v1.23.2

Compare Source

Release date: Jun 12, 2024

Enhancements:
  • Enabled configuration of standby-sensitive parameters during recovery using a physical backup (#​4564)

  • Enabled the configuration of the liveness probe timeout via the .spec.livenessProbeTimeout option (#​4719)

  • cnpg plugin for kubectl:

    • Enhanced support for ANSI colors in the plugin by adding the --color option, which accepts always, never, and auto (default) as values (#​4775)
    • The plugin is now available on Homebrew for macOS users (#​4602)
Fixes:
  • Prevented fenced instances from entering an unnecessary loop and consuming all available CPU (#​4625)

  • Resolved an issue where the instance manager on the primary would indefinitely wait for the instance to start after encountering a failure following a stop operation (#​4434)

  • Fixed an issue where the interaction between hot_standby_feedback and managed cluster-level replication slots was preventing the autovacuum from operating correctly; this issue was causing disk space to remain occupied by dead tuples (#​4811)

  • Fixed a panic in the backup controller that occurred when pod container statuses were missing (#​4765)

  • Prevented unnecessary shutdown of the instance manager (#​4670)

  • Prevented unnecessary reloads of PostgreSQL configuration when unchanged (#​4531)

  • Prevented unnecessary reloads of the ident map by ensuring a consistent and unique method of writing its content (#​4648)

  • Avoided conflicts during phase registration by patching the status of the resource instead of updating it (#​4637)

  • Implemented a timeout when restarting PostgreSQL and lifting fencing (#​4504)

  • Ensured that a replica cluster is restarted after promotion to properly set the archive mode (#​4399)

  • Removed an unneeded concurrent keep-alive routine that was causing random failures in volume snapshot backups (#​4768)

  • Ensured correct parsing of the additional rows field returned when the pgaudit.log_rows option was enabled, preventing audit logs from being incorrectly routed to the normal log stream (#​4394)

  • cnpg plugin for kubectl:

    • Resolved an issue with listing PDBs using the cnpg status command (#​4530)
Changes
  • Default operand image set to PostgreSQL 16.3 (#​4584)
  • Removed all RBAC requirements on namespace objects (#​4753)

v1.23.1

Compare Source

Release date: Apr 29, 2024

Fixes:

  • Corrects the reconciliation of PodMonitor resources, which was failing due to a regression (#​4286)

v1.23.0

Compare Source

Release date: Apr 24, 2024

!!! Important "Important changes to Community Supported Versions" We've updated our support policy to streamline our focus on one supported minor release at a time, rather than two. Additionally, we've extended the supplementary support period for the previous minor release to 3 months.

Features:

  • PostgreSQL Image Catalogs: Introduced ClusterImageCatalog and ImageCatalog CRDs to manage operand container images based on PostgreSQL major version. This is facilitated through the Cluster's .spec.imageCatalogRef stanza. This feature provides an alternative to the imageName option and will eventually replace it as the default method to define operand container images.
  • User-Defined Replication Slots: Enhanced the synchronization of physical replication slots to cover user-defined replication slots on the primary, via the newly introduced stanza replicationSlots.synchronizeReplicas.
  • Configuration of Pod Disruption Budgets (PDB): Introduced the .spec.enablePDB field to disable PDBs on the primary instance, allowing proper eviction of the pod during maintenance operations. This is particularly useful for single-instance deployments. This feature is intended to replace the node maintenance window feature.

Enhancements:

  • Users now have the capability to transition an existing cluster into replica mode, simplifying cross-datacenter switchover operations (#​4261)
  • Users can now customize the connection pooler service, including its type, labels, and annotations (#​3384)
  • Users can now configure the wal_log_hints PostgreSQL parameter (#​4218) (#​4218)
  • Fully Qualified Domain Names (FQDN) in URIs for automatically generated secrets (#​4095)
  • Cleanup of instance Pods not owned by the Cluster during Cluster restore (#​4141)
  • Command output of the plugin’s status command to show the status of PDBs (#​4319)
  • Error detection when invoking barman-cloud-wal-restore in recovery bootstrap (#​4101)

Fixes:

  • Ensured that before a switchover, the elected replica is in streaming replication (#​4288)
  • Correctly handle parsing errors of instances' LSN when sorting them (#​4283)
  • Recreate the primary Pod if there are no healthy standbys available to promote (#​4132)
  • Cleanup PGDATA in case of failure of the restore job (#​4151)
  • Reload certificates on configuration update (#​3705)
  • cnpg plugin for kubectl:
    • Improve the arguments handling of destroy, fencing, and promote plugin commands (#​4280)
    • Correctly handle the percentage of the backup progress in cnpg status (#​4131)
    • Gracefully handle databases with no sequences in sync-sequences command (#​4346)

Changes:

v1.22.4

Compare Source

Release date: Jun 12, 2024

!!! Warning Version 1.22 is approaching its End-of-Life (EOL) on Jul 24, 2024. If you haven't already, please begin planning for an upgrade promptly to ensure continued support and security.

Enhancements:
  • Enabled configuration of standby-sensitive parameters during recovery using a physical backup (#​4564)

  • Enabled the configuration of the liveness probe timeout via the .spec.livenessProbeTimeout option (#​4719)

  • cnpg plugin for kubectl:

    • Enhanced support for ANSI colors in the plugin by adding the --color option, which accepts always, never, and auto (default) as values (#​4775)
    • The plugin is now available on Homebrew for macOS users (#​4602)
Fixes:
  • Prevented fenced instances from entering an unnecessary loop and consuming all available CPU (#​4625)

  • Resolved an issue where the instance manager on the primary would indefinitely wait for the instance to start after encountering a failure following a stop operation (#​4434)

  • Fixed an issue where the interaction between hot_standby_feedback and managed cluster-level replication slots was preventing the autovacuum from operating correctly; this issue was causing disk space to remain occupied by dead tuples (#​4811)

  • Fixed a panic in the backup controller that occurred when pod container statuses were missing (#​4765)

  • Prevented unnecessary shutdown of the instance manager (#​4670)

  • Prevented unnecessary reloads of PostgreSQL configuration when unchanged (#​4531)

  • Prevented unnecessary reloads of the ident map by ensuring a consistent and unique method of writing its content (#​4648)

  • Avoided conflicts during phase registration by patching the status of the resource instead of updating it (#​4637)

  • Implemented a timeout when restarting PostgreSQL and lifting fencing (#​4504)

  • Ensured that a replica cluster is restarted after promotion to properly set the archive mode (#​4399)

  • Removed an unneeded concurrent keep-alive routine that was causing random failures in volume snapshot backups (#​4768)

  • Ensured correct parsing of the additional rows field returned when the pgaudit.log_rows option was enabled, preventing audit logs from being incorrectly routed to the normal log stream (#​4394)

  • cnpg plugin for kubectl:

    • Resolved an issue with listing PDBs using the cnpg status command (#​4530)
Changes
  • Default operand image set to PostgreSQL 16.3 (#​4584)
  • Removed all RBAC requirements on namespace objects (#​4753)

v1.22.3

Compare Source

Release date: Apr 24, 2024

Enhancements:

  • Users can now configure the wal_log_hints PostgreSQL parameter (#​4218) (#​4218)
  • Fully Qualified Domain Names (FQDN) in URIs for automatically generated secrets (#​4095)
  • Cleanup of instance Pods not owned by the Cluster during Cluster restore (#​4141)
  • Error detection when invoking barman-cloud-wal-restore in recovery bootstrap (#​4101)

Fixes:

  • Ensured that before a switchover, the elected replica is in streaming replication (#​4288)
  • Correctly handle parsing errors of instances' LSN when sorting them (#​4283)
  • Recreate the primary Pod if there are no healthy standbys available to promote (#​4132)
  • Cleanup PGDATA in case of failure of the restore job (#​4151)
  • Reload certificates on configuration update (#​3705)
  • cnpg plugin for kubectl:
    • Improve the arguments handling of destroy, fencing, and promote plugin commands (#​4280)
    • Correctly handle the percentage of the backup progress in cnpg status (#​4131)
    • Gracefully handle databases with no sequences in sync-sequences command (#​4346)

Changes:

v1.22.2

Compare Source

Release date: Mar 14, 2024

Enhancements
  • Allow customization of the wal_level GUC in PostgreSQL (#​4020)
  • Add the cnpg.io/skipWalArchiving annotation to disable WAL archiving when set to enabled (#​4055)
  • Enrich the cnpg plugin for kubectl with the publication and subscription command groups to imperatively set up PostgreSQL native logical replication (#​4052)
  • Allow customization of CERTIFICATE_DURATION and EXPIRING_CHECK_THRESHOLD for automated management of TLS certificates handled by the operator (#​3686)
  • Retrieve the correct architecture's binary from the corresponding catalog in the running operator image during in-place updates, enabling the operator to inject the correct binary into any Pod with a supported architecture (#​3840)
  • Introduce initial support for tab-completion with the cnpg plugin for kubectl (#​3875)
Fixes
  • Properly synchronize PVC group labels with those on the pods, a critical aspect when all pods are deleted and the operator needs to decide which Pod to recreate first (#​3930)
  • Disable wal_sender_timeout when cloning a replica to prevent timeout errors due to slow connections (#​4080)
  • Ensure that volume snapshots are ready before initiating recovery bootstrap procedures, preventing an error condition where recovery with incomplete backups could enter an error loop (#​3663)
  • Prevent an error loop when unsetting connection limits in managed roles (#​3832)
  • Resolve a corner case in hibernation where the instance pod has been deleted, but the cluster status still has the hibernation condition set to false (#​3970)
  • Correctly detect Google Cloud capabilities for Barman Cloud (#​3931)
Security
  • Use Role instead of ClusterRole for operator permissions in OLM, requiring fewer privileges when installed on a per-namespace basis (#​3855, #​3990)
  • Enforce fully-qualified object names in SQL queries for the PgBouncer pooler (#​4080)
Changes
  • Follow Kubernetes recommendations to switch from client-side to server-side application of manifests, requiring the --server-side option by default when installing the operator (#​3729).
  • Set the default operand image to PostgreSQL 16.2 (#​3823).
go-logr/logr (github.com/go-logr/logr)

v1.4.2

Compare Source

What's Changed

Dependencies:

Full Changelog: go-logr/logr@v1.4.1...v1.4.2

v1.4.1

Compare Source

What's Changed

Full Changelog: go-logr/logr@v1.4.0...v1.4.1

v1.4.0

Compare Source

This release dramatically improves interoperability with Go's log/slog package. In particular, logr.NewContext and logr.NewContextWithSlogLogger use the same context key, which allows logr.FromContext and logr.FromContextAsSlogLogger to return logr.Logger or *slog.Logger respectively, including transparently converting each to the other as needed.

Functions logr/slogr.NewLogr and logr/slogr.ToSlogHandler have been superceded by logr.FromSlogHandler and logr.ToSlogHandler respectively, and type logr/slogr.SlogSink has been superceded by logr.SlogSink. All of the old names in logr/slogr remain, for compatibility.

Package logr/funcr now supports logr.SlogSink, meaning that it's output passes all but one of the Slog conformance tests (that exception being that funcr handles the timestamp itself).

Users who have a logr.Logger and need a *slog.Logger can call slog.New(logr.ToSlogHandler(...)) and all output will go through the same stack.

Users who have a *slog.Logger or slog.Handler can call logr.FromSlogHandler(...) and all output will go through the same stack.

What's Changed

New Contributors

Full Changelog: go-logr/logr@v1.3.0...v1.4.0

go-logr/zapr (github.com/go-logr/zapr)

v1.3.0

Compare Source

This release adds support for slog. zapr implements slogr.SlogSink and therefore can be used through slogr.NewSlogHandler as backend for slog.

What's Changed


New Contributors

Full Changelog: go-logr/zapr@v1.2.4...v1.3.0

grpc-ecosystem/go-grpc-middleware (github.com/grpc-ecosystem/go-grpc-middleware/v2)

v2.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: grpc-ecosystem/go-grpc-middleware@v2.0.1...v2.1.0

snorwin/jsonpatch (github.com/snorwin/jsonpatch)

v1.5.0

Compare Source

Features

Bug fixes
(None)

spf13/cobra (github.com/spf13/cobra)

v1.8.1

Compare Source

✨ Features

🐛 Bug fixes

🔧 Maintenance

🧪 Testing & CI/CD

✏️ Documentation

New Contributors


Thank you everyone who contributed to this release and all your hard work! Cobra and this community would never be possible without all of you!!!! 🐍

Full Changelog: spf13/cobra@v1.8.0...v1.8.1

spf13/viper (github.com/spf13/viper)

v1.19.0

Compare Source

What's Changed

Bug Fixes 🐛
Dependency Updates ⬆️

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the automated label Jul 2, 2024
@renovate renovate bot requested a review from sxd as a code owner July 2, 2024 12:37
@renovate renovate bot added the no-issue label Jul 2, 2024
@renovate renovate bot requested a review from armru as a code owner July 2, 2024 12:37
Copy link
Contributor Author

renovate bot commented Jul 2, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 29 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.21 -> 1.22.0
github.com/davecgh/go-spew v1.1.1 -> v1.1.2-0.20180830191138-d8f796af33cc
github.com/evanphx/json-patch/v5 v5.6.0 -> v5.9.0
github.com/fsnotify/fsnotify v1.6.0 -> v1.7.0
github.com/golang/protobuf v1.5.3 -> v1.5.4
github.com/google/uuid v1.5.0 -> v1.6.0
github.com/magiconair/properties v1.8.6 -> v1.8.7
github.com/pelletier/go-toml/v2 v2.0.6 -> v2.2.2
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.70.0 -> v0.74.0
github.com/prometheus/client_golang v1.17.0 -> v1.19.1
github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 -> v0.5.0
github.com/prometheus/common v0.44.0 -> v0.48.0
github.com/prometheus/procfs v0.11.1 -> v0.12.0
github.com/subosito/gotenv v1.4.1 -> v1.6.0
golang.org/x/exp v0.0.0-20231219160207-73b9e39aefca -> v0.0.0-20240531132922-fd00a4e0eefc
golang.org/x/net v0.20.0 -> v0.25.0
golang.org/x/oauth2 v0.13.0 -> v0.18.0
golang.org/x/sys v0.16.0 -> v0.20.0
golang.org/x/term v0.16.0 -> v0.20.0
golang.org/x/text v0.14.0 -> v0.15.0
golang.org/x/time v0.3.0 -> v0.5.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1 -> v0.0.0-20240318140521-94a12d6c2237
google.golang.org/protobuf v1.32.0 -> v1.34.2
k8s.io/apiextensions-apiserver v0.28.4 -> v0.30.1
k8s.io/apimachinery v0.28.4 -> v0.30.2
k8s.io/client-go v0.28.4 -> v0.30.1
k8s.io/klog/v2 v2.110.1 -> v2.120.1
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 -> v0.0.0-20240228011516-70dd3763d340
k8s.io/utils v0.0.0-20231127182322-b307cd553661 -> v0.0.0-20240502163921-fe8a2dddb1d0
sigs.k8s.io/controller-runtime v0.16.3 -> v0.18.3

sxd
sxd previously approved these changes Jul 2, 2024
@renovate renovate bot force-pushed the renovate/all-non-major-go-dependencies branch from cf33ca3 to acac33d Compare July 2, 2024 12:43
@fcanovai fcanovai force-pushed the renovate/all-non-major-go-dependencies branch from 91e630d to 378f37b Compare July 2, 2024 13:14
renovate bot and others added 2 commits July 2, 2024 15:15
| datasource | package                                         | from                                  | to                                 |
| ---------- | ----------------------------------------------- | ------------------------------------- | ---------------------------------- |
| go         | github.com/cloudnative-pg/cloudnative-pg        | v1.22.1-0.20240123130737-a22a155b9eb8 | v1.23.2                            |
| go         | github.com/cloudnative-pg/cnpg-i                | v0.0.0-20240124144003-4c0a1ac46426    | v0.0.0-20240702073529-2ad7cc75560e |
| go         | github.com/go-logr/logr                         | v1.3.0                                | v1.4.2                             |
| go         | github.com/go-logr/zapr                         | v1.2.4                                | v1.3.0                             |
| go         | github.com/grpc-ecosystem/go-grpc-middleware/v2 | v2.0.1                                | v2.1.0                             |
| go         | github.com/snorwin/jsonpatch                    | v1.4.0                                | v1.5.0                             |
| go         | github.com/spf13/cobra                          | v1.8.0                                | v1.8.1                             |
| go         | github.com/spf13/viper                          | v1.14.0                               | v1.19.0                            |
| go         | go.uber.org/zap                                 | v1.26.0                               | v1.27.0                            |
| go         | google.golang.org/grpc                          | v1.60.1                               | v1.64.0                            |
| go         | k8s.io/api                                      | v0.28.4                               | v0.30.2                            |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Renovate can create commits with lines over the default limit. We
change commitlint config to give a warning instead of an error.

Signed-off-by: Francesco Canovai <[email protected]>
@fcanovai fcanovai force-pushed the renovate/all-non-major-go-dependencies branch from 378f37b to 85228da Compare July 2, 2024 13:15
Copy link
Contributor Author

renovate bot commented Jul 2, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@fcanovai fcanovai merged commit c1425d1 into main Jul 2, 2024
2 checks passed
@fcanovai fcanovai deleted the renovate/all-non-major-go-dependencies branch July 2, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants