cosmos-sdk v0.27.0 Release Notes

  • ๐Ÿ’ฅ BREAKING CHANGES

    • Gaia REST API (gaiacli advanced rest-server)

      • [gaia-lite] #2819 Txs query param format is now: /txs?tag=value (removed '' wrapping the query parameter value)
    • Gaia CLI (gaiacli)

      • [cli] #2728 Seperate tx and query subcommands by module
      • [cli] #2727 Fix unbonding command flow
      • [cli] #2786 Fix redelegation command flow
      • [cli] #2829 add-genesis-account command now validates state when adding accounts
      • [cli] #2804 Check whether key exists before passing it on to tx create-validator.
      • [cli] #2874 gaiacli tx sign takes an optional --output-document flag to support output redirection.
      • [cli] #2875 Refactor gaiad gentx and avoid redirection to gaiacli tx sign for tx signing.
    • Gaia

      • [mint] [#2825] minting now occurs every block, inflation parameter updates still hourly
    • SDK

      • #2752 Don't hardcode bondable denom.
      • #2701 Account numbers and sequence numbers in auth are now uint64 instead of int64
      • #2019 Cap total number of signatures. Current per-transaction limit is 7, and if that is exceeded transaction is rejected.
      • #2801 Remove AppInit structure.
      • #2798 Governance API has miss-spelled English word in JSON response ('depositer' -> 'depositor')
      • #2943 Transaction action tags equal the message type. Staking EndBlocker tags are included.
    • Tendermint

      • Update to Tendermint 0.27.0

    ๐Ÿ”‹ FEATURES

    • Gaia REST API (gaiacli advanced rest-server)

      • [gov] #2479 Added governance parameter query REST endpoints.
    • Gaia CLI (gaiacli)

      • [gov][cli] #2479 Added governance parameter query commands.
      • [stake][cli] [#2027] Add CLI query command for getting all delegations to a specific validator.
      • #2840 Standardize CLI exports from modules
    • Gaia

      • [app] #2791 Support export at a specific height, with gaiad export --height=HEIGHT.
      • [x/gov] #2479 Implemented querier for getting governance parameters.
      • [app] #2663 - Runtime-assertable invariants
      • [app] #2791 Support export at a specific height, with gaiad export --height=HEIGHT.
      • [app] #2812 Support export alterations to prepare for restarting at zero-height
    • SDK

      • [simulator] #2682 MsgEditValidator now looks at the validator's max rate, thus it now succeeds a significant portion of the time
      • [core] #2775 Add deliverTx maximum block gas limit

    ๐Ÿ‘Œ IMPROVEMENTS

    • Gaia REST API (gaiacli advanced rest-server)

      • [gaia-lite] #2819 Tx search now supports multiple tags as query parameters
      • #2836 Expose LCD router to allow users to register routes there.
    • Gaia CLI (gaiacli)

      • #2749 Add --chain-id flag to gaiad testnet
      • #2819 Tx search now supports multiple tags as query parameters
    • Gaia

      • #2772 Update BaseApp to not persist state when the ante handler fails on DeliverTx.
      • #2773 Require moniker to be provided on gaiad init.
      • #2672 [Makefile] Updated for better Windows compatibility and ledger support logic, get_tools was rewritten as a cross-compatible Makefile.
      • #2766 [Makefile] Added goimports tool to get_tools. Get_tools now only builds new versions if binaries are missing.
      • #110 Updated CircleCI job to trigger website build when cosmos docs are updated.
    • SDK & [x/mock/simulation] [#2720] major cleanup, introduction of helper objects, reorganization

    • #2821 Codespaces are now strings

    • [types] #2776 Improve safety of Coin and Coins types. Various functions and methods will panic when a negative amount is discovered.

    • #2815 Gas unit fields changed from int64 to uint64.

    • #2821 Codespaces are now strings

    • #2779 Introduce ValidateBasic to the Tx interface and call it in the ante handler.

    • #2825 More staking and distribution invariants

    • ๐Ÿ”€ #2912 Print commit ID in hex when commit is synced.

    • Tendermint

    • โšก๏ธ #2796 Update to go-amino 0.14.1

    ๐Ÿ› BUG FIXES

    • Gaia REST API (gaiacli advanced rest-server)

      • [gaia-lite] #2868 Added handler for governance tally endpoint
      • #2907 Refactor and fix the way Gaia Lite is started.
    • Gaia

      • [#2723] Use cosmosvalcons Bech32 prefix in tendermint show-address
      • #2742 Fix time format of TimeoutCommit override
      • #2898 Remove redundant '$' in docker-compose.yml
    • SDK

      • #2733 [x/gov, x/mock/simulation] Fix governance simulation, update x/gov import/export
      • #2854 [x/bank] Remove unused bank.MsgIssue, prevent possible panic
      • #2884 [docs/examples] Fix basecli version panic
    • Tendermint

      • #2797 AddressBook requires addresses to have IDs; Do not crap out immediately after sending pex addrs in seed mode