Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
43 changes: 22 additions & 21 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -12,23 +12,23 @@ 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)
rack-test (>= 0.6.3)
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)
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/active_postgres/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ActivePostgres
VERSION = '0.9.9'.freeze
VERSION = '0.9.10'.freeze
end
3 changes: 1 addition & 2 deletions templates/pgbackrest.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/components/pgbackrest_templates_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading