tag:github.com,2008:https://github.com/cloudnative-pg/cloudnative-pg/releases Release notes from cloudnative-pg 2026-03-13T08:52:37Z tag:github.com,2008:Repository/468311851/v1.29.0-rc1 2026-03-13T09:03:57Z v1.29.0-rc1 <p><strong>Release date:</strong> Mar 13, 2026</p> <h3>Important changes</h3> <ul> <li>Updated the deprecation notice for native (in-tree) Barman Cloud support to reflect that it will now be removed in CloudNativePG 1.30.0, rather than 1.29.0. Users are still encouraged to migrate to the Barman Cloud Plugin. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10167" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10167/hovercard">#10167</a>) </li> </ul> <h3>Features</h3> <ul> <li> <p><strong>PostgreSQL extensions in image catalogs</strong>: extended the <code>ImageCatalog</code> functionality to support PostgreSQL extensions. This allows users to define and manage extension-specific images within a catalog, simplifying the deployment of customized PostgreSQL builds. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9781" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9781/hovercard">#9781</a>)</p> </li> <li> <p><strong>Dynamic network access control via pod selectors</strong>: introduced the declarative definition of <code>podSelectorRefs</code> to manage <code>pg_hba.conf</code> rules dynamically. By using label selectors to identify client pods, the operator automatically resolves their ephemeral IP addresses and updates the PostgreSQL host-based authentication rules accordingly. This ensures that only authorized workloads in the same namespace can connect to the database, eliminating the need for manual IP management or static CIDR ranges. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10148" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10148/hovercard">#10148</a>)</p> </li> <li> <p><strong>Shared <code>ServiceAccount</code> support</strong>: added an optional <code>serviceAccountName</code> field to both <code>Cluster</code> and <code>Pooler</code> specifications. This allows multiple resources to share a pre-existing ServiceAccount, facilitating one-time IAM configurations (such as AWS IRSA, GCP Workload Identity, or Azure Workload Identity) across all clusters and poolers. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bozkayasalihx/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bozkayasalihx">@bozkayasalihx</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9287" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9287/hovercard">#9287</a>)</p> </li> </ul> <h3>Enhancements</h3> <ul> <li> <p>Improved the <code>Pooler</code> CRD with support for granular configuration of TLS cipher suites and minimum/maximum TLS versions. This enables administrators to meet strict security compliance requirements for pooler-to-client and pooler-to-server connections. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alex1989hu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alex1989hu">@alex1989hu</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9571" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9571/hovercard">#9571</a>) </p> </li> <li> <p>Improved the reliability of major upgrades by setting <code>BackoffLimit=0</code> on the upgrade job, preventing unnecessary retries of a failed <code>pg_upgrade</code>. The operator now automatically deletes the failed job when a user reverts the container image, allowing the cluster to restart gracefully on the original version. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10104" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10104/hovercard">#10104</a>) </p> </li> <li> <p>Improved the operator's observability by emitting native Kubernetes events during key phases of the reconciliation loop. This provides much better visibility into the operator's decision-making process and the lifecycle of managed resources directly through <code>kubectl get events</code>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10040" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10040/hovercard">#10040</a>)</p> </li> <li> <p>Extended support for the <code>cnpg.io/reconciliationDisabled</code> annotation on Backup resources. This allows administrators to temporarily freeze the operator's reconciliation logic for specific backup objects. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/GabriFedi97/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/GabriFedi97">@GabriFedi97</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10020" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10020/hovercard">#10020</a>)</p> </li> <li> <p>Added a <code>bin_path</code> field to the <code>postgresql.extensions</code> stanza, as well as in <code>ImageCatalog</code> and <code>ClusterImageCatalog</code> resources. This allows extensions to specify directory paths for external binaries, which are automatically appended to the <code>PATH</code> environment variable of the Postgres process. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10250" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10250/hovercard">#10250</a>)</p> </li> <li> <p>Implemented a finalizer for plugins to ensure that resources managed by a plugin are gracefully cleaned up when the corresponding service is deleted. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9560" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9560/hovercard">#9560</a>)</p> </li> <li> <p>Enhanced the security and reliability of role management by verifying the primary status of an instance before each reconciliation cycle. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9971" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9971/hovercard">#9971</a>) </p> </li> <li> <p>The operator now honors the <code>primaryUpdateMethod</code> when adding new PVCs to a cluster, ensuring that the rollout strategy (e.g., switchover vs. restart) is respected during storage expansion or additions. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9720" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9720/hovercard">#9720</a>)</p> </li> <li> <p>Refined the <code>alpha.cnpg.io/unrecoverable</code> annotation logic to allow it to function even on pods that have not yet reached the <code>Ready</code> state, facilitating the recovery of stuck instances. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9968" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9968/hovercard">#9968</a>) </p> </li> <li> <p>Introduced a "Terminal Error" phase for backups that encounter unrecoverable issues (such as invalid credentials or non-existent cloud buckets). This ensures the operator stops retrying doomed operations, preventing resource exhaustion and providing immediate, clear feedback in the status. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9353" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9353/hovercard">#9353</a>)</p> </li> <li> <p>Improved monitoring of long-running backups by introducing <code>reconciliationStartedAt</code> and <code>reconciliationTerminatedAt</code> fields to the <code>Backup</code> status. This change separates the operator's internal lifecycle from the actual backup tool's execution timing (<code>startedAt</code>/<code>stoppedAt</code>), allowing users to track when the operator begins processing a request. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9351" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9351/hovercard">#9351</a>)</p> </li> <li> <p>Added a <code>Pending</code> phase to the <code>Backup</code> status to explicitly indicate when a backup is queued and waiting for an available worker or instance availability. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9364" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9364/hovercard">#9364</a>)</p> </li> </ul> <h3>Security and Supply Chain</h3> <ul> <li> <p><strong>Security best practices integration</strong>: integrated the OpenSSF baseline scanner and added a <code>SECURITY-INSIGHTS.yaml</code> file to the repository to align with industry-standard security reporting. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10054" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10054/hovercard">#10054</a>, <a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10062" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10062/hovercard">#10062</a>) </p> </li> <li> <p><strong>SLSA provenance and SBOMs</strong>: added SLSA (Supply-chain Levels for Software Artifacts) provenance to release binaries and container images. Additionally, enabled Software Bill of Materials (SBOM) generation within the GoReleaser pipeline for improved dependency transparency. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10048" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10048/hovercard">#10048</a>, <a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10074" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10074/hovercard">#10074</a>) </p> </li> <li> <p><strong>Password leak prevention</strong>: fixed a potential security risk where PostgreSQL could leak role passwords in the logs during specific reconciliation phases. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9950" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9950/hovercard">#9950</a>) </p> </li> </ul> <h3>Changes</h3> <ul> <li>Updated the default PostgreSQL version to 18.3 (image <code>18.3-system-trixie</code>). (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10090" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10090/hovercard">#10090</a>) </li> </ul> <h3>Fixes</h3> <ul> <li> <p>Fixed an issue where replicas would get stuck in a <code>Pending</code> state if the <code>VolumeSnapshot</code> used for the initial bootstrap had been deleted. The operator now validates snapshot existence before use; if a snapshot is missing, it attempts to use the next available candidate or falls back to <code>pg_basebackup</code>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10192" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10192/hovercard">#10192</a>) </p> </li> <li> <p>Prevented the "supervised primary" rollout strategy from consuming all available rollout slots, which previously caused delays in scheduled updates. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ermakov-oleg/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ermakov-oleg">@ermakov-oleg</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9977" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9977/hovercard">#9977</a>) </p> </li> <li> <p>Fixed an issue where certain hot-standby parameter changes were not being correctly applied to replica clusters. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9952" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9952/hovercard">#9952</a>) </p> </li> <li> <p>Fixed a bug in the CNPG-I reconciler hook that could lead to skipping subsequent plugins when a "continue" result was returned. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sharifmshaker/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sharifmshaker">@sharifmshaker</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9978" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9978/hovercard">#9978</a>) </p> </li> <li> <p>Fixed a deadlock scenario that occurred when attempting to resize a filesystem on a PVC that was not currently attached to a Pod. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jmealo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jmealo">@jmealo</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9981" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9981/hovercard">#9981</a>) </p> </li> <li> <p>Refined the bootstrap recovery logic by adding a missing check for <code>ConnectionParameters</code> and updating error messages to include all valid configuration types. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10268" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10268/hovercard">#10268</a>) </p> </li> <li> <p>Volume names for extensions and tablespaces are now prefixed to avoid naming collisions with standard cluster volumes. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9973" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9973/hovercard">#9973</a>) </p> </li> <li> <p>Improved feedback when hibernating a non-healthy cluster. While the operator correctly defers hibernation until a cluster recovers, this state is now explicitly reported via a <code>WaitingForHealthy</code> condition, making it visible through <code>cnpg status</code>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10193" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10193/hovercard">#10193</a>) </p> </li> <li> <p>Removed unnecessary pod existence checks from the <code>FencingMetadataExecutor</code> to streamline the fencing process, particularly in environments where pods may be quickly deleted. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10035" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10035/hovercard">#10035</a>) </p> </li> <li> <p>Fixed the cluster and pooler service reconcilers to detect changes to all spec fields (such as <code>loadBalancerSourceRanges</code>) when using the patch update strategy, which previously only compared selectors, labels, and annotations. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10190" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10190/hovercard">#10190</a>) </p> </li> <li> <p>Fixed a race condition in the deprecated in-tree Barman Cloud backup implementation affecting parallel WAL restore, where prefetched files could be read while still being downloaded, causing PostgreSQL recovery to fail with "invalid checkpoint record" errors. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10285" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10285/hovercard">#10285</a>) </p> </li> <li> <p><code>cnpg</code> plugin:</p> <ul> <li>The cnpg plugin now correctly propagates ImagePullSecrets to the <code>pgbench</code> Job pod template. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/10174" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/10174/hovercard">#10174</a>) </li> </ul> </li> </ul> <h3>Supported versions</h3> <ul> <li>Kubernetes 1.35, 1.34, and 1.33</li> <li>PostgreSQL 18, 17, 16, 15, and 14 <ul> <li>PostgreSQL 18.3 is the default image</li> <li><a href="https://www.postgresql.org/support/versioning/" rel="nofollow">PostgreSQL 14 support ends on November 12, 2026</a></li> </ul> </li> </ul> github-actions[bot] tag:github.com,2008:Repository/468311851/v1.28.1 2026-02-06T13:07:38Z v1.28.1 <p><strong>Release date:</strong> Feb 5, 2026</p> <h3>Enhancements</h3> <ul> <li>Added support for Azure's <code>DefaultAzureCredential</code> authentication mechanism for backup and recovery operations. This can be enabled by setting <code>azureCredentials.useDefaultAzureCredentials: true</code> in the backup configuration, simplifying authentication in Azure environments without requiring explicit storage account keys or SAS tokens. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9468" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9468/hovercard">#9468</a>) </li> </ul> <h3>Fixes</h3> <ul> <li> <p>Fixed validation of PostgreSQL extension names containing underscores (e.g., <code>pg_partman</code>, <code>pg_ivm</code>). Extension names with underscores are automatically sanitized to use hyphens for Kubernetes volume names while preserving the original name in mount paths. Webhook validation prevents naming conflicts after sanitization. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/shusaan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/shusaan">@shusaan</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9386" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9386/hovercard">#9386</a>) </p> </li> <li> <p>Fixed a critical issue where the <code>TimelineID</code> in the cluster status was not reset to 1 after a major version upgrade. Because <code>pg_upgrade</code> initializes a new timeline, keeping the old ID (e.g., timeline 2) caused replicas to attempt to restore incompatible history files from object storage, leading to fatal "requested timeline is not a child of this server's history" errors. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9830" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9830/hovercard">#9830</a>) </p> </li> <li> <p>Fixed an issue where stale TLS status fields in the <code>Pooler</code> were not cleared after being removed from the specification. This was particularly critical when upgrading to v1.28.0, where the <code>ServerTLS</code> field was repurposed, causing PgBouncer to use incorrect certificates and resulting in "unsupported certificate" errors that blocked all application connectivity. The operator now explicitly clears <code>ServerCA</code>, <code>ClientCA</code>, <code>ClientTLS</code>, and <code>ServerTLS</code> status fields when they are no longer configured. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9397" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9397/hovercard">#9397</a>)</p> </li> <li> <p>Fixed a bug where replicas could enter a crash-loop by attempting to download timeline history files from future timelines. This occurred when stale files remained in the WAL archive from a previous cluster life, and replicas would incorrectly try to fetch them during recovery. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9650" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9650/hovercard">#9650</a>) </p> </li> <li> <p>Fixed a race condition in <code>replica_cluster</code> setups during designated primary transitions, preventing transient "no primary" states in the replica cluster. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9601" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9601/hovercard">#9601</a>) </p> </li> <li> <p>The backup controller now uses the unique instance session ID to detect instance manager restarts. This prevents the operator from incorrectly assuming a backup is still progressing if the underlying container has crashed and restarted, which previously led to orphaned backup objects. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9370" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9370/hovercard">#9370</a>) </p> </li> <li> <p>Fixed a validation gap in Azure object store configurations where the <code>storageAccount</code> was not required when using explicit credentials (such as a storage key or SAS token). The operator now enforces that a storage account name is provided in these cases and that <code>connectionString</code> is mutually exclusive with other authentication parameters. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9604" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9604/hovercard">#9604</a>) </p> </li> <li> <p>Optimized the deletion path so the operator begins cleaning up resources immediately when a cluster is marked for deletion. This significantly reduces the time a cluster remains in <code>Terminating</code> status while waiting for internal reconciliation loops. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9555" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9555/hovercard">#9555</a>) </p> </li> <li> <p>Fixed an issue where replication slots were not properly dropped from replicas when the feature was disabled or the cluster was reconfigured. This ensures that unused slots do not cause WAL build-up on the primary. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9381" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9381/hovercard">#9381</a>) </p> </li> <li> <p>Fixed an issue where <code>imagePullSecrets</code> were not added to the <code>ServiceAccount</code> created for the <code>Pooler</code>. Previously, these secrets were applied to the Deployment but not the SA, which caused image pull failures in restricted environments using certain security policies. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9427" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9427/hovercard">#9427</a>) </p> </li> <li> <p>Added a check to verify ownership before the operator deletes a <code>PodMonitor</code>. This prevents the operator from accidentally deleting manually managed monitoring resources that happen to share a name with expected CNPG resources. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/juliamertz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/juliamertz">@juliamertz</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9340" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9340/hovercard">#9340</a>) </p> </li> <li> <p>Fixed a bug where <code>pg_stat_archiver</code> metrics would continue to report stale data on standby instances after a switchover. The exporter now skips these metrics on standbys, as PostgreSQL only provides valid archiver stats on the primary. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9411" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9411/hovercard">#9411</a>) </p> </li> <li> <p>Clarified the interpretation of timestamp formats for recovery <code>targetTime</code>. Timestamps provided without an explicit timezone are now consistently interpreted as UTC. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pchovelon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pchovelon">@pchovelon</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8937" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8937/hovercard">#8937</a>) </p> </li> <li> <p>Fixed backup status updates to prevent "resource has been modified" errors during concurrent updates. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9551" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9551/hovercard">#9551</a>) </p> </li> <li> <p>Fixed event reporting to use the correct pod name when a backup pod is not found. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9552" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9552/hovercard">#9552</a>) </p> </li> <li> <p>Improved performance of scheduled backup operations for clusters with a very high number of historical backups. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9489" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9489/hovercard">#9489</a>) </p> </li> <li> <p>Fixed error handling when removing finalizers on <code>Database</code> objects. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9431" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9431/hovercard">#9431</a>) </p> </li> <li> <p><code>cnpg</code> plugin:</p> <ul> <li> <p>Updated the <code>status</code> command to display "Disabled" when the <code>skipWalArchiving</code> annotation is present on a cluster. This replaces confusing "starting up" or "unknown" states when WAL archiving is intentionally bypassed. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9709" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9709/hovercard">#9709</a>) </p> </li> <li> <p>Fixed the <code>logs --follow</code> command to continue polling for new pods instead of exiting prematurely when all current log streams complete. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9599" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9599/hovercard">#9599</a>) </p> </li> </ul> </li> </ul> github-actions[bot] tag:github.com,2008:Repository/468311851/v1.27.3 2026-02-06T13:08:15Z v1.27.3 <p><strong>Release date:</strong> Feb 5, 2026</p> <h3>Enhancements</h3> <ul> <li>Added support for Azure's <code>DefaultAzureCredential</code> authentication mechanism for backup and recovery operations. This can be enabled by setting <code>azureCredentials.useDefaultAzureCredentials: true</code> in the backup configuration, simplifying authentication in Azure environments without requiring explicit storage account keys or SAS tokens. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9468" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9468/hovercard">#9468</a>) </li> </ul> <h3>Fixes</h3> <ul> <li> <p>Fixed validation of PostgreSQL extension names containing underscores (e.g., <code>pg_partman</code>, <code>pg_ivm</code>). Extension names with underscores are automatically sanitized to use hyphens for Kubernetes volume names while preserving the original name in mount paths. Webhook validation prevents naming conflicts after sanitization. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/shusaan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/shusaan">@shusaan</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9386" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9386/hovercard">#9386</a>) </p> </li> <li> <p>Fixed a critical issue where the <code>TimelineID</code> in the cluster status was not reset to 1 after a major version upgrade. Because <code>pg_upgrade</code> initializes a new timeline, keeping the old ID (e.g., timeline 2) caused replicas to attempt to restore incompatible history files from object storage, leading to fatal "requested timeline is not a child of this server's history" errors. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9830" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9830/hovercard">#9830</a>) </p> </li> <li> <p>Fixed a bug where replicas could enter a crash-loop by attempting to download timeline history files from future timelines. This occurred when stale files remained in the WAL archive from a previous cluster life, and replicas would incorrectly try to fetch them during recovery. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9650" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9650/hovercard">#9650</a>) </p> </li> <li> <p>Fixed a race condition in <code>replica_cluster</code> setups during designated primary transitions, preventing transient "no primary" states in the replica cluster. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9601" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9601/hovercard">#9601</a>) </p> </li> <li> <p>The backup controller now uses the unique instance session ID to detect instance manager restarts. This prevents the operator from incorrectly assuming a backup is still progressing if the underlying container has crashed and restarted, which previously led to orphaned backup objects. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9370" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9370/hovercard">#9370</a>) </p> </li> <li> <p>Fixed a validation gap in Azure object store configurations where the <code>storageAccount</code> was not required when using explicit credentials (such as a storage key or SAS token). The operator now enforces that a storage account name is provided in these cases and that <code>connectionString</code> is mutually exclusive with other authentication parameters. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9604" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9604/hovercard">#9604</a>) </p> </li> <li> <p>Optimized the deletion path so the operator begins cleaning up resources immediately when a cluster is marked for deletion. This significantly reduces the time a cluster remains in <code>Terminating</code> status while waiting for internal reconciliation loops. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9555" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9555/hovercard">#9555</a>) </p> </li> <li> <p>Fixed an issue where replication slots were not properly dropped from replicas when the feature was disabled or the cluster was reconfigured. This ensures that unused slots do not cause WAL build-up on the primary. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9381" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9381/hovercard">#9381</a>) </p> </li> <li> <p>Fixed an issue where <code>imagePullSecrets</code> were not added to the <code>ServiceAccount</code> created for the <code>Pooler</code>. Previously, these secrets were applied to the Deployment but not the SA, which caused image pull failures in restricted environments using certain security policies. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9427" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9427/hovercard">#9427</a>) </p> </li> <li> <p>Added a check to verify ownership before the operator deletes a <code>PodMonitor</code>. This prevents the operator from accidentally deleting manually managed monitoring resources that happen to share a name with expected CNPG resources. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/juliamertz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/juliamertz">@juliamertz</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9340" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9340/hovercard">#9340</a>) </p> </li> <li> <p>Fixed a bug where <code>pg_stat_archiver</code> metrics would continue to report stale data on standby instances after a switchover. The exporter now skips these metrics on standbys, as PostgreSQL only provides valid archiver stats on the primary. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9411" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9411/hovercard">#9411</a>) </p> </li> <li> <p>Clarified the interpretation of timestamp formats for recovery <code>targetTime</code>. Timestamps provided without an explicit timezone are now consistently interpreted as UTC. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pchovelon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pchovelon">@pchovelon</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8937" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8937/hovercard">#8937</a>) </p> </li> <li> <p>Fixed backup status updates to prevent "resource has been modified" errors during concurrent updates. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9551" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9551/hovercard">#9551</a>) </p> </li> <li> <p>Fixed event reporting to use the correct pod name when a backup pod is not found. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9552" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9552/hovercard">#9552</a>) </p> </li> <li> <p>Improved performance of scheduled backup operations for clusters with a very high number of historical backups. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9489" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9489/hovercard">#9489</a>) </p> </li> <li> <p>Fixed error handling when removing finalizers on <code>Database</code> objects. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9431" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9431/hovercard">#9431</a>) </p> </li> <li> <p><code>cnpg</code> plugin:</p> <ul> <li> <p>Updated the <code>status</code> command to display "Disabled" when the <code>skipWalArchiving</code> annotation is present on a cluster. This replaces confusing "starting up" or "unknown" states when WAL archiving is intentionally bypassed. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9709" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9709/hovercard">#9709</a>) </p> </li> <li> <p>Fixed the <code>logs --follow</code> command to continue polling for new pods instead of exiting prematurely when all current log streams complete. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9599" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9599/hovercard">#9599</a>) </p> </li> </ul> </li> </ul> github-actions[bot] tag:github.com,2008:Repository/468311851/v1.28.0 2025-12-09T17:21:42Z v1.28.0 <p><strong>Release date:</strong> Dec 9, 2025</p> <h3>Features</h3> <ul> <li> <p><strong>Quorum-Based Failover Promoted to Stable</strong>: Promoted the quorum-based failover feature, introduced experimentally in 1.27.0, to a stable API. This data-driven failover mechanism is now configured via the <code>spec.postgresql.synchronous.failoverQuorum</code> field, graduating from the previous <code>alpha.cnpg.io/failoverQuorum</code> annotation. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8589" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8589/hovercard">#8589</a>)</p> </li> <li> <p><strong>Declarative Foreign Data Management</strong>: Introduced comprehensive declarative management for Foreign Data Wrappers (FDW) by extending the <code>Database</code> CRD. This feature adds the <code>.spec.fdws</code> and <code>.spec.servers</code> fields, allowing you to manage FDW extensions and their corresponding foreign servers directly from the <code>Database</code> resource. This work was implemented by Ying Zhu (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/EdwinaZhu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/EdwinaZhu">@EdwinaZhu</a>) as part of the LFX Mentorship Program 2025 Term 2. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/7942" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/7942/hovercard">#7942</a>, <a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8401" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8401/hovercard">#8401</a>)</p> </li> </ul> <h3>Changes</h3> <ul> <li> <p>Updated the default PostgreSQL version to <code>18.1-system-trixie</code>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9178" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9178/hovercard">#9178</a>) </p> </li> <li> <p>Updated the default PgBouncer version to <strong>1.25.1</strong> for new <code>Pooler</code> deployments. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9367" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9367/hovercard">#9367</a>) </p> </li> </ul> <h3>Enhancements</h3> <ul> <li> <p>Enabled simultaneous image and configuration changes when using <code>primaryUpdateMethod: restart</code>, allowing you to update the container image (including PostgreSQL version or extensions) and PostgreSQL configuration settings in the same operation. Note that when using <code>primaryUpdateMethod: switchover</code>, image and configuration changes must still be performed separately to avoid configuration mismatches during the switchover process. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8241" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8241/hovercard">#8241</a>)</p> </li> <li> <p>Improved network failure detection for replica instances by setting the default <code>tcp_user_timeout</code> to 5 seconds. This change helps replicas detect and recover from silent network drops more quickly. Previously, replicas could wait up to 127 seconds before detecting such failures; with the new timeout, they reconnect to the primary within 5 seconds. To preserve the previous behavior, set <code>STANDBY_TCP_USER_TIMEOUT</code> to <code>0</code> in the operator configuration. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9317" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9317/hovercard">#9317</a>)</p> </li> <li> <p>Adopted standard Kubernetes recommended labels (e.g., <code>app.kubernetes.io/name</code>) for all resources generated by CloudNativePG (Clusters, Backups, Poolers, etc.). Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JefeDavis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JefeDavis">@JefeDavis</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8087" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8087/hovercard">#8087</a>)</p> </li> <li> <p>Introduced <code>securityContext</code> at the pod level and <code>containerSecurityContext</code> for individual containers (including <code>postgres</code>, <code>init</code>, and sidecars). This provides granular control over security settings, replacing the previous cluster-wide <code>postgres</code> and <code>operator</code> user settings. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/x0ddf/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/x0ddf">@x0ddf</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/6614" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/6614/hovercard">#6614</a>)</p> </li> <li> <p>Introduced the <code>alpha.cnpg.io/unrecoverable=true</code> annotation for replica pods. When applied, this annotation instructs the operator to permanently delete the instance by removing its Pod and PVCs, after which it will recreate the replica from the primary. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8178" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8178/hovercard">#8178</a>)</p> </li> <li> <p>Introduced a new caching layer for user-defined monitoring queries to reduce load on the PostgreSQL database. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8003" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8003/hovercard">#8003</a>)</p> </li> <li> <p>Enhanced PgBouncer integration by automatically setting <code>auth_dbname</code> to the <code>pgbouncer</code> database, simplifying auth setup. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8671" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8671/hovercard">#8671</a>)</p> </li> <li> <p>Allowed providing stage-specific <code>pg_restore</code> options (<code>preRestore</code>, <code>postRestore</code>, <code>dataRestore</code>) during database import. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hanshal101/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hanshal101">@hanshal101</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/7690" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/7690/hovercard">#7690</a>)</p> </li> <li> <p>Added the PostgreSQL <code>majorVersion</code> to the <code>Backup</code> object's status for easier identification and management. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8464" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8464/hovercard">#8464</a>) </p> </li> <li> <p>Enhanced cluster restore to wait for all init containers to complete before starting the restore process. This ensures that backup tools running in init containers finish preparing the data before the restore begins. The implementation correctly handles Kubernetes init container sidecars by ignoring those with <code>RestartPolicy=Always</code>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9026" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9026/hovercard">#9026</a>)</p> </li> <li> <p>Added the <code>PGBOUNCER_IMAGE_NAME</code> operator configuration parameter to allow overriding the default PgBouncer image. This is useful for air-gapped environments or when using internal registries. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9232" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9232/hovercard">#9232</a>) </p> </li> <li> <p><code>cnpg</code> plugin:</p> <ul> <li> <p>Added a <code>--timeout</code> flag to the <code>kubectl cnpg status</code> command for configuring the timeout for filesystem operations such as calculating cluster size. The default remains 10 seconds but can be adjusted for large clusters where operations may take longer. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9201" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9201/hovercard">#9201</a>) </p> </li> <li> <p>Improved <code>cnpg report</code> to generate more shell-friendly file names. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8984" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8984/hovercard">#8984</a>) </p> </li> </ul> </li> </ul> <h3>Security</h3> <ul> <li> <p>Allowed providing fine-grained custom TLS configurations for PgBouncer. The <code>Pooler</code> CRD was extended with <code>clientTLSSecret</code>, <code>clientCASecret</code>, <code>serverTLSSecret</code>, and <code>serverCASecret</code> fields under <code>.spec.pgbouncer</code>. These fields enable users to supply their own certificates for both client-to-pooler and pooler-to-server connections, taking precedence over the operator-generated certificates. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8692" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8692/hovercard">#8692</a>)</p> </li> <li> <p>Added optional TLS support for the operator's metrics server (port 8080). This feature is opt-in and enabled by setting the <code>METRICS_CERT_DIR</code> environment variable, which instructs the operator to look for <code>tls.crt</code> and <code>tls.key</code> files in the specified directory. When unset, the server continues to use HTTP for backward compatibility. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8997" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8997/hovercard">#8997</a>)</p> </li> <li> <p>Enabled <code>cnpg report operator</code> to work with minimal permissions by making only the operator deployment required. All other resources (pods, secrets, config maps, events, webhooks, and OLM data) are now optional and collected on a best-efforts basis. The command gracefully handles permission errors for those resources by logging clear warnings and continuing report generation with available data, rather than failing completely. This enables least-privileged access, where users may have limited, namespace-scoped permissions. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8982" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8982/hovercard">#8982</a>)</p> </li> </ul> <h3>Fixes</h3> <ul> <li> <p>Improved resilience of all probe types (liveness, readiness, and startup) to transient Kubernetes API server connectivity issues. Probes now use a caching mechanism that falls back to cached cluster definitions during brief network interruptions, preventing unnecessary pod restarts and probe failures. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9148" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9148/hovercard">#9148</a>) </p> </li> <li> <p>Fixed the <code>CheckEmptyWalArchive</code> safeguard to run correctly when restoring from a volume snapshot using CNPG-I backup/WAL plugins (e.g., <code>plugin-barman-cloud</code>). Previously, this check was skipped for plugin-based implementations. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9306" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9306/hovercard">#9306</a>) </p> </li> <li> <p>Improved error reporting when ImageCatalog retrieval fails. The operator now emits a Warning event and logs errors for all failure types, not just <code>NotFound</code> errors, improving visibility into configuration issues. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9266" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9266/hovercard">#9266</a>) </p> </li> <li> <p>Fixed TLS certificate verification issues when connecting to CNPG-I plugins by adding the <code>cnpg.io/pluginServerName</code> annotation. This allows customizing the DNS name used for certificate verification in environments where the plugin's certificate uses a different DNS name than the Service name. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9222" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9222/hovercard">#9222</a>) </p> </li> <li> <p>Fixed an issue where the instance manager controller could fail to restart after an error, reporting a "controller already exists" message. The controller now uses <code>SkipNameValidation</code> for subsequent initialization attempts. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mateusoliveira43/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mateusoliveira43">@mateusoliveira43</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9123" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9123/hovercard">#9123</a>) </p> </li> <li> <p>Fixed incorrect WAL restore path handling in plugins when the destination path is absolute, preventing path duplication issues. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Endevir/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Endevir">@Endevir</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9093" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9093/hovercard">#9093</a>) </p> </li> <li> <p>Fixed the <code>CREATE PUBLICATION</code> SQL generation for multi-table publications to be backward-compatible with PostgreSQL 13+. The previously generated syntax was only valid for PostgreSQL 15+ and caused syntax errors on older versions. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8888" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8888/hovercard">#8888</a>) </p> </li> <li> <p>Fixed backup failures in complex pod definitions by reliably selecting the <code>postgres</code> container by name instead of by index. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Joda89/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Joda89">@Joda89</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8964" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8964/hovercard">#8964</a>) </p> </li> <li> <p><code>cnpg</code> plugin:</p> <ul> <li>Fixed bugs in <code>cnpg report</code> log collection, especially when fetching previous logs. The collector now correctly fetches previous and current logs in separate requests and gracefully handles missing previous logs (e.g., on containers with no restart history), ensuring current logs are always collected. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8992" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8992/hovercard">#8992</a>) </li> </ul> </li> </ul> <h3>Supported versions</h3> <ul> <li>Kubernetes 1.34, 1.33, and 1.32</li> <li>PostgreSQL 18, 17, 16, 15, and 14 <ul> <li>PostgreSQL 18.1 is the default image</li> </ul> </li> </ul> github-actions[bot] tag:github.com,2008:Repository/468311851/v1.27.2 2025-12-09T16:11:52Z v1.27.2 <p><strong>Release date:</strong> Dec 9, 2025</p> <p>!!! Warning Version 1.27 will be supported until 9 March 2026.</p> <h3>Changes</h3> <ul> <li> <p>Updated the default PostgreSQL version to <code>18.1-system-trixie</code>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9178" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9178/hovercard">#9178</a>) </p> </li> <li> <p>Updated the default PgBouncer version to <strong>1.25.1</strong> for new <code>Pooler</code> deployments. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9367" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9367/hovercard">#9367</a>) </p> </li> </ul> <h3>Enhancements</h3> <ul> <li> <p>Added the PostgreSQL <code>majorVersion</code> to the <code>Backup</code> object's status for easier identification and management. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8464" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8464/hovercard">#8464</a>) </p> </li> <li> <p>Added the <code>PGBOUNCER_IMAGE_NAME</code> operator configuration parameter to allow overriding the default PgBouncer image. This is useful for air-gapped environments or when using internal registries. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9232" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9232/hovercard">#9232</a>) </p> </li> <li> <p><code>cnpg</code> plugin:</p> <ul> <li> <p>Added a <code>--timeout</code> flag to the <code>kubectl cnpg status</code> command for configuring the timeout for filesystem operations such as calculating cluster size. The default remains 10 seconds but can be adjusted for large clusters where operations may take longer. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9201" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9201/hovercard">#9201</a>) </p> </li> <li> <p>Improved <code>cnpg report</code> to generate more shell-friendly file names. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8984" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8984/hovercard">#8984</a>) </p> </li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li> <p>Improved resilience of all probe types (liveness, readiness, and startup) to transient Kubernetes API server connectivity issues. Probes now use a caching mechanism that falls back to cached cluster definitions during brief network interruptions, preventing unnecessary pod restarts and probe failures. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9148" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9148/hovercard">#9148</a>) </p> </li> <li> <p>Fixed the <code>CheckEmptyWalArchive</code> safeguard to run correctly when restoring from a volume snapshot using CNPG-I backup/WAL plugins (e.g., <code>plugin-barman-cloud</code>). Previously, this check was skipped for plugin-based implementations. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9306" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9306/hovercard">#9306</a>) </p> </li> <li> <p>Improved error reporting when ImageCatalog retrieval fails. The operator now emits a Warning event and logs errors for all failure types, not just <code>NotFound</code> errors, improving visibility into configuration issues. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9266" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9266/hovercard">#9266</a>) </p> </li> <li> <p>Fixed TLS certificate verification issues when connecting to CNPG-I plugins by adding the <code>cnpg.io/pluginServerName</code> annotation. This allows customizing the DNS name used for certificate verification in environments where the plugin's certificate uses a different DNS name than the Service name. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9222" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9222/hovercard">#9222</a>) </p> </li> <li> <p>Fixed an issue where the instance manager controller could fail to restart after an error, reporting a "controller already exists" message. The controller now uses <code>SkipNameValidation</code> for subsequent initialization attempts. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mateusoliveira43/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mateusoliveira43">@mateusoliveira43</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9123" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9123/hovercard">#9123</a>) </p> </li> <li> <p>Fixed incorrect WAL restore path handling in plugins when the destination path is absolute, preventing path duplication issues. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Endevir/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Endevir">@Endevir</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9093" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9093/hovercard">#9093</a>) </p> </li> <li> <p>Fixed the <code>CREATE PUBLICATION</code> SQL generation for multi-table publications to be backward-compatible with PostgreSQL 13+. The previously generated syntax was only valid for PostgreSQL 15+ and caused syntax errors on older versions. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8888" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8888/hovercard">#8888</a>) </p> </li> <li> <p>Fixed backup failures in complex pod definitions by reliably selecting the <code>postgres</code> container by name instead of by index. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Joda89/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Joda89">@Joda89</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8964" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8964/hovercard">#8964</a>) </p> </li> <li> <p><code>cnpg</code> plugin:</p> <ul> <li>Fixed bugs in <code>cnpg report</code> log collection, especially when fetching previous logs. The collector now correctly fetches previous and current logs in separate requests and gracefully handles missing previous logs (e.g., on containers with no restart history), ensuring current logs are always collected. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8992" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8992/hovercard">#8992</a>) </li> </ul> </li> </ul> github-actions[bot] tag:github.com,2008:Repository/468311851/v1.26.3 2025-12-09T15:39:36Z v1.26.3 <p><strong>Release date:</strong> Dec 9, 2025</p> <p>!!! Warning This is the final release in the 1.26.x series. Users are strongly encouraged to upgrade to a newer minor version, as 1.26 is no longer supported.</p> <h3>Changes</h3> <ul> <li> <p>Updated the default PostgreSQL version to <code>18.1-system-trixie</code>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9178" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9178/hovercard">#9178</a>) </p> </li> <li> <p>Updated the default PgBouncer version to <strong>1.25.1</strong> for new <code>Pooler</code> deployments. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9367" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9367/hovercard">#9367</a>) </p> </li> </ul> <h3>Enhancements</h3> <ul> <li> <p>Added the PostgreSQL <code>majorVersion</code> to the <code>Backup</code> object's status for easier identification and management. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8464" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8464/hovercard">#8464</a>) </p> </li> <li> <p>Added the <code>PGBOUNCER_IMAGE_NAME</code> operator configuration parameter to allow overriding the default PgBouncer image. This is useful for air-gapped environments or when using internal registries. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9232" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9232/hovercard">#9232</a>) </p> </li> <li> <p><code>cnpg</code> plugin:</p> <ul> <li>Improved <code>cnpg report</code> to generate more shell-friendly file names. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8984" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8984/hovercard">#8984</a>) </li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li> <p>Fixed the <code>CheckEmptyWalArchive</code> safeguard to run correctly when restoring from a volume snapshot using CNPG-I backup/WAL plugins (e.g., <code>plugin-barman-cloud</code>). Previously, this check was skipped for plugin-based implementations. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9306" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9306/hovercard">#9306</a>) </p> </li> <li> <p>Fixed TLS certificate verification issues when connecting to CNPG-I plugins by adding the <code>cnpg.io/pluginServerName</code> annotation. This allows customizing the DNS name used for certificate verification in environments where the plugin's certificate uses a different DNS name than the Service name. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9222" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9222/hovercard">#9222</a>) </p> </li> <li> <p>Fixed an issue where the instance manager controller could fail to restart after an error, reporting a "controller already exists" message. The controller now uses <code>SkipNameValidation</code> for subsequent initialization attempts. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mateusoliveira43/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mateusoliveira43">@mateusoliveira43</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9123" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9123/hovercard">#9123</a>) </p> </li> <li> <p>Fixed incorrect WAL restore path handling in plugins when the destination path is absolute, preventing path duplication issues. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Endevir/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Endevir">@Endevir</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9093" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9093/hovercard">#9093</a>) </p> </li> <li> <p>Fixed the <code>CREATE PUBLICATION</code> SQL generation for multi-table publications to be backward-compatible with PostgreSQL 13+. The previously generated syntax was only valid for PostgreSQL 15+ and caused syntax errors on older versions. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8888" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8888/hovercard">#8888</a>) </p> </li> <li> <p>Fixed backup failures in complex pod definitions by reliably selecting the <code>postgres</code> container by name instead of by index. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Joda89/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Joda89">@Joda89</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8964" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8964/hovercard">#8964</a>) </p> </li> <li> <p><code>cnpg</code> plugin:</p> <ul> <li>Fixed bugs in <code>cnpg report</code> log collection, especially when fetching previous logs. The collector now correctly fetches previous and current logs in separate requests and gracefully handles missing previous logs (e.g., on containers with no restart history), ensuring current logs are always collected. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8992" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8992/hovercard">#8992</a>) </li> </ul> </li> </ul> github-actions[bot] tag:github.com,2008:Repository/468311851/v1.28.0-rc2 2025-11-28T17:04:44Z v1.28.0-rc2 <p><strong>Release date:</strong> Nov 28, 2025</p> <h3>Enhancements:</h3> <ul> <li> <p>Improved network failure detection for replica instances by setting the default <code>tcp_user_timeout</code> to 5 seconds. This change helps replicas detect and recover from silent network drops more quickly. Previously, replicas could wait up to 127 seconds before detecting such failures; with the new timeout, they reconnect to the primary within 5 seconds. To preserve the previous behavior, set <code>STANDBY_TCP_USER_TIMEOUT</code> to <code>0</code> in the operator configuration. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9317" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9317/hovercard">#9317</a>)</p> </li> <li> <p>Enhanced cluster restore to wait for all init containers to complete before starting the restore process. This ensures that backup tools running in init containers finish preparing the data before the restore begins. The implementation correctly handles Kubernetes init container sidecars by ignoring those with <code>RestartPolicy=Always</code>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9026" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9026/hovercard">#9026</a>)</p> </li> </ul> <ul> <li> <p>Added the <code>PGBOUNCER_IMAGE_NAME</code> operator configuration parameter to allow overriding the default PgBouncer image. This is useful for air-gapped environments or when using internal registries. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9232" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9232/hovercard">#9232</a>)</p> </li> <li> <p><code>cnpg</code> plugin:</p> <ul> <li>Added a <code>--timeout</code> flag to the <code>kubectl cnpg status</code> command for configuring the timeout for filesystem operations such as calculating cluster size. The default remains 10 seconds but can be adjusted for large clusters where operations may take longer. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9201" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9201/hovercard">#9201</a>)</li> </ul> </li> </ul> <h3>Fixes:</h3> <ul> <li>Improved resilience of all probe types (liveness, readiness, and startup) to transient Kubernetes API server connectivity issues. Probes now use a caching mechanism that falls back to cached cluster definitions during brief network interruptions, preventing unnecessary pod restarts and probe failures. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9148" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9148/hovercard">#9148</a>)</li> </ul> <ul> <li>Fixed the <code>CheckEmptyWalArchive</code> safeguard to run correctly when restoring from a volume snapshot using CNPG-I backup/WAL plugins (e.g., <code>plugin-barman-cloud</code>). Previously, this check was skipped for plugin-based implementations. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9306" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9306/hovercard">#9306</a>)</li> </ul> <ul> <li>Improved error reporting when ImageCatalog retrieval fails. The operator now emits a Warning event and logs errors for all failure types, not just <code>NotFound</code> errors, improving visibility into configuration issues. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9266" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9266/hovercard">#9266</a>)</li> </ul> <ul> <li>Fixed TLS certificate verification issues when connecting to CNPG-I plugins by adding the <code>cnpg.io/pluginServerName</code> annotation. This allows customizing the DNS name used for certificate verification in environments where the plugin's certificate uses a different DNS name than the Service name. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9222" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9222/hovercard">#9222</a>)</li> </ul> <ul> <li>Fixed an issue where the instance manager controller could fail to restart after an error, reporting a "controller already exists" message. The controller now uses <code>SkipNameValidation</code> for subsequent initialization attempts. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mateusoliveira43/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mateusoliveira43">@mateusoliveira43</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9123" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9123/hovercard">#9123</a>)</li> </ul> <ul> <li>Fixed incorrect WAL restore path handling in plugins when the destination path is absolute, preventing path duplication issues. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Endevir/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Endevir">@Endevir</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/9093" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/9093/hovercard">#9093</a>)</li> </ul> github-actions[bot] tag:github.com,2008:Repository/468311851/v1.28.0-rc1 2025-11-07T16:25:23Z v1.28.0-rc1 <p><strong>Release date:</strong> Nov 7, 2025</p> <h3>Features</h3> <ul> <li> <p><strong>Quorum-Based Failover Promoted to Stable</strong>: Promoted the quorum-based failover feature, introduced experimentally in 1.27.0, to a stable API. This data-driven failover mechanism is now configured via the <code>spec.postgresql.synchronous.failoverQuorum</code> field, graduating from the previous <code>alpha.cnpg.io/failoverQuorum</code> annotation. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8589" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8589/hovercard">#8589</a>)</p> </li> <li> <p><strong>Declarative Foreign Data Management</strong>: Introduced comprehensive declarative management for Foreign Data Wrappers (FDW) by extending the <code>Database</code> CRD. This feature adds the <code>.spec.fdws</code> and <code>.spec.servers</code> fields, allowing you to manage FDW extensions and their corresponding foreign servers directly from the <code>Database</code> resource. This work was implemented by Ying Zhu (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/EdwinaZhu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/EdwinaZhu">@EdwinaZhu</a>) as part of the LFX Mentorship Program 2025 Term 2. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/7942" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/7942/hovercard">#7942</a>, <a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8401" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8401/hovercard">#8401</a>)</p> </li> </ul> <h3>Enhancements:</h3> <ul> <li> <p>Enabled simultaneous image and configuration changes, allowing you to update the container image (including PostgreSQL version or extensions) and PostgreSQL configuration settings in the same operation. The operator first applies the image change, followed by the configuration changes in a subsequent rollout, ensuring safe and consistent cluster updates. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8115" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8115/hovercard">#8115</a>)</p> </li> <li> <p>Introduced <code>securityContext</code> at the pod level and <code>containerSecurityContext</code> for individual containers (including <code>postgres</code>, <code>init</code>, and sidecars). This provides granular control over security settings, replacing the previous cluster-wide <code>postgres</code> and <code>operator</code> user settings. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/x0ddf/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/x0ddf">@x0ddf</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/6614" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/6614/hovercard">#6614</a>)</p> </li> <li> <p>Adopted standard Kubernetes recommended labels (e.g., <code>app.kubernetes.io/name</code>) for all resources generated by CloudNativePG (Clusters, Backups, Poolers, etc.). Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JefeDavis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JefeDavis">@JefeDavis</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8087" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8087/hovercard">#8087</a>)</p> </li> <li> <p>Introduced a new caching layer for user-defined monitoring queries to reduce load on the PostgreSQL database. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8003" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8003/hovercard">#8003</a>)</p> </li> <li> <p>Introduced the <code>alpha.cnpg.io/unrecoverable=true</code> annotation for replica pods. When applied, this annotation instructs the operator to permanently delete the instance by removing its Pod and PVCs, after which it will recreate the replica from the primary. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8178" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8178/hovercard">#8178</a>)</p> </li> <li> <p>Enhanced PgBouncer integration by automatically setting <code>auth_dbname</code> to the <code>pgbouncer</code> database, simplifying auth setup. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8671" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8671/hovercard">#8671</a>)</p> </li> <li> <p>Allowed providing stage-specific <code>pg_restore</code> options (<code>preRestore</code>, <code>postRestore</code>, <code>dataRestore</code>) during database import. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hanshal101/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hanshal101">@hanshal101</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/7690" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/7690/hovercard">#7690</a>)</p> </li> <li> <p>Added the PostgreSQL <code>majorVersion</code> to the <code>Backup</code> object's status for easier identification and management. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8464" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8464/hovercard">#8464</a>)</p> </li> </ul> <h3>Security:</h3> <ul> <li> <p>Allowed providing fine-grained custom TLS configurations for PgBouncer. The <code>Pooler</code> CRD was extended with <code>clientTLSSecret</code>, <code>clientCASecret</code>, <code>serverTLSSecret</code>, and <code>serverCASecret</code> fields under <code>.spec.pgbouncer</code>. These fields enable users to supply their own certificates for both client-to-pooler and pooler-to-server connections, taking precedence over the operator-generated certificates. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8692" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8692/hovercard">#8692</a>)</p> </li> <li> <p>Added optional TLS support for the operator's metrics server (port 8080). This feature is opt-in and enabled by setting the <code>METRICS_CERT_DIR</code> environment variable, which instructs the operator to look for <code>tls.crt</code> and <code>tls.key</code> files in the specified directory. When unset, the server continues to use HTTP for backward compatibility. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8997" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8997/hovercard">#8997</a>)</p> </li> <li> <p>Enabled <code>cnpg report operator</code> to work with minimal permissions by making only the operator deployment required. All other resources (pods, secrets, config maps, events, webhooks, and OLM data) are now optional and collected on a best-efforts basis. The command gracefully handles permission errors for those resources by logging clear warnings and continuing report generation with available data, rather than failing completely. This enables least-privileged access, where users may have limited, namespace-scoped permissions. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8982" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8982/hovercard">#8982</a>)</p> </li> </ul> <h3>Fixes:</h3> <ul> <li> <p>Fixed the <code>CREATE PUBLICATION</code> SQL generation for multi-table publications to be backward-compatible with PostgreSQL 13+. The previously generated syntax was only valid for PostgreSQL 15+ and caused syntax errors on older versions. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8888" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8888/hovercard">#8888</a>)</p> </li> <li> <p>Fixed backup failures in complex pod definitions by reliably selecting the <code>postgres</code> container by name instead of by index. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8964" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8964/hovercard">#8964</a>)</p> </li> <li> <p><code>cnpg</code> plugin:</p> <ul> <li>Fixed bugs in <code>cnpg report</code> log collection, especially when fetching previous logs. The collector now correctly fetches previous and current logs in separate requests and gracefully handles missing previous logs (e.g., on containers with no restart history), ensuring current logs are always collected. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8992" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8992/hovercard">#8992</a>)</li> </ul> </li> </ul> <h3>Supported versions</h3> <ul> <li>Kubernetes 1.34, 1.33, and 1.32</li> <li>PostgreSQL 18, 17, 16, 15, and 14 <ul> <li>PostgreSQL 18.0 is the default image</li> </ul> </li> </ul> github-actions[bot] tag:github.com,2008:Repository/468311851/v1.27.1 2025-10-23T13:40:02Z v1.27.1 <p><strong>Release date:</strong> Oct 23, 2025</p> <h3>Changes</h3> <ul> <li> <p>Delayed the decommissioning of native in-core support for Barman Cloud to at least version 1.29. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8670" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8670/hovercard">#8670</a>)</p> </li> <li> <p>Adopted the new format of <code>postgres-containers</code> and <code>postgis-containers</code> images and image catalog artifacts, and <strong>updated</strong> the default PostgreSQL version to <code>18.0-system-trixie</code> (PostgreSQL 18 is now supported). (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8578" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8578/hovercard">#8578</a>, <a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8760" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8760/hovercard">#8760</a>, <a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8558" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8558/hovercard">#8558</a>)</p> </li> <li> <p>Deprecated the <code>monitoring.enablePodMonitor</code> field in the <code>Cluster</code> and <code>Pooler</code> resources. This field will be removed in a future release. Users who rely on <code>PodMonitor</code> resources should create them manually instead. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8753" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8753/hovercard">#8753</a>)</p> </li> </ul> <h3>Enhancements</h3> <ul> <li> <p>Added support for overriding the PgBouncer <code>auth_type</code>, <code>server_tls_sslmode</code>, and <code>client_tls_sslmode</code> settings, which were previously hardcoded. Default values remain consistent with the former behavior but can now be customized when required. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8674" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8674/hovercard">#8674</a>)</p> </li> <li> <p>Added a <code>CHECKPOINT</code> step before PostgreSQL smart and fast shutdowns to reduce shutdown duration and replica promotion time, especially on systems with a high <code>checkpoint_timeout</code>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8867" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8867/hovercard">#8867</a>)</p> </li> <li> <p>Added a warning in the instance manager for deprecated or unsupported OS versions, based on the official <code>postgres-containers</code> project. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8601" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8601/hovercard">#8601</a>)</p> </li> <li> <p>Improved certificate parsing error reporting. Failures now log specific errors instead of a generic message, aiding troubleshooting. This is particularly relevant after the <a title="CVE-2025-58187" data-hovercard-type="advisory" data-hovercard-url="/advisories/GHSA-frhw-mqj2-wxw2/hovercard" href="https://github.com/advisories/GHSA-frhw-mqj2-wxw2">CVE-2025-58187</a> fix in Go 1.25.2 and 1.24.8, which may trigger parsing failures for invalid DNS SANs. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8801" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8801/hovercard">#8801</a>)</p> </li> <li> <p>Added a check to ensure the destination WAL archive path is empty when bootstrapping a cluster using the <code>pg_basebackup</code> method, consistent with other bootstrap methods. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8895" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8895/hovercard">#8895</a>)</p> </li> <li> <p>Added validation to prevent backups from running on hibernated clusters. Backups attempted on such clusters now fail with reason <code>ClusterIsHibernated</code>, following the standard prerequisite check pattern. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8870" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8870/hovercard">#8870</a>)</p> </li> <li> <p>Added support for <code>pprof</code> profiling. Instances can now enable the <code>pprof</code> tool by adding the <code>alpha.cnpg.io/enableInstancePprof</code> annotation to the <code>Cluster</code> resource for advanced debugging. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/7876" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/7876/hovercard">#7876</a>)</p> </li> <li> <p><code>cnpg</code> plugin:</p> <ul> <li> <p>Updated the Flexible I/O Tester (FIO) image to <code>wallnerryan/fiotools-aio:v2</code>, as provided by Ryan Wallner. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8847" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8847/hovercard">#8847</a>)</p> </li> <li> <p>Enhanced the <code>cnpg status backup</code> command to provide more detailed status information when using a <code>barman-cloud</code>-based backup plugin. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8780" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8780/hovercard">#8780</a>, <a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8690" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8690/hovercard">#8690</a>)</p> </li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li> <p>Fixed backup restoration failures when using custom WAL segment sizes with parallel WAL recovery. The operator no longer manages the end-of-WAL file marker during restoration, preventing errors when backups span multiple WAL segments. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8873" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8873/hovercard">#8873</a>)</p> </li> <li> <p>Fixed a bug in major upgrades where a volume snapshot from a previous minor version could be incorrectly used to optimize replica creation. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8475" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8475/hovercard">#8475</a>)</p> </li> <li> <p>Fixed <code>initdb</code> to wait for the application user secret before bootstrapping a new cluster, preventing potential race conditions. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8663" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8663/hovercard">#8663</a>)</p> </li> </ul> <ul> <li>Fixed quorum-based failover to work correctly in clusters with only two instances using synchronous replication. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8680" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8680/hovercard">#8680</a>)</li> </ul> <ul> <li> <p>Fixed configuration hash calculation to ignore internal configuration fields, preventing unnecessary reconciliations. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8868" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8868/hovercard">#8868</a>)</p> </li> <li> <p>Fixed the connection retry logic in the <code>cnpgi</code> plugin. The reconciliation loop now detects connection pool changes correctly and uses exponential backoff to reduce "closed pool" errors. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8554" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8554/hovercard">#8554</a>)</p> </li> <li> <p>Fixed volume snapshot usage during replica scaling to work with backup plugins. Previously, this optimization was only available with the in-tree backup implementation, but now clusters using backup plugins can also leverage volume snapshots when creating new replicas. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8506" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8506/hovercard">#8506</a>)</p> </li> <li> <p>Fixed the <code>Pooler</code> templating to correctly inherit settings for the bootstrap controller init container. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8394" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8394/hovercard">#8394</a>)</p> </li> <li> <p>Fixed webhook errors to use the correct API group (<code>postgresql.cnpg.io</code>) in <code>Pooler</code> and backup webhooks, ensuring consistent API error reporting. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8485" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8485/hovercard">#8485</a>)</p> </li> <li> <p>Fixed a potential nil pointer dereference in the hibernation reconciler when handling errors. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/PascalBourdier/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/PascalBourdier">@PascalBourdier</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8756" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8756/hovercard">#8756</a>)</p> </li> <li> <p>Fixed an issue in the environment cache where callers could inadvertently modify shared data. The <code>LoadEnv</code> function now returns a copy of cached environment slices to prevent mutations from affecting the cache. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8880" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8880/hovercard">#8880</a>)</p> </li> </ul> github-actions[bot] tag:github.com,2008:Repository/468311851/v1.26.2 2025-10-23T13:18:48Z v1.26.2 <p><strong>Release date:</strong> Oct 23, 2025</p> <h3>Changes</h3> <ul> <li> <p>Delayed the decommissioning of native in-core support for Barman Cloud to at least version 1.29. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8670" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8670/hovercard">#8670</a>)</p> </li> <li> <p>Adopted the new format of <code>postgres-containers</code> and <code>postgis-containers</code> images and image catalog artifacts, and <strong>updated</strong> the default PostgreSQL version to <code>18.0-system-trixie</code> (PostgreSQL 18 is now supported). (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8578" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8578/hovercard">#8578</a>, <a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8760" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8760/hovercard">#8760</a>, <a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8558" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8558/hovercard">#8558</a>)</p> </li> <li> <p>Deprecated the <code>monitoring.enablePodMonitor</code> field in the <code>Cluster</code> and <code>Pooler</code> resources. This field will be removed in a future release. Users who rely on <code>PodMonitor</code> resources should create them manually instead. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8753" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8753/hovercard">#8753</a>)</p> </li> </ul> <h3>Enhancements</h3> <ul> <li> <p>Added support for overriding the PgBouncer <code>auth_type</code>, <code>server_tls_sslmode</code>, and <code>client_tls_sslmode</code> settings, which were previously hardcoded. Default values remain consistent with the former behavior but can now be customized when required. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8674" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8674/hovercard">#8674</a>)</p> </li> <li> <p>Added a <code>CHECKPOINT</code> step before PostgreSQL smart and fast shutdowns to reduce shutdown duration and replica promotion time, especially on systems with a high <code>checkpoint_timeout</code>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8867" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8867/hovercard">#8867</a>)</p> </li> <li> <p>Added a warning in the instance manager for deprecated or unsupported OS versions, based on the official <code>postgres-containers</code> project. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8601" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8601/hovercard">#8601</a>)</p> </li> <li> <p>Improved certificate parsing error reporting. Failures now log specific errors instead of a generic message, aiding troubleshooting. This is particularly relevant after the <a title="CVE-2025-58187" data-hovercard-type="advisory" data-hovercard-url="/advisories/GHSA-frhw-mqj2-wxw2/hovercard" href="https://github.com/advisories/GHSA-frhw-mqj2-wxw2">CVE-2025-58187</a> fix in Go 1.25.2 and 1.24.8, which may trigger parsing failures for invalid DNS SANs. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8801" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8801/hovercard">#8801</a>)</p> </li> <li> <p>Added a check to ensure the destination WAL archive path is empty when bootstrapping a cluster using the <code>pg_basebackup</code> method, consistent with other bootstrap methods. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8895" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8895/hovercard">#8895</a>)</p> </li> <li> <p>Added validation to prevent backups from running on hibernated clusters. Backups attempted on such clusters now fail with reason <code>ClusterIsHibernated</code>, following the standard prerequisite check pattern. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8870" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8870/hovercard">#8870</a>)</p> </li> <li> <p>Added support for <code>pprof</code> profiling. Instances can now enable the <code>pprof</code> tool by adding the <code>alpha.cnpg.io/enableInstancePprof</code> annotation to the <code>Cluster</code> resource for advanced debugging. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/7876" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/7876/hovercard">#7876</a>)</p> </li> <li> <p><code>cnpg</code> plugin:</p> <ul> <li> <p>Updated the Flexible I/O Tester (FIO) image to <code>wallnerryan/fiotools-aio:v2</code>, as provided by Ryan Wallner. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8847" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8847/hovercard">#8847</a>)</p> </li> <li> <p>Enhanced the <code>cnpg status backup</code> command to provide more detailed status information when using a <code>barman-cloud</code>-based backup plugin. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8780" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8780/hovercard">#8780</a>, <a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8690" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8690/hovercard">#8690</a>)</p> </li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li> <p>Fixed backup restoration failures when using custom WAL segment sizes with parallel WAL recovery. The operator no longer manages the end-of-WAL file marker during restoration, preventing errors when backups span multiple WAL segments. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8873" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8873/hovercard">#8873</a>)</p> </li> <li> <p>Fixed a bug in major upgrades where a volume snapshot from a previous minor version could be incorrectly used to optimize replica creation. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8475" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8475/hovercard">#8475</a>)</p> </li> <li> <p>Fixed <code>initdb</code> to wait for the application user secret before bootstrapping a new cluster, preventing potential race conditions. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8663" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8663/hovercard">#8663</a>)</p> </li> <li> <p>Fixed the connection retry logic in the <code>cnpgi</code> plugin. The reconciliation loop now detects connection pool changes correctly and uses exponential backoff to reduce "closed pool" errors. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8554" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8554/hovercard">#8554</a>)</p> </li> <li> <p>Fixed volume snapshot usage during replica scaling to work with backup plugins. Previously, this optimization was only available with the in-tree backup implementation, but now clusters using backup plugins can also leverage volume snapshots when creating new replicas. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8506" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8506/hovercard">#8506</a>)</p> </li> <li> <p>Fixed the <code>Pooler</code> templating to correctly inherit settings for the bootstrap controller init container. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8394" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8394/hovercard">#8394</a>)</p> </li> <li> <p>Fixed webhook errors to use the correct API group (<code>postgresql.cnpg.io</code>) in <code>Pooler</code> and backup webhooks, ensuring consistent API error reporting. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8485" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8485/hovercard">#8485</a>)</p> </li> <li> <p>Fixed a potential nil pointer dereference in the hibernation reconciler when handling errors. Contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/PascalBourdier/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/PascalBourdier">@PascalBourdier</a>. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8756" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8756/hovercard">#8756</a>)</p> </li> <li> <p>Fixed an issue in the environment cache where callers could inadvertently modify shared data. The <code>LoadEnv</code> function now returns a copy of cached environment slices to prevent mutations from affecting the cache. (<a href="https://github.com/cloudnative-pg/cloudnative-pg/pull/8880" data-hovercard-type="pull_request" data-hovercard-url="/cloudnative-pg/cloudnative-pg/pull/8880/hovercard">#8880</a>)</p> </li> </ul> github-actions[bot]