7.0.0-rc0
Pre-release
Pre-release
·
110 commits
to main
since this release
Added
- Added
files_cleanup.max_snapshotsconfiguration option to limit the number of committed snapshot files retained on disk. When the number of committed snapshots exceeds this value, the oldest snapshots (by sequence number) are automatically deleted. The value must be at least 1 if set. - Added
files_cleanup.intervalconfiguration option (default"30s") to periodically scan the snapshot directory and delete old committed snapshots exceedingmax_snapshots. This ensures backup nodes (which receive snapshots viabackup_fetch) also prune old snapshots. Only effective whenmax_snapshotsis set. - Added
POST /node/snapshot:create, gated by theSnapshotCreateRPC interface operator feature, to create a snapshot via an operator endpoint rather than a governance action. - Added
make_cose_verifier_from_pem_cert()andmake_cose_verifier_from_der_cert()that accept certificates in a known format. The existingmake_cose_verifier_cert()is renamed tomake_cose_verifier_any_cert()(#7768).
Changed
- The
sincequery parameter on theGET /node/snapshotendpoint now uses closed (inclusive) semantics, consistent with thesinceparameter onGET /node/ledger_chunk. A request with?since=Nwill now return snapshots with index greater than or equal toN, rather than strictly greater thanN(#7742).