Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: prepare release 2.0.0 #1763

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .changeset/add_bus_routes_to_openapi_spec.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/add_host_sectors_table.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/add_openapiyml_file_with_autopilot_routes.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/add_ratelimit_to_max_drift.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/add_worker_api_to_openapi_spec.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/automate_changelog_generation.md

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dont_perform_full_slab_prune_on_startup.md

This file was deleted.

This file was deleted.

29 changes: 0 additions & 29 deletions .changeset/extend_openapi_spec.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix_migration_00030_host_sectors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix_ndf_in_testusablehosts.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix_syntax_error_in_migration_34.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/fix_testblocklist.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix_testscoredhostsrandselectbyscore_ndf.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/have_knope_bot_ignore_conventional_commits.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/implement_support_for_pruning_using_rhp4.md

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/integrate_rhp4_for_uploads.md

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/move_autopilots_into_autopilot_state.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/move_hosts_allowredundantips_config.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/move_migrations_to_the_autopilot.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/move_upload_manager_to_internal_package.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/remove_contract_sets.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/remove_current_period.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/remove_event_webhooks.md

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/remove_partial_setting_updates.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/track_contract_elements.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/update_openapi_spec.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/update_ui_to_v0680.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/update_web_to_0720.md

This file was deleted.

107 changes: 107 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,110 @@
## 2.0.0 (2025-01-03)

### Breaking Changes

- Enforce S3 bucket name validation rules on bucket creation request
- Fix hosts query, properly take into account the field 'usability_low_max_duration'
- Move migrations to the autopilot
- Remove contract sets
- Remove event webhooks
- Remove partial setting updates

#### Add bus section to openapi spec

Added routes:
- accounts
- alerts
- autopilot
- buckets

#### Extend OpenAPI spec

The following routes were added:
- consensus
- contracts
- contract
- hosts
- host
- metric
- multipart
- objects
- object
- params
- sectors
- settings
- slabbuffers
- slabs
- state
- stats
- syncer
- system
- upload
- txpool
- wallet
- webhooks

#### Move `autopilots` into `autopilot_state`

##1657 by @peterjan

This migrates the `autopilots` to a single `autopilot_state` table, effectively removing the concept of multiple autopilots.

### Features

- Add host_sectors table
- Fix 00030_host_sectors migration on DBs that have a host_sectors table
- Integrate RHP4 for uploads
- Move hosts allowRedundantIPs config
- Remove current period
- Remove migrationSurchargeMultiplier from the gouging settings.
- Update UI to v0.68.0

#### Add openapi.yml file with autopilot routes

Added an openapi.yml spec with the specifications for the autopilot routes and a CI step to validate it. The goal is to eventually have a complete spec for the V2 API that we can use to generate API docs as well as making sure that there is always a valid spec for every given commit in the repo.

#### Add worker API to openapi spec

##1733 by @ChrisSchinnerl

#### Implement support for pruning using RHP4

##1711 by @ChrisSchinnerl

Closes https://github.com/SiaFoundation/renterd/issues/1676

#### Remove HostIP and SiamuxAddr from ContractMetadata

##1712 by @chris124567

Implement https://github.com/SiaFoundation/renterd/issues/1691

### Fixes

- Automatically reset account drift using a rate limit
- Automate changelog generation
- Check for existing migration '00027_remove_directories' and skip both '00020_idx_db_directory' and '00020_remove_directories' if already applied.
- don't perform full slab prune on startup
- Fix default settings not being used everywhere if settings are not found in database
- Fix DeleteHostSector deleting a sector from all hosts rather than the given one
- fix incorrect conversion of durations in gouging settings
- Fix NDF in TestUsableHosts
- Fix syntax error in migration 34
- Fix NDF in TestScoredHostsRandSelectByScore
- Have knope bot ignore conventional commits
- Improve migration out after foreignkey check fails
- Monitor file contracts and unlock their funds when they expire
- Move upload manager to internal package
- Track accumulator state elements for file contracts in a new contract_elements table
- Update OpenAPI spec
- Update web to 0.72.0

#### Fix TestBlocklist

##1702 by @chris124567

Fix https://github.com/SiaFoundation/renterd/issues/1697

## 1.1.0

### Breaking changes
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module go.sia.tech/renterd
module go.sia.tech/renterd // v2.0.0

go 1.23.1

Expand Down
Loading