@@ -5,6 +5,34 @@ All notable changes to the `bsv-wallet-postgres` gem are documented here.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ )
66and this gem adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## 0.2.0 — 2026-04-12
9+
10+ ### Added
11+
12+ - ** Migration 004** — adds ` satoshis ` , ` pending_since ` , ` pending_reference ` ,
13+ ` no_send ` columns and a partial index on ` (state, basket) ` for spendable
14+ rows (#353 )
15+ - ** ` find_spendable_outputs(basket:, min_satoshis:, sort_order:) ` ** — query
16+ spendable outputs with backward-compatible COALESCE for legacy rows (#354 )
17+ - ** ` update_output_state(outpoint, new_state, ...) ` ** — transition output
18+ state with JSONB data synchronisation (#354 )
19+ - ** ` lock_utxos(outpoints, reference:, no_send:) ` ** — atomic
20+ ` UPDATE ... WHERE state = 'spendable' RETURNING ` pattern for concurrent
21+ safety (#355 )
22+ - ** ` release_stale_pending!(timeout:) ` ** — recover stuck pending outputs,
23+ exempting ` no_send ` locks (#355 )
24+ - ** PostgresStore settings methods** — ` store_setting ` / ` find_setting `
25+
26+ ### Fixed
27+
28+ - ** Spendable boolean sync** — ` update_output_state ` , ` lock_utxos ` , and
29+ ` release_stale_pending! ` now keep the legacy ` spendable ` column in sync
30+ with the ` state ` column; ` filter_outputs ` uses dual-column WHERE clause
31+
32+ ### Changed
33+
34+ - Directory restructure — source moved to ` gem/bsv-wallet-postgres/ `
35+
836## 0.1.0 — 2026-04-09
937
1038Initial release of ` bsv-wallet-postgres ` , a PostgreSQL-backed
0 commit comments