Releases: cosmos/cosmjs
v0.37.0
Highlights in this release
- Add client for CometBFT 1.x (
Comet1Client) - Modernize dependencies to reduce bundle size and reliability
- Set
exportsfield to all packages. This prevents users from importing non-public interfaces and prepares for and ESM world. - Deprecate
executeKdffrom both @cosmjs/amino and @cosmjs/proto-signing as wallet encryption will be removed (#1796).
Changelog: https://github.com/cosmos/cosmjs/blob/main/CHANGELOG.md#0370---2025-10-29
All changes: v0.36.1...v0.37.0
0.36.0
Encrypted wallet serialization deprecated!
-
The use of encrypted wallet storage is deprecated. In particular this means:
Secp256k1HdWallet.serialize/.serializeWithEncryptionKeySecp256k1HdWallet.deserialize/.deserializeWithEncryptionKeyDirectSecp256k1HdWallet.serialize/.serializeWithEncryptionKeyDirectSecp256k1HdWallet.deserialize/.deserializeWithEncryptionKey
If you are using any of those methods, please comment at #1796.
A scream test was established which slows down the key derivation function a lot. This simulates the use of a pure-JS implementation of Argon2 which we will use on one of the next releases. If this causes problems for your app, switch back to
^0.35.0and comment in the issue. -
Migrate from libsodium to different implementation in order to reduce bundle size and improve compatibility.
- ed25519 now uses @noble/curves
- xchacha20poly1305 now uses @noble/ciphers
- Argon2 now uses hash-wasm
0.35.0
Cosmos client
- Add timeout option to CometBFT clients
- Avoid unnecessary status request when connecting a Comet38Client, Tendermint37Client or Tendermint34Client
- Upgrade CosmJS types to Cosmos SDK 0.50
- Kill @cosmjs/cli to reduce maintenance burden
- Fix block result types in CometBFT clients
Modern JS
- Replace bn.js dependency with native bigints
- Modernize codebase for Node.js 20+
- Migrate away from axios to native fetch, reducing bundle size and external dependencies
- Preparation for better ES6 module support
- Replace the Node.js „crypto“ import with native crypto APIs to reduce problems with other environments
- All JS output is now ES2022
CI / tooling
- Migrate all CI jobs from CircleCI to GitHub Actions
- Migrate lint tooling to latest versions of eslint and typescript-eslint
Huge shout out to @dynst for an enoumous amount of high quality contributions to the 0.35.0 and 0.34.0 releases!
0.34.0
Significant updates
- Replace elliptic with noble-curves for the secp256k1 implementation
- Add support for CometBFT 1.x
Full Changelog: https://github.com/cosmos/cosmjs/blob/main/CHANGELOG.md#0340---2025-07-11
0.33.1
What's Changed
- chore: update discord link by @olliegilbey in #1626
- bump elliptic dependencies package to 6.6.1 by @codingki in #1628
New Contributors
- @olliegilbey made their first contribution in #1626
- @codingki made their first contribution in #1628
Full Changelog: v0.33.0...v0.33.1