From 74f86454e5eed695a942ec3822447cf090300235 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 26 Jun 2026 05:46:29 +0000 Subject: [PATCH] chore: prepare release 0.3.0 --- .changeset/add_basic_pool_support.md | 7 ----- .../add_network_throughput_estimates.md | 7 ----- ...urning_or_connecting_for_the_first_time.md | 5 ---- ...ritycheck_updates_to_bound_tail_latency.md | 5 ---- .changeset/client_http_error.md | 7 ----- ...active_contract_with_capacity_0_already.md | 5 ---- .changeset/improve_unhealthy_slabs_query.md | 5 ---- ...dditional_sharing_account_for_each_user.md | 5 ---- ...ads_and_downloads_when_scheduling_hosts.md | 5 ---- CHANGELOG.md | 28 +++++++++++++++++++ go.mod | 2 +- 11 files changed, 29 insertions(+), 52 deletions(-) delete mode 100644 .changeset/add_basic_pool_support.md delete mode 100644 .changeset/add_network_throughput_estimates.md delete mode 100644 .changeset/added_reconnecting_field_to_auth_connect_status_so_apps_can_tell_if_a_user_is_returning_or_connecting_for_the_first_time.md delete mode 100644 .changeset/chunk_recordintegritycheck_updates_to_bound_tail_latency.md delete mode 100644 .changeset/client_http_error.md delete mode 100644 .changeset/dont_renew_a_contract_with_capacity_0_if_there_is_another_active_contract_with_capacity_0_already.md delete mode 100644 .changeset/improve_unhealthy_slabs_query.md delete mode 100644 .changeset/register_additional_sharing_account_for_each_user.md delete mode 100644 .changeset/take_into_account_inflight_uploads_and_downloads_when_scheduling_hosts.md diff --git a/.changeset/add_basic_pool_support.md b/.changeset/add_basic_pool_support.md deleted file mode 100644 index 6805a2d5f..000000000 --- a/.changeset/add_basic_pool_support.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -default: major ---- - -# Add basic pool support. - -Fund one pool per connect key instead of individual accounts. Accounts attached to a pool draw from its shared balance. diff --git a/.changeset/add_network_throughput_estimates.md b/.changeset/add_network_throughput_estimates.md deleted file mode 100644 index 5119c3b44..000000000 --- a/.changeset/add_network_throughput_estimates.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -default: minor ---- - -# Add network read and write throughput estimates to the client. - -The client now exposes `ReadEstimate` and `WriteEstimate`, returning the expected duration to transfer a given number of bytes from the network-wide observed throughput. Both fall back to a default rate before any bulk transfers have been sampled. diff --git a/.changeset/added_reconnecting_field_to_auth_connect_status_so_apps_can_tell_if_a_user_is_returning_or_connecting_for_the_first_time.md b/.changeset/added_reconnecting_field_to_auth_connect_status_so_apps_can_tell_if_a_user_is_returning_or_connecting_for_the_first_time.md deleted file mode 100644 index 87e60eef7..000000000 --- a/.changeset/added_reconnecting_field_to_auth_connect_status_so_apps_can_tell_if_a_user_is_returning_or_connecting_for_the_first_time.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -default: minor ---- - -# Added `reconnecting` field to auth connect status so apps can tell if a user is returning or connecting for the first time. diff --git a/.changeset/chunk_recordintegritycheck_updates_to_bound_tail_latency.md b/.changeset/chunk_recordintegritycheck_updates_to_bound_tail_latency.md deleted file mode 100644 index 83ee62f0d..000000000 --- a/.changeset/chunk_recordintegritycheck_updates_to_bound_tail_latency.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -default: patch ---- - -# Chunk RecordIntegrityCheck UPDATEs to bound per-statement latency and shorten row-lock windows. diff --git a/.changeset/client_http_error.md b/.changeset/client_http_error.md deleted file mode 100644 index 3d304c305..000000000 --- a/.changeset/client_http_error.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -default: patch ---- - -# Return a typed HTTPError from the app client on non-2xx responses. - -The app client previously returned `errors.New("")` when an upstream proxy returned a non-2xx status code with an empty body, making failures impossible to diagnose. It now returns an `*HTTPError` carrying both the status code and body, formatted as `HTTP : `. Callers can `errors.As` on it to branch retry behavior on the status code. diff --git a/.changeset/dont_renew_a_contract_with_capacity_0_if_there_is_another_active_contract_with_capacity_0_already.md b/.changeset/dont_renew_a_contract_with_capacity_0_if_there_is_another_active_contract_with_capacity_0_already.md deleted file mode 100644 index 11ee3a4dc..000000000 --- a/.changeset/dont_renew_a_contract_with_capacity_0_if_there_is_another_active_contract_with_capacity_0_already.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -default: patch ---- - -# Don't renew a contract with capacity 0 if there is another active contract with capacity 0 already diff --git a/.changeset/improve_unhealthy_slabs_query.md b/.changeset/improve_unhealthy_slabs_query.md deleted file mode 100644 index 6e7911e20..000000000 --- a/.changeset/improve_unhealthy_slabs_query.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -default: patch ---- - -# Rework the unhealthy slabs query to avoid full table scans on large databases. diff --git a/.changeset/register_additional_sharing_account_for_each_user.md b/.changeset/register_additional_sharing_account_for_each_user.md deleted file mode 100644 index 8971b811a..000000000 --- a/.changeset/register_additional_sharing_account_for_each_user.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -default: patch ---- - -# Register additional sharing account for each user diff --git a/.changeset/take_into_account_inflight_uploads_and_downloads_when_scheduling_hosts.md b/.changeset/take_into_account_inflight_uploads_and_downloads_when_scheduling_hosts.md deleted file mode 100644 index c142ab882..000000000 --- a/.changeset/take_into_account_inflight_uploads_and_downloads_when_scheduling_hosts.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -default: patch ---- - -# Take into account inflight uploads and downloads when scheduling hosts. diff --git a/CHANGELOG.md b/CHANGELOG.md index 046e5f38a..d10e5b843 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,31 @@ +## 0.3.0 (2026-06-26) + +### Breaking Changes + +#### Add basic pool support. + +Fund one pool per connect key instead of individual accounts. Accounts attached to a pool draw from its shared balance. + +### Features + +- Added `reconnecting` field to auth connect status so apps can tell if a user is returning or connecting for the first time. + +#### Add network read and write throughput estimates to the client. + +The client now exposes `ReadEstimate` and `WriteEstimate`, returning the expected duration to transfer a given number of bytes from the network-wide observed throughput. Both fall back to a default rate before any bulk transfers have been sampled. + +### Fixes + +- Chunk RecordIntegrityCheck UPDATEs to bound per-statement latency and shorten row-lock windows. +- Don't renew a contract with capacity 0 if there is another active contract with capacity 0 already +- Rework the unhealthy slabs query to avoid full table scans on large databases. +- Register additional sharing account for each user +- Take into account inflight uploads and downloads when scheduling hosts. + +#### Return a typed HTTPError from the app client on non-2xx responses. + +The app client previously returned `errors.New("")` when an upstream proxy returned a non-2xx status code with an empty body, making failures impossible to diagnose. It now returns an `*HTTPError` carrying both the status code and body, formatted as `HTTP : `. Callers can `errors.As` on it to branch retry behavior on the status code. + ## 0.2.3 (2026-06-04) ### Features diff --git a/go.mod b/go.mod index 6d2c0bc3c..6644fafe0 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module go.sia.tech/indexd // v0.2.3 +module go.sia.tech/indexd // v0.3.0 go 1.26.0