IMPORTANT NOTE: The minimum values for the repo-storage-upload-chunk-size option have increased. They now represent the minimum allowed by the vendors.

Fix deadlock due to logging in signal handler.

A signal that arrived while a lock was held by gmtime_r(), e.g. the SIGTERM sent by stop with --force, could deadlock when the signal handler logged. The signal handler now logs with only async-signal-safe functions.

HTTP support for S3, GCS, and Azure.

An object store endpoint can now begin with http:// to connect without TLS. HTTPS is still used when the endpoint does not specify a protocol.

Allow expiration of oldest full backup regardless of current retention.

The expire option --oldest expires the oldest full backup and the backups that depend on it regardless of the retention settings, e.g. when the repository is running out of space. WAL before the oldest remaining full backup is expired as well.

Support for Azure managed identities.

Set repo-azure-key-type=auto to fetch credentials automatically using managed identities instead of configuring them. The credentials are refreshed before they expire.

Experimental support for S3 EKS pod identity.

Set repo-s3-key-type=pod-id to fetch credentials automatically using EKS pod identity instead of configuring them. The credentials are refreshed before they expire.

Allow configuration of TLS cipher suites.

Set tls-cipher-12 for TLS 1.2 and tls-cipher-13 for TLS 1.3, e.g. for compliance. The cipher suites apply to every connection a process makes.

Allow process priority to be set.

priority sets the scheduling priority of processes from -20 to 19, as with nice. A higher value makes less likely to interfere with .

Allow dots in S3 bucket names when using path-style URIs.

Dots in a bucket name only cause a certificate host name mismatch with host-style URIs, so they are now allowed with repo-s3-uri-style=path, which most self-hosted S3 services use.

Require TLS >= 1.2 unless verification is disabled.

TLS 1.0 and 1.1 have been deprecated since 2021. Verification is always enabled for connections between hosts. When verification is disabled for an object store with repo-storage-verify-tls, e.g. for a self-signed certificate, every protocol version is allowed.

Dynamically size S3/GCS/Azure chunks for large uploads.

The number of chunks in an upload is limited, so with the default repo-storage-upload-chunk-size the largest file that could be uploaded was 50GiB to S3, 40GiB to GCS, and 200GiB to Azure. The chunk size now grows during an upload, so files up to 5TiB can be uploaded to S3 and GCS and up to 45TiB to Azure.

Optimize S3/GCS/Azure chunk size for small files.

The whole chunk buffer was allocated when a file was opened, although many files are smaller than a chunk. The buffer now grows as data arrives, which saves memory when small files are uploaded.

Remove support for PostgreSQL 9.5.

9.5 is no longer supported, per the policy of supporting five end-of-life versions of .

Improve logging of default for options with an unresolved dependency.

An option set in the configuration file was logged at the start of a command when its dependency was not resolved, although its default value was used. The option is no longer logged in this case.

Simplify the versioned types.

Use get_option() for tasks supported by the new meson version.

Simplify the option definitions in config.yaml.

Use JsonRead for all info JSON parsing.

Refactor StringId and option parsing.

Fix logging, formatting, and comments.

Remove explicit max_wal_senders/wal_level configuration from user guide.

max_wal_senders and wal_level have defaulted to the values the user guide requires since 10.

Clarify that bundling is useful for filesystems with large block sizes.

Bundling saves space on filesystems with large block sizes, where each small file takes a whole block.

Improve the documentation build.

Improve wording in the user guide.

Fix WAL segment numbering in command/expire unit test.

CI updates.