diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e774b26..54849eab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to - all: The TypeScript compilation target is now ES2018. - @cosmjs/crypto: Add `Secp256k1.uncompressPubkey`. +- @cosmjs/crypto: Replace hashing implementations with @noble/hashes ([#960]). - @cosmjs/faucet: Set default value of `FAUCET_GAS_LIMIT` to 100_000 to better support Cosmos SDK 0.45 chains. - @cosmjs/stargate: The `AminoTypes` now always requires an argument of type @@ -42,14 +43,17 @@ and this project adheres to - @cosmjs/crypto: Use a custom BIP-39 implementation to reduce external dependencies. This should also reduce the bundle size as only the English wordlist is shipped. ([#966]) +- @cosmjs/cli: Rename binary `cosmwasm-cli` to `cosmjs-cli` ([#1033]). [#927]: https://github.com/cosmos/cosmjs/issues/927 [#955]: https://github.com/cosmos/cosmjs/issues/955 +[#960]: https://github.com/cosmos/cosmjs/pull/960 [#966]: https://github.com/cosmos/cosmjs/pull/966 [#989]: https://github.com/cosmos/cosmjs/issues/989 [#994]: https://github.com/cosmos/cosmjs/issues/994 [#1011]: https://github.com/cosmos/cosmjs/issues/1011 [#1026]: https://github.com/cosmos/cosmjs/issues/1026 +[#1033]: https://github.com/cosmos/cosmjs/issues/1033 [#1053]: https://github.com/cosmos/cosmjs/issues/1053 ### Removed @@ -57,7 +61,10 @@ and this project adheres to - @cosmjs/crypto: Remove the SHA1 implementation (`Sha1` and `sha1`) as it is not used in the Cosmos tech stack and not implemented in the hashing lib we want to migrate to ([#1003]). Also it has known weaknesses. +- @cosmjs/launchpad: Package was removed as no support for Cosmos SDK 0.37-0.39 + is needed anymore ([#947]). +[#947]: https://github.com/cosmos/cosmjs/issues/947 [#1003]: https://github.com/cosmos/cosmjs/issues/1003 ## [0.27.1] - 2022-01-26 diff --git a/README.md b/README.md index a7e25665..686cb5ed 100644 --- a/README.md +++ b/README.md @@ -53,10 +53,10 @@ Here are some of them to get an idea: | Package | Description | Latest | | ------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| [@cosmjs/stargate](packages/stargate) | A client library for the Cosmos SDK 0.40 (cosmoshub-4), 0.41 and 0.42 (Stargate) | [![npm version](https://img.shields.io/npm/v/@cosmjs/stargate.svg)](https://www.npmjs.com/package/@cosmjs/stargate) | +| [@cosmjs/stargate](packages/stargate) | A client library for the Cosmos SDK 0.40+ (Stargate) | [![npm version](https://img.shields.io/npm/v/@cosmjs/stargate.svg)](https://www.npmjs.com/package/@cosmjs/stargate) | | [@cosmjs/faucet](packages/faucet) | A faucet application for node.js | [![npm version](https://img.shields.io/npm/v/@cosmjs/faucet.svg)](https://www.npmjs.com/package/@cosmjs/faucet) | | [@cosmjs/cosmwasm-stargate](packages/cosmwasm-stargate) | Client for Stargate chains with the CosmWasm module enabled | [![npm version](https://img.shields.io/npm/v/@cosmjs/cosmwasm-stargate.svg)](https://www.npmjs.com/package/@cosmjs/cosmwasm-stargate) | -| [@cosmjs/crypto](packages/crypto) | Cryptography for blockchain projects, e.g. hashing (SHA-2, Keccak256, Ripemd160), signing (secp256k1, ed25519), HD key derivation (BIPO39, SLIP-0010), KDFs and symmetric encryption for key storage (PBKDF2, Argon2, XChaCha20Poly1305) | [![npm version](https://img.shields.io/npm/v/@cosmjs/crypto.svg)](https://www.npmjs.com/package/@cosmjs/crypto) | +| [@cosmjs/crypto](packages/crypto) | Cryptography for blockchain projects, e.g. hashing (SHA-2, Keccak256, Ripemd160), signing (secp256k1, ed25519), HD key derivation (BIP-39, SLIP-0010), KDFs and symmetric encryption for key storage (PBKDF2, Argon2, XChaCha20Poly1305) | [![npm version](https://img.shields.io/npm/v/@cosmjs/crypto.svg)](https://www.npmjs.com/package/@cosmjs/crypto) | | [@cosmjs/encoding](packages/encoding) | Encoding helpers for blockchain projects | [![npm version](https://img.shields.io/npm/v/@cosmjs/encoding.svg)](https://www.npmjs.com/package/@cosmjs/encoding) | | [@cosmjs/math](packages/math) | Safe integers; decimals for handling financial amounts | [![npm version](https://img.shields.io/npm/v/@cosmjs/math.svg)](https://www.npmjs.com/package/@cosmjs/math) | diff --git a/packages/cli/MASK.md b/packages/cli/MASK.md index 1cf2a33d..4c09d07f 100644 --- a/packages/cli/MASK.md +++ b/packages/cli/MASK.md @@ -5,8 +5,8 @@ This assumes you have already run through the sample in the method (sharing with cli, customize blockchain) if you want. We will show uploading mask and using it on the Demo Net. -Start with `./bin/cosmjs-cli --init examples/helpers.ts examples/mask.ts` -(note the addition of `examples/mask.ts`) +Start with `./bin/cosmjs-cli --init examples/helpers.ts examples/mask.ts` (note +the addition of `examples/mask.ts`) ## Setup diff --git a/packages/cosmwasm-stargate/README.md b/packages/cosmwasm-stargate/README.md index 213de50a..726010c1 100644 --- a/packages/cosmwasm-stargate/README.md +++ b/packages/cosmwasm-stargate/README.md @@ -8,7 +8,8 @@ An SDK to build CosmWasm clients. | CosmWasm | x/wasm | @cosmjs/cosmwasm-stargate | | --------------- | --------- | ------------------------- | -| 0.16-1.0.0-beta | 0.21 | `^0.27.0` | +| 0.16-1.0.0-beta | 0.21-0.23 | `^0.28.0` | +| 0.16-1.0.0-beta | 0.21-0.23 | `^0.27.0` | | 0.16-1.0.0-beta | 0.18-0.20 | `^0.26.0` | | 0.14 | 0.16 | `^0.25.0` | | 0.13 | 0.14-0.15 | `^0.24.0` | diff --git a/packages/stargate/README.md b/packages/stargate/README.md index 04925c98..0cc768f6 100644 --- a/packages/stargate/README.md +++ b/packages/stargate/README.md @@ -2,12 +2,14 @@ [![npm version](https://img.shields.io/npm/v/@cosmjs/stargate.svg)](https://www.npmjs.com/package/@cosmjs/stargate) -A client library for the Cosmos SDK 0.40. +A client library for the Cosmos SDK 0.40+. ## Supported Cosmos SDK versions | CosmJS version | Supported Cosmos SDK version(s) | | ------------------------------- | ------------------------------- | +| ^0.28.0 | 0.42.x, 0.44.x, 0.45.x | +| ^0.27.0 | 0.42.x, 0.44.x, 0.45.x | | ^0.26.0 | 0.42.x | | ^0.25.0 | 0.42.x | | ^0.24.0 | 0.40.x, 0.41.x, 0.42.x |