Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 14, 2025

Bumps @cosmjs/encoding from 0.33.1 to 0.36.0.

Release notes

Sourced from @​cosmjs/encoding's releases.

0.36.0

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 cosmos/cosmjs#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

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

Changelog

Sourced from @​cosmjs/encoding's changelog.

[0.36.0] - 2025-08-14

Changed

  • 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

    (#1722)

#1722: cosmos/cosmjs#1722

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 cosmos/cosmjs#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.

    (#1797)

#1797: cosmos/cosmjs#1797

[0.35.0] - 2025-08-13

Added

  • @​cosmjs/tendermint-rpc: Add timeout option for HTTP requests in HttpClient and HttpBatchClient. (#1660)

#1660: cosmos/cosmjs#1660

Changed

  • all: Drop support for Node.js < 20.
  • all: All JS output is now es2022.
  • all: Upgrade cosmjs-types to ^0.10.1 (Cosmos SDK 0.50 series)

... (truncated)

Commits
  • 46336b8 Set version 0.36.0
  • 7195de5 Merge pull request #1798 from cosmos/finish-up-0.36
  • 61139cc Add CHANGELOG
  • 7325e10 Use sleep for scream test
  • 39e712a Merge pull request #1722 from dynst/desalinate
  • 6bc8077 Merge pull request #1797 from dynst/desalinate-deprecate
  • a0e779d amino, proto-signing: add explicit scream test to KDF code
  • 7b65103 migrate to argon2id from hash-wasm
  • 072243d increase timeout in jasmine unit test for wallet deserialize/decryption
  • 9b37759 proto-signing: mark encryption functions as @deprecated
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 14, 2025
Copy link
Contributor

coderabbitai bot commented Aug 14, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Join our Discord community for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Bumps [@cosmjs/encoding](https://github.com/cosmos/cosmjs) from 0.33.1 to 0.36.0.
- [Release notes](https://github.com/cosmos/cosmjs/releases)
- [Changelog](https://github.com/cosmos/cosmjs/blob/main/CHANGELOG.md)
- [Commits](cosmos/cosmjs@v0.33.1...v0.36.0)

---
updated-dependencies:
- dependency-name: "@cosmjs/encoding"
  dependency-version: 0.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/packages/xchain-cosmos/cosmjs/encoding-0.36.0 branch from da033cc to 1996c7f Compare September 5, 2025 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants