Skip to content

Commit

Permalink
docs: release notes for 1.23.2, 1.22.4, and 1.21.6 (EOL) (cloudnative…
Browse files Browse the repository at this point in the history
…-pg#4832)

Closes cloudnative-pg#4823

Signed-off-by: Gabriele Bartolini <[email protected]>
Signed-off-by: Marco Nenciarini <[email protected]>
Co-authored-by: Jaime Silvela <[email protected]>
Co-authored-by: Niccolò Fei <[email protected]>
Co-authored-by: Marco Nenciarini <[email protected]>
  • Loading branch information
4 people authored Jun 12, 2024
1 parent 7599043 commit c9ca547
Show file tree
Hide file tree
Showing 8 changed files with 289 additions and 47 deletions.
7 changes: 3 additions & 4 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,11 @@ body:
label: Version
description: What is the version of CloudNativePG you are running?
options:
- 1.23.1
- 1.22.3
- 1.21.5
- 1.23.2
- 1.22.4
- trunk (main)
- older in 1.23.x
- older in 1.22.x
- older in 1.21.x
- older minor (unsupported)
validations:
required: true
Expand Down
1 change: 1 addition & 0 deletions docs/src/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

History of user-visible changes for CloudNativePG, classified for each minor release.

<!-- - [CloudNativePG 1.24](release_notes/v1.24.md) -->
- [CloudNativePG 1.23](release_notes/v1.23.md)
- [CloudNativePG 1.22](release_notes/v1.22.md)
- [CloudNativePG 1.21](release_notes/v1.21.md)
Expand Down
116 changes: 91 additions & 25 deletions docs/src/release_notes/v1.21.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,82 @@ For a complete list of changes, please refer to the
[commits](https://github.com/cloudnative-pg/cloudnative-pg/commits/release-1.21)
on the release branch in GitHub.

## Version 1.21.5
## Version 1.21.6

**Release date:** Apr 24, 2024
**Release date:** Jun 12, 2024

!!! Warning
Version 1.21 is approaching its End-of-Life (EOL) on May 24, 2024.
If you haven't already, please begin planning for an upgrade promptly to
ensure continued support and security.
This is expected to be the last release in the 1.21.X series.
Users are encouraged to update to a newer minor version soon.

### Enhancements:

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

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

- `cnpg` plugin for `kubectl`:

- Enhanced support for ANSI colors in the plugin by adding the `--color`
option, which accepts `always`, `never`, and `auto` (default) as values
(#4775)
- The plugin is now available on Homebrew for macOS users (#4602)

### Fixes:

- Prevented fenced instances from entering an unnecessary loop and consuming
all available CPU (#4625)

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

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

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

- Prevented unnecessary shutdown of the instance manager (#4670)

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

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

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

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

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

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

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

- `cnpg` plugin for `kubectl`:

- Resolved an issue with listing PDBs using the `cnpg status` command (#4530)

### Changes

- Default operand image set to PostgreSQL 16.3 (#4584)
- Removed all RBAC requirements on namespace objects (#4753)

## Version 1.21.5

**Release date:** Apr 24, 2024

Enhancements:
### Enhancements:

- Users can now configure the `wal_log_hints` PostgreSQL parameter (#4218)
(#4218)
Expand All @@ -26,7 +92,7 @@ Enhancements:
- Error detection when invoking `barman-cloud-wal-restore` in `recovery`
bootstrap (#4101)

Fixes:
### Fixes:

- Ensured that before a switchover, the elected replica is in streaming
replication (#4288)
Expand All @@ -43,7 +109,7 @@ Fixes:
- Gracefully handle databases with no sequences in `sync-sequences` command
(#4346)

Changes:
### Changes:

- The Grafana dashboard now resides at
https://github.com/cloudnative-pg/grafana-dashboards (#4154)
Expand Down Expand Up @@ -102,7 +168,7 @@ Changes:

**Release date:** Feb 2, 2024

Enhancements:
### Enhancements:

- Tailor ephemeral volume storage in a Postgres cluster using a claim template
through the `ephemeralVolumeSource` option (#3678)
Expand All @@ -113,7 +179,7 @@ Enhancements:
- Allow customization of PostgreSQL's ident map file via the
`.spec.postgresql.pg_ident` stanza, through a list of user name maps (#3534)

Fixes:
### Fixes:

- Prevent an unrecoverable issue with `pg_rewind` failing due to
`postgresql.auto.conf` being read-only on clusters where the `ALTER SYSTEM`
Expand All @@ -133,15 +199,15 @@ Fixes:

**Release date:** Dec 21, 2023

Security:
### Security:

- By default, TLSv1.3 is now enforced on all PostgreSQL 12 or higher
installations. Additionally, users can configure the `ssl_ciphers`,
`ssl_min_protocol_version`, and `ssl_max_protocol_version` GUCs (#3408).
- Integration of Docker image scanning with Dockle and Snyk to enhance security
measures (#3300).

Enhancements:
### Enhancements:

- Improved reconciliation of external clusters (#3533).
- Introduction of the ability to enable/disable the `ALTER SYSTEM` command (#3535).
Expand All @@ -162,7 +228,7 @@ Enhancements:
- Addition of the `cnpg.io/podRole` label with a value of 'pooler' to every
pooler deployment, differentiating them from instance pods (#3396).

Fixes:
### Fixes:

- Reconciliation of metadata, annotations, and labels of `PodDisruptionBudget`
resources (#3312 and #3434).
Expand All @@ -181,15 +247,15 @@ Fixes:
- Reconciliation of the service of a `Pooler` and addition of the required labels (#3349).
- Extension of `Pooler` labels to the deployment as well, not just the pods (#3350).

Changes:
### Changes:

- Default operand image set to PostgreSQL 16.1 (#3270).

## Version 1.21.1

**Release date:** Nov 3, 2023

Enhancements:
### Enhancements:

- Introduce support for online/hot backups with volume snapshots by using the
PostgreSQL API for physical online base backups. Default configuration for
Expand All @@ -212,7 +278,7 @@ Enhancements:
- Allow the configuration of `max_prepared_statements` with the pgBouncer
`Pooler` resource (#3174)

Fixes:
### Fixes:

- Suspend WAL archiving during a switchover and resume it when it is completed
(#3227)
Expand All @@ -224,15 +290,15 @@ Fixes:
- Reduce the number of labels in `VolumeSnapshots` resources and render them
into more appropriate annotations (#3151)

Changes:
### Changes:

- Volume snapshot backups, introduced in 1.21.0, are now online/hot by default;
in order to restore offline/cold backups set `.spec.backup.volumeSnapshot` to
`false`
- Stop using the `postgresql.auto.conf` file inside PGDATA to control Postgres
replication settings, and replace it with a file named `override.conf` (#2812)

Technical enhancements:
### Technical enhancements:

- Use extended query protocol for PostgreSQL in the instance manager (#3152)

Expand All @@ -247,7 +313,7 @@ Technical enhancements:
carefully read the "Important Changes" section below, as well as the
[upgrade documentation](../installation_upgrade.md).

Features:
### Features:

- **Volume Snapshot support for backup and recovery:** leverage the standard
Kubernetes API on Volume Snapshots to take advantage of capabilities like
Expand All @@ -260,7 +326,7 @@ Features:
through the *stable* channel. Many thanks to EDB for donating the bundle of
their "EDB Postgres for Kubernetes" operator and adapting it for CloudNativePG.

Important Changes:
### Important Changes:

- Change the default value of `stopDelay` to 1800 seconds instead of 30 seconds
(#2848)
Expand All @@ -279,11 +345,11 @@ Important Changes:
- Stop supporting the `postgresql` label - replaced by `cnpg.io/cluster` in
1.18 (#2744)

Security:
### Security:

- Add a default `seccompProfile` to the operator deployment (#2926)

Enhancements:
### Enhancements:

- Enable bootstrap of a replica cluster from a consistent set of volume
snapshots (#2647)
Expand All @@ -306,7 +372,7 @@ Enhancements:
- Add primary timestamp and uptime to the kubectl plugin's `status` command
(#2953)

Fixes:
### Fixes:

- Ensure that the primary instance is always recreated first by prioritizing
ready PVCs with a primary role (#2544)
Expand Down Expand Up @@ -340,7 +406,7 @@ Fixes:
Grafana dashboard
- Enforce `standard_conforming_strings` in metric collection (#2888)

Changes:
### Changes:

- Set the default operand image to PostgreSQL 16.0
- Fencing now uses PostgreSQL's fast shutdown instead of smart shutdown to halt
Expand All @@ -354,7 +420,7 @@ Changes:
- Add the `cnpg.io/instanceRole` label while deprecating the existing `role`
label (#2915)

Technical enhancements:
### Technical enhancements:

- Replace `k8s-api-docgen` with `gen-crd-api-reference-docs` to automatically
build the API reference documentation (#2606)
Expand Down
Loading

0 comments on commit c9ca547

Please sign in to comment.