5.5 KiB
5.5 KiB
Changelog
[Unreleased]
Bug Fixes
- (x/upgrade) #23179 Register missing implementation for SoftwareUpgradeProposal to avoid no concrete type registered for type URL /cosmos.upgrade.v1beta1.SoftwareUpgradeProposal against interface *v1beta1.Content error.
- (x/upgrade) #23378 Register missing implementation for CancelSoftwareUpgradeProposal to avoid no concrete type registered for type URL /cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal against interface *v1beta1.Content error.
v0.2.0-rc.1 - 2024-12-18
Improvements
- #19672 Follow latest
cosmossdk.io/corePreBlocksimplification.
API Breaking Changes
- #19443
NewKeepertakes anappmodule.Environmentinstead of individual services. - #21259 Upgrade has been migrated to cosrestore.StoreUpgrades. Renaming keys support has been removed from the upgrade module.
- #21480 ConsensusKeeper is required to be passed to the keeper.
State Machine Breaking
- (x/upgrade) #16244 Upgrade module no longer stores the app version but gets and sets the app version stored in the
ParamStoreof baseapp.
v0.1.4 - 2024-07-15
Improvements
- #20771 Create upgrade directory only when necessary (upgrade flow and not init flow).
v0.1.3 - 2024-06-04
- (deps) #20530 Bump vulnerable
github.com/hashicorp/go-getterto v1.7.4.- In theory, we do not need a new release for this, but we are doing it as
x/upgradeis used in Cosmovisor.
- In theory, we do not need a new release for this, but we are doing it as
v0.1.2 - 2024-04-22
Improvements
- (deps) #19810 Upgrade SDK version due to Prometheus breaking change.
- (deps) #19810 Bump
cosmossdk.io/storeto v1.1.0.
Bug Fixes
- #19706 Stop treating inline JSON as a URL.
v0.1.1 - 2023-12-11
Improvements
- #18470 Improve go-getter settings.
v0.1.0 - 2023-11-07
Features
- #14880 Switch from using gov v1beta1 to gov v1 in upgrade CLIs.
- #14764 The
x/upgrademodule is extracted to have a separate go.mod file which allows it be a standalone module.
Improvements
- #16903 Use AutoCLI for upgrade querying commands.
API Breaking Changes
- #16845 Remove gov v1beta1 handler. Use gov v1 proposals directly, or replicate the handler in your app.
- #16511
BinaryDownloadURLMap.ValidateBasic()andBinaryDownloadURLMap.CheckURLsnow both take a checksum parameter when willing to ensure a checksum is provided for each URL. - #16511
plan.DownloadURLWithChecksumhas been renamed toplan.DownloadURLand does not validate the URL anymore. Callplan.ValidateURLbefore callingplan.DownloadURLto validate the URL. - #16511
plan.DownloadUpgradedoes not validate URL anymore. Callplan.ValidateURLbefore callingplan.DownloadUpgradeto validate the URL. - #16227
NewKeepernow takes aKVStoreServiceinstead of aStoreKey, methods in theKeepernow take acontext.Contextinstead of asdk.Contextand return anerror.UpgradeHandlernow receives acontext.Context.GetUpgradedClient,GetUpgradedConsensusState,GetUpgradePlannow return a specific error for "not found".