diff --git a/CHANGELOG.md b/CHANGELOG.md index a77594f..88c425c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project follows [Semantic Versioning](https://semver.org/). ## Unreleased +## 0.9.10 - 2026-11-15 + +### Fixed + +- Remove deprecated `stop-auto` from generated pgBackRest configuration. Keep `start-fast` and the existing backup schedules and retention. +- Update the development lockfile to patched Rails, Rack, XML parser and HTML sanitizer releases. + ## 0.9.9 - 2026-10-02 ### Fixed diff --git a/Gemfile.lock b/Gemfile.lock index 81e141f..f5e772f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - active_postgres (0.9.9) + active_postgres (0.9.10) bcrypt_pbkdf (~> 1.1) ed25519 (~> 1.4) pg (~> 1.6) @@ -12,9 +12,9 @@ PATH GEM remote: https://rubygems.org/ specs: - actionpack (8.1.3.1) - actionview (= 8.1.3.1) - activesupport (= 8.1.3.1) + actionpack (8.1.4.1) + actionview (= 8.1.4.1) + activesupport (= 8.1.4.1) nokogiri (>= 1.8.5) rack (>= 2.2.4) rack-session (>= 1.0.1) @@ -22,13 +22,13 @@ GEM rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) useragent (~> 0.16) - actionview (8.1.3.1) - activesupport (= 8.1.3.1) + actionview (8.1.4.1) + activesupport (= 8.1.4.1) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) - rails-html-sanitizer (~> 1.6) - activesupport (8.1.3.1) + rails-html-sanitizer (~> 1.6, >= 1.7.2) + activesupport (8.1.4.1) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) @@ -51,7 +51,7 @@ GEM thor (~> 1.0) concurrent-ruby (1.3.8) connection_pool (3.0.2) - crass (1.0.7) + crass (1.0.8) drb (2.2.3) ed25519 (1.4.0) erb (6.0.7) @@ -68,9 +68,9 @@ GEM language_server-protocol (3.17.0.6) lint_roller (1.1.0) logger (1.7.0) - loofah (2.25.2) + loofah (2.25.3) crass (~> 1.0.2) - nokogiri (>= 1.12.0) + nokogiri (>= 1.19.5) minitest (6.0.6) drb (~> 2.0) prism (~> 1.5) @@ -79,12 +79,13 @@ GEM net-ssh (>= 2.6.5, < 8.0.0) net-sftp (4.0.0) net-ssh (>= 5.0.0, < 8.0.0) - net-ssh (7.3.3) - nokogiri (1.19.4-aarch64-linux-gnu) + net-ssh (7.3.10) + logger + nokogiri (1.19.7-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.19.4-arm64-darwin) + nokogiri (1.19.7-arm64-darwin) racc (~> 1.4) - nokogiri (1.19.4-x86_64-linux-gnu) + nokogiri (1.19.7-x86_64-linux-gnu) racc (~> 1.4) ostruct (0.6.3) parallel (2.2.0) @@ -100,7 +101,7 @@ GEM prettyprint (0.2.0) prism (1.9.0) racc (1.8.1) - rack (3.2.7) + rack (3.2.8) rack-session (2.1.2) base64 (>= 0.1.0) rack (>= 3.0.0) @@ -112,12 +113,12 @@ GEM activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.7.1) - loofah (~> 2.25, >= 2.25.2) + rails-html-sanitizer (1.7.2) + loofah (~> 2.25, >= 2.25.3) nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) - railties (8.1.3.1) - actionpack (= 8.1.3.1) - activesupport (= 8.1.3.1) + railties (8.1.4.1) + actionpack (= 8.1.4.1) + activesupport (= 8.1.4.1) irb (~> 1.13) rackup (>= 1.0.0) rake (>= 12.2) diff --git a/README.md b/README.md index 8c685c3..a6b5f03 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,11 @@ capacity planning, monitoring, backups, recovery drills, and failover decisions. - **Rails Integration**: Automatic database.yml config, migration guard, read replica routing - **Modular Components**: Core, Performance Tuning (opt-in), repmgr, PgBouncer, pgBackRest, Monitoring, SSL, Extensions +Version 0.9.10 removes deprecated `stop-auto` from generated pgBackRest +configuration. Existing installations can remove that line from their +pgBackRest configuration without restarting PostgreSQL. Backup schedules, +retention and `start-fast` remain unchanged. + ## Quick Start ### 1. Install diff --git a/lib/active_postgres/version.rb b/lib/active_postgres/version.rb index bd351df..60769e5 100644 --- a/lib/active_postgres/version.rb +++ b/lib/active_postgres/version.rb @@ -1,3 +1,3 @@ module ActivePostgres - VERSION = '0.9.9'.freeze + VERSION = '0.9.10'.freeze end diff --git a/templates/pgbackrest.conf.erb b/templates/pgbackrest.conf.erb index 0cdabae..9e3ce0f 100644 --- a/templates/pgbackrest.conf.erb +++ b/templates/pgbackrest.conf.erb @@ -69,9 +69,8 @@ process-max=<%= pgbackrest_config[:process_max] || 2 %> archive-async=y spool-path=/var/spool/pgbackrest -# Start/Stop (for consistent backups) +# Start the backup checkpoint promptly. start-fast=y -stop-auto=y [main] pg1-path=/var/lib/postgresql/<%= config.version %>/main diff --git a/test/components/pgbackrest_templates_test.rb b/test/components/pgbackrest_templates_test.rb index f919fd0..a22cfb1 100644 --- a/test/components/pgbackrest_templates_test.rb +++ b/test/components/pgbackrest_templates_test.rb @@ -131,7 +131,7 @@ def test_conf_includes_start_fast content = render_conf(repo_type: 'local') assert_includes content, 'start-fast=y' - assert_includes content, 'stop-auto=y' + refute_includes content, 'stop-auto' end def test_conf_includes_logging