Skip to content

Commit 36253a4

Browse files
authored
Merge pull request #426 from SiaFoundation/release
chore: prepare release 0.22.0
2 parents a820662 + c8cad8a commit 36253a4

6 files changed

Lines changed: 17 additions & 25 deletions

.changeset/add_rhp4_pool_rpc_handlers_and_renter_helpers.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/check_downloaded_data_length_in_rpcreadsector_before_proof_validation_for_a_more_meaningful_error.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fix_incorrect_v2_pool_index.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/wrap_client_rpc_errors_in_rpcerror.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## 0.22.0 (2026-05-12)
2+
3+
### Breaking Changes
4+
5+
#### Add RHP4 pool RPC handlers, renter helpers, and Contractor interface methods for shared balance pools.
6+
7+
Hosts can now back accounts with shared balance pools so renters don't need to pre-fund and continually rebalance every account. A renter funds a pool once and attaches as many accounts as they want; debits drain the account's own balance first and fall through to attached pools, which keeps per-account allowances small and reduces the total capital sitting idle in account balances. This is the host-side companion to the new RHP4 pool RPCs.
8+
9+
Extends the RHP4 `Contractor` interface with `PoolBalances`, `CreditPoolsWithContract`, `AttachPools`, and `DetachPools` (existing implementations must be updated). Adds host-side handlers for the new pool RPCs and renter-side helpers `RPCReplenishPools`, `RPCAttachPools`, and `RPCDetachPools`. `DebitAccount` semantics are extended to drain the account's own balance first, then attached pools in attachment order.
10+
11+
### Fixes
12+
13+
- Check downloaded data length in RPCReadSector before proof validation for a more meaningful error.
14+
- Fix incorrect v2 pool index.
15+
- Wrap client rpc errors in RPCError.
16+
117
## 0.21.3 (2026-04-21)
218

319
### Fixes

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module go.sia.tech/coreutils // v0.21.3
1+
module go.sia.tech/coreutils // v0.22.0
22

33
go 1.26.0
44

0 commit comments

Comments
 (0)