diff --git a/.changeset/add_revised_and_renewed_fields_to_rpclatestrevision.md b/.changeset/add_revised_and_renewed_fields_to_rpclatestrevision.md deleted file mode 100644 index c70a89b..0000000 --- a/.changeset/add_revised_and_renewed_fields_to_rpclatestrevision.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -default: major ---- - -# Add revised and renewed fields to RPCLatestRevision - -Adds two additional fields to the RPCLatestRevision response. The Revisable field indicates whether the host will accept further revisions to the contract. A host will not accept revisions too close to the proof window or revisions on contracts that have already been resolved. The Renewed field indicates whether the contract was renewed. If the contract was renewed, the renter can use FileContractID.V2RenewalID to get the ID of the new contract. diff --git a/.changeset/add_support_for_block_pruning.md b/.changeset/add_support_for_block_pruning.md deleted file mode 100644 index 95fe1ad..0000000 --- a/.changeset/add_support_for_block_pruning.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -default: minor ---- - -# Add support for block pruning - -The chain manager can now automatically delete blocks after a configurable number of confirmations. Note that this does not apply retroactively. diff --git a/.changeset/automate_releases.md b/.changeset/automate_releases.md deleted file mode 100644 index d5fea6e..0000000 --- a/.changeset/automate_releases.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -default: patch ---- - -# Automate releases diff --git a/.changeset/extended_testrpcrenew_and_testrpcrefresh_with_an_initial_sector_upload.md b/.changeset/extended_testrpcrenew_and_testrpcrefresh_with_an_initial_sector_upload.md deleted file mode 100644 index 1211c12..0000000 --- a/.changeset/extended_testrpcrenew_and_testrpcrefresh_with_an_initial_sector_upload.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -default: patch ---- - -# Extended TestRPCRenew and TestRPCRefresh with an initial sector upload diff --git a/.changeset/fix_panic_when_fetching_block_with_empty_block_id_from_chainmanager.md b/.changeset/fix_panic_when_fetching_block_with_empty_block_id_from_chainmanager.md deleted file mode 100644 index ba2f304..0000000 --- a/.changeset/fix_panic_when_fetching_block_with_empty_block_id_from_chainmanager.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -default: patch ---- - -# Fix panic when fetching block with empty block id from ChainManager diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..603c4c2 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,21 @@ +## 0.8.0 (2024-12-13) + +### Breaking Changes + +#### Add revised and renewed fields to RPCLatestRevision + +Adds two additional fields to the RPCLatestRevision response. The Revisable field indicates whether the host will accept further revisions to the contract. A host will not accept revisions too close to the proof window or revisions on contracts that have already been resolved. The Renewed field indicates whether the contract was renewed. If the contract was renewed, the renter can use FileContractID.V2RenewalID to get the ID of the new contract. + +- Remove unused duration param from `rhp4.RPCWrite` + +### Features + +#### Add support for block pruning in v2 + +The chain manager can now automatically delete blocks after a configurable number of confirmations. Note that this does not apply retroactively. + +### Fixes + +- Return 0 balance for nonexistent accounts instead of an error +- Extended TestRPCRenew and TestRPCRefresh with an initial sector upload +- Fix panic when fetching block with empty block id from ChainManager diff --git a/go.mod b/go.mod index bf49f04..19475c9 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module go.sia.tech/coreutils // v0.7.0 +module go.sia.tech/coreutils // v0.8.0 go 1.23.1