Skip to content

v0.47.0

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Mar 17:20
· 3341 commits to main since this release
9acdbb9

Cosmos SDK v0.47.0 Release Notes

Official Release Announcement

💬 Release Discussion

📝 Changelog

Check out the changelog for an exhaustive list of changes or compare changes from last release.

Refer to the upgrading guide when migrating from v0.46.x to v0.47.0.

🚀 Highlights

  • Upgrade to CometBFT v0.37.0.

    • With the notable introduction of ABCI 1.0.
    • Changes of events keys and values from []byte to string.
  • Support of ABCI 1.0 in the SDK.

    • Allows chains to set their own mempool implementation. Follow the guide here.
    • Support of the new PrepareProposal and ProcessProposal ABCI methods.
  • Deprecation of the x/params module.

    • Modules params are now handled directly by the modules themselves, via the MsgUpdateParams message.
    • All core SDK modules have migrated away from using x/params. It is recommended to migrate your custom modules as well.
  • Migration from gogo/protobuf to cosmos/gogoproto.

    • The SDK was using the now unmaintained gogo/protobuf library. This has been replaced by cosmos/gogoproto which is a fork of gogo/protobuf with some improvements and fixes, that is maintained by the Cosmos SDK team.
    • This change is not transparent for applications developers. All proto files should be regenerated with the new library.
    • Use the ghcr.io/cosmos/proto-builder image (version >= 0.11.5) for generating protobuf files.
  • App Wiring with dependency injection.

    • App Wiring is ready for community feedback. It allows developers to build a chain with less boilerplate by removing the need to manually wire a chain.
    • Community feedback will be implemented in the following releases which can lead to API breakage (runtime and depinject are pre-1.0).
    • Manually wiring an application is still possible and will always remain supported.
  • Removal of the proposer-based rewards from x/distribution.

    • This removes unfairness towards smaller validators.
  • Re-addition of title and summary fields on group and gov proposals.

    • In v0.46 with x/gov v1, these fields were not present (while present in v1beta1). After community feedback, they have been added in x/gov v1.
  • Refactoring of tests in the SDK and addition of the simtestutil package, for facilitating testing without depending on simapp.

    • Any dependencies on simapp in an application must be removed going forward.

❤️ Contributors

This list is non-exhaustive and ordered alphabetically.
Thank you to everyone who contributed to this release!