|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 0.31.0 |
| 4 | + |
| 5 | +BREAKING CHANGES |
| 6 | + |
| 7 | +* Gaia REST API (`gaiacli advanced rest-server`) |
| 8 | + * [\#3284](https://github.com/cosmos/cosmos-sdk/issues/3284) Rename the `name` |
| 9 | + field to `from` in the `base_req` body. |
| 10 | + * [\#3485](https://github.com/cosmos/cosmos-sdk/pull/3485) Error responses are now JSON objects. |
| 11 | + * [\#3477][distribution] endpoint changed "all_delegation_rewards" -> "delegator_total_rewards" |
| 12 | + |
| 13 | +* Gaia CLI (`gaiacli`) |
| 14 | + - [#3399](https://github.com/cosmos/cosmos-sdk/pull/3399) Add `gaiad validate-genesis` command to facilitate checking of genesis files |
| 15 | + - [\#1894](https://github.com/cosmos/cosmos-sdk/issues/1894) `version` prints out short info by default. Add `--long` flag. Proper handling of `--format` flag introduced. |
| 16 | + - [\#3465](https://github.com/cosmos/cosmos-sdk/issues/3465) `gaiacli rest-server` switched back to insecure mode by default: |
| 17 | + - `--insecure` flag is removed. |
| 18 | + - `--tls` is now used to enable secure layer. |
| 19 | + - [\#3451](https://github.com/cosmos/cosmos-sdk/pull/3451) `gaiacli` now returns transactions in plain text including tags. |
| 20 | + - [\#3497](https://github.com/cosmos/cosmos-sdk/issues/3497) `gaiad init` now takes moniker as required arguments, not as parameter. |
| 21 | + * [\#3501](https://github.com/cosmos/cosmos-sdk/issues/3501) Change validator |
| 22 | + address Bech32 encoding to consensus address in `tendermint-validator-set`. |
| 23 | + |
| 24 | +* Gaia |
| 25 | + * [\#3457](https://github.com/cosmos/cosmos-sdk/issues/3457) Changed governance tally validatorGovInfo to use sdk.Int power instead of sdk.Dec |
| 26 | + * [\#3495](https://github.com/cosmos/cosmos-sdk/issues/3495) Added Validator Minimum Self Delegation |
| 27 | + * Reintroduce OR semantics for tx fees |
| 28 | + |
| 29 | +* SDK |
| 30 | + * [\#2513](https://github.com/cosmos/cosmos-sdk/issues/2513) Tendermint updates are adjusted by 10^-6 relative to staking tokens, |
| 31 | + * [\#3487](https://github.com/cosmos/cosmos-sdk/pull/3487) Move HTTP/REST utilities out of client/utils into a new dedicated client/rest package. |
| 32 | + * [\#3490](https://github.com/cosmos/cosmos-sdk/issues/3490) ReadRESTReq() returns bool to avoid callers to write error responses twice. |
| 33 | + * [\#3502](https://github.com/cosmos/cosmos-sdk/pull/3502) Fixes issue when comparing genesis states |
| 34 | + * [\#3514](https://github.com/cosmos/cosmos-sdk/pull/3514) Various clean ups: |
| 35 | + - Replace all GetKeyBase\* functions family in favor of NewKeyBaseFromDir and NewKeyBaseFromHomeFlag. |
| 36 | + - Remove Get prefix from all TxBuilder's getters. |
| 37 | + * [\#3522](https://github.com/cosmos/cosmos-sdk/pull/3522) Get rid of double negatives: Coins.IsNotNegative() -> Coins.IsAnyNegative(). |
| 38 | + * [\#3561](https://github.com/cosmos/cosmos-sdk/issues/3561) Don't unnecessarily store denominations in staking |
| 39 | + |
| 40 | + |
| 41 | +FEATURES |
| 42 | + |
| 43 | +* Gaia REST API |
| 44 | + * [\#2358](https://github.com/cosmos/cosmos-sdk/issues/2358) Add distribution module REST interface |
| 45 | + |
| 46 | +* Gaia CLI (`gaiacli`) |
| 47 | + * [\#3429](https://github.com/cosmos/cosmos-sdk/issues/3429) Support querying |
| 48 | + for all delegator distribution rewards. |
| 49 | + * [\#3449](https://github.com/cosmos/cosmos-sdk/issues/3449) Proof verification now works with absence proofs |
| 50 | + * [\#3484](https://github.com/cosmos/cosmos-sdk/issues/3484) Add support |
| 51 | + vesting accounts to the add-genesis-account command. |
| 52 | + |
| 53 | +* Gaia |
| 54 | + - [\#3397](https://github.com/cosmos/cosmos-sdk/pull/3397) Implement genesis file sanitization to avoid failures at chain init. |
| 55 | + * [\#3428](https://github.com/cosmos/cosmos-sdk/issues/3428) Run the simulation from a particular genesis state loaded from a file |
| 56 | + |
| 57 | +* SDK |
| 58 | + * [\#3270](https://github.com/cosmos/cosmos-sdk/issues/3270) [x/staking] limit number of ongoing unbonding delegations /redelegations per pair/trio |
| 59 | + * [\#3477][distribution] new query endpoint "delegator_validators" |
| 60 | + * [\#3514](https://github.com/cosmos/cosmos-sdk/pull/3514) Provided a lazy loading implementation of Keybase that locks the underlying |
| 61 | + storage only for the time needed to perform the required operation. Also added Keybase reference to TxBuilder struct. |
| 62 | + * [types] [\#2580](https://github.com/cosmos/cosmos-sdk/issues/2580) Addresses now Bech32 empty addresses to an empty string |
| 63 | + |
| 64 | + |
| 65 | +IMPROVEMENTS |
| 66 | + |
| 67 | +* Gaia REST API |
| 68 | + * [\#3284](https://github.com/cosmos/cosmos-sdk/issues/3284) Update Gaia Lite |
| 69 | + REST service to support the following: |
| 70 | + * Automatic account number and sequence population when fields are omitted |
| 71 | + * Generate only functionality no longer requires access to a local Keybase |
| 72 | + * `from` field in the `base_req` body can be a Keybase name or account address |
| 73 | + * [\#3423](https://github.com/cosmos/cosmos-sdk/issues/3423) Allow simulation |
| 74 | + (auto gas) to work with generate only. |
| 75 | + * [\#3514](https://github.com/cosmos/cosmos-sdk/pull/3514) REST server calls to keybase does not lock the underlying storage anymore. |
| 76 | + * [\#3523](https://github.com/cosmos/cosmos-sdk/pull/3523) Added `/tx/encode` endpoint to serialize a JSON tx to base64-encoded Amino. |
| 77 | + |
| 78 | +* Gaia CLI (`gaiacli`) |
| 79 | + * [\#3476](https://github.com/cosmos/cosmos-sdk/issues/3476) New `withdraw-all-rewards` command to withdraw all delegations rewards for delegators. |
| 80 | + * [\#3497](https://github.com/cosmos/cosmos-sdk/issues/3497) `gaiad gentx` supports `--ip` and `--node-id` flags to override defaults. |
| 81 | + * [\#3518](https://github.com/cosmos/cosmos-sdk/issues/3518) Fix flow in |
| 82 | + `keys add` to show the mnemonic by default. |
| 83 | + * [\#3517](https://github.com/cosmos/cosmos-sdk/pull/3517) Increased test coverage |
| 84 | + * [\#3523](https://github.com/cosmos/cosmos-sdk/pull/3523) Added `tx encode` command to serialize a JSON tx to base64-encoded Amino. |
| 85 | + |
| 86 | +* Gaia |
| 87 | + * [\#3418](https://github.com/cosmos/cosmos-sdk/issues/3418) Add vesting account |
| 88 | + genesis validation checks to `GaiaValidateGenesisState`. |
| 89 | + * [\#3420](https://github.com/cosmos/cosmos-sdk/issues/3420) Added maximum length to governance proposal descriptions and titles |
| 90 | + * [\#3256](https://github.com/cosmos/cosmos-sdk/issues/3256) Add gas consumption |
| 91 | + for tx size in the ante handler. |
| 92 | + * [\#3454](https://github.com/cosmos/cosmos-sdk/pull/3454) Add `--jail-whitelist` to `gaiad export` to enable testing of complex exports |
| 93 | + * [\#3424](https://github.com/cosmos/cosmos-sdk/issues/3424) Allow generation of gentxs with empty memo field. |
| 94 | + * [\#3507](https://github.com/cosmos/cosmos-sdk/issues/3507) General cleanup, removal of unnecessary struct fields, undelegation bugfix, and comment clarification in x/staking and x/slashing |
| 95 | + |
| 96 | +* SDK |
| 97 | + * [\#2605] x/params add subkey accessing |
| 98 | + * [\#2986](https://github.com/cosmos/cosmos-sdk/pull/2986) Store Refactor |
| 99 | + * [\#3435](https://github.com/cosmos/cosmos-sdk/issues/3435) Test that store implementations do not allow nil values |
| 100 | + * [\#2509](https://github.com/cosmos/cosmos-sdk/issues/2509) Sanitize all usage of Dec.RoundInt64() |
| 101 | + * [\#556](https://github.com/cosmos/cosmos-sdk/issues/556) Increase `BaseApp` |
| 102 | + test coverage. |
| 103 | + * [\#3357](https://github.com/cosmos/cosmos-sdk/issues/3357) develop state-transitions.md for staking spec, missing states added to `state.md` |
| 104 | + * [\#3552](https://github.com/cosmos/cosmos-sdk/pull/3552) Validate bit length when |
| 105 | + deserializing `Int` types. |
| 106 | + |
| 107 | + |
| 108 | +BUG FIXES |
| 109 | + |
| 110 | +* Gaia CLI (`gaiacli`) |
| 111 | + - [\#3417](https://github.com/cosmos/cosmos-sdk/pull/3417) Fix `q slashing signing-info` panic by ensuring safety of user input and properly returning not found error |
| 112 | + - [\#3345](https://github.com/cosmos/cosmos-sdk/issues/3345) Upgrade ledger-cosmos-go dependency to v0.9.3 to pull |
| 113 | + https://github.com/ZondaX/ledger-cosmos-go/commit/ed9aa39ce8df31bad1448c72d3d226bf2cb1a8d1 in order to fix a derivation path issue that causes `gaiacli keys add --recover` |
| 114 | + to malfunction. |
| 115 | + - [\#3419](https://github.com/cosmos/cosmos-sdk/pull/3419) Fix `q distr slashes` panic |
| 116 | + - [\#3453](https://github.com/cosmos/cosmos-sdk/pull/3453) The `rest-server` command didn't respect persistent flags such as `--chain-id` and `--trust-node` if they were |
| 117 | + passed on the command line. |
| 118 | + - [\#3441](https://github.com/cosmos/cosmos-sdk/pull/3431) Improved resource management and connection handling (ledger devices). Fixes issue with DER vs BER signatures. |
| 119 | + |
| 120 | +* Gaia |
| 121 | + * [\#3486](https://github.com/cosmos/cosmos-sdk/pull/3486) Use AmountOf in |
| 122 | + vesting accounts instead of zipping/aligning denominations. |
| 123 | + |
| 124 | + |
3 | 125 | ## 0.30.0 |
4 | 126 |
|
5 | 127 | BREAKING CHANGES |
|
0 commit comments