Skip to content

Releases: cosmos/cosmjs

0.36.0

14 Aug 10:31
v0.36.0
46336b8
Compare
Choose a tag to compare

Encrypted wallet serialization deprecated!

  • The use of encrypted wallet storage is deprecated. In particular this means:

    • Secp256k1HdWallet.serialize/.serializeWithEncryptionKey
    • Secp256k1HdWallet.deserialize/.deserializeWithEncryptionKey
    • DirectSecp256k1HdWallet.serialize/.serializeWithEncryptionKey
    • DirectSecp256k1HdWallet.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.0 and 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

13 Aug 09:56
v0.35.0
1264c2c
Compare
Choose a tag to compare

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

11 Jul 15:26
v0.34.0
318c8d5
Compare
Choose a tag to compare

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

14 Mar 17:22
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.33.0...v0.33.1