cosmos-sdk/core/CHANGELOG.md
2024-07-23 14:00:33 +00:00

8.1 KiB

Changelog

[Unreleased]

Features

  • #19953 Add transaction service.
  • #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

API Breaking Changes

  • #19672 PreBlock now returns only an error for consistency with server/v2. The SDK has upgraded x/upgrade accordingly.
  • #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
  • #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

v0.11.1

  • #21022 Upgrade depinject to v1.0.0.

v0.11.0

  • #17468 Add appmodule.HasPreBlocker interface.

v0.10.0

  • #17383 Add appmodule.UpgradeModule interface.

v0.9.0

  • #16739 Add AppHash to header.Info.

v0.8.0

  • #15519 Update comet.VoteInfo for CometBFT v0.38.
  • #16310 Add gas.Service and gas.GasMeter interfaces.

v0.7.0

  • #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.

v0.6.1

  • #15364 Add address codec to core.

v0.6.0

  • #15045 Add error return parameter to RegisterServices method from appmodule.HasServices interface.
  • #14859 Simplify event service interface.

v0.5.1

  • #14686 Add event service.
  • #14735 Specify event listener API.

v0.5.0

  • #14604 Add begin/end block extension interfaces.
  • #14605 Add register services extension interface.

v0.4.1

  • #14329 Implement basic core API genesis source and target.

v0.4.0

  • #14416 Update core to use cosmos-db instead of tm-db.
  • #14326 Remove appmodule.Service from core.

v0.3.4

v0.3.3

  • #14227 Add store API.
  • #13696 Update FormatCoins where empty coins are rendered as "zero".

v0.3.2

  • #13631 Add ADR 033 (inter-module communication) Client interface.

v0.3.1

  • #13306 Move FormatCoins to core.
  • #13607 Add AppModule tag interface.

v0.3.0

  • #13115 Update core module to depinject changes.

v0.2.0

  • #12020 Use cosmossdk.io/depinject instead of container.
  • #12367 Add support for golang_bindings in app.yaml.

v0.1.0

  • #11914 Add core module with app config support.