cosmos-sdk/store/CHANGELOG.md

4.1 KiB

Changelog

Disclaimer: Numbers from v1.0.x to v1.9.x are reserved for the v0.50 line. cosmossdk.io/store compatible with the v0.50 line is tagged from release/v0.50.x Numbers from v1.10.x onwards are reserved for the 0.52+ line. With Cosmos SDK v2 (with store/v2), CometBFT has been pushed to the boundaries, so issues like this are not expected to happen again.

[Unreleased]

v1.10.0 (December 13, 2024)

Improvements

  • #22305 Add LatestVersion to the Committer interface to get the latest version of the store.
  • Upgrade IAVL to IAVL v1.3.x.

Bug Fixes

  • #20425 Fix nil pointer panic when query historical state where a new store don't exist.
  • #20644 Avoid nil error on not exhausted payload stream.

v1.1.1 (September 06, 2024)

Improvements

  • #21574 Upgrade IAVL to IAVL 1.2.0.

v1.1.0 (March 20, 2024)

Improvements

  • #19770 Upgrade IAVL to IAVL v1.1.1.

v1.0.2 (January 10, 2024)

Bug Fixes

  • #18897 Replace panic in pruning to avoid consensus halting.

v1.0.1 (November 28, 2023)

Bug Fixes

  • #18563 LastCommitID().Hash will always return sha256([]byte{}) if the store is empty.

v1.0.0 (October 31, 2023)

Features

  • #17294 Add snapshot manager Close method.
  • #15568 Migrate the iavl to the new key format.
    • Remove DeleteVersion, DeleteVersions, LazyLoadVersionForOverwriting from iavl tree API.
    • Add DeleteVersionsTo and SaveChangeSet, since it will keep versions sequentially like fromVersion to toVersion.
    • Refactor the pruning manager to use DeleteVersionsTo.
  • #15712 Add WorkingHash function to the store interface to get the current app hash before commit.
  • #14645 Add limit to the length of key and value.
  • #15683 rootmulti.Store.CacheMultiStoreWithVersion now can handle loading archival states that don't persist any of the module stores the current state has.
  • #16060 Support saving restoring snapshot locally.
  • #14746 The store module is extracted to have a separate go.mod file which allows it be a standalone module.
  • #14410 rootmulti.Store.loadVersion has validation to check if all the module stores' height is correct, it will error if any module store has incorrect height.

Improvements

  • #17158 Start the goroutine after need to create a snapshot.

API Breaking Changes

  • #16321 QueryInterface defines its own request and response types instead of relying on comet/abci & returns an error