Skip to content

Latest commit

 

History

History
158 lines (104 loc) · 7.94 KB

CHANGELOG.md

File metadata and controls

158 lines (104 loc) · 7.94 KB

Changelog

[Unreleased]

Features

  • #18379 Add branch service.
  • #18457 Add branch.ExecuteWithGasLimit.
  • #19041 Add appmodule.Environment interface to fetch different services
  • #19370 Add appmodule.Migrations interface to handle migrations
  • #19571 Add router.Service and add it in appmodule.Environment
  • #19617 Server/v2 compatible interface:
    • Add DataBaseService to store non-consensus data in a database
    • Create V2 appmodule with v2 api for runtime/v2
    • Introduce Transaction.Tx for use in runtime/v2
    • Introduce HasUpdateValidators interface and ValidatorUpdate struct for validator updates
    • Introduce HasTxValidation interface for modules to register tx validation handlers
    • HasGenesis interface for modules to register import, export, validation and default genesis handlers. The new api works with proto.Message
    • Add PreMsghandlerand PostMsgHandler for pre and post message hooks
    • Add MsgHandler as an alternative to grpc handlers
    • Provide separate MigrationRegistrar instead of grouping with RegisterServices

Improvements

API Breaking Changes

  • #18857 Moved FormatCoins to x/tx.
  • #18861 Moved coin.ParseCoin to client/v2/internal.
  • #18866 All items related to depinject have been moved to cosmossdk.io/depinject (Provide, Invoke, Register)
  • #19041 HasEventListeners was removed from appmodule due to the fact that it was not used anywhere in the SDK nor implemented

:::note This release contains breaking changes and should not be used with 0.50.x or earlier versions of the Cosmos SDK. :::

  • #17689 Move Comet service to return structs instead of interfaces.
    • BlockInfo was renamed to Info and BlockInfoService was renamed to CometInfoService
  • #17693 Remove appmodule.UpgradeModule interface in favor of preblock
  • #17468 Add appmodule.HasPreBlocker interface.
  • #17383 Add appmodule.UpgradeModule interface.
  • #16739 Add AppHash to header.Info.
  • #15519 Update comet.VoteInfo for CometBFT v0.38.
  • #16310 Add gas.Service and gas.GasMeter interfaces.
  • #15850 Add comet and header packages.
  • #15923 Add appmodule.HasPrepareCheckState appmodule.HasPrecommit extension interfaces.
  • #15434 Add coin.ParseCoin for parsing a coin from a string.
  • #15999 Add genesis.GenesisTxHandler interface.
  • #15364 Add address codec to core.
  • #15045 Add error return parameter to RegisterServices method from appmodule.HasServices interface.
  • #14859 Simplify event service interface.
  • #14686 Add event service.
  • #14735 Specify event listener API.
  • #14604 Add begin/end block extension interfaces.
  • #14605 Add register services extension interface.
  • #14329 Implement basic core API genesis source and target.
  • #14416 Update core to use cosmos-db instead of tm-db.
  • #14326 Remove appmodule.Service from core.
  • #14227 Add store API.
  • #13696 Update FormatCoins where empty coins are rendered as "zero".
  • #13631 Add ADR 033 (inter-module communication) Client interface.
  • #13306 Move FormatCoins to core.
  • #13607 Add AppModule tag interface.
  • #13115 Update core module to depinject changes.
  • #12020 Use cosmossdk.io/depinject instead of container.
  • #12367 Add support for golang_bindings in app.yaml.
  • #11914 Add core module with app config support.