Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2025

Bumps @cosmjs/math from 0.36.2 to 0.37.0.

Release notes

Sourced from @​cosmjs/math's releases.

v0.37.0

Highlights in this release

  • Add client for CometBFT 1.x (Comet1Client)
  • Modernize dependencies to reduce bundle size and reliability
  • Set exports field to all packages. This prevents users from importing non-public interfaces and prepares for and ESM world.
  • Deprecate executeKdf from both @​cosmjs/amino and @​cosmjs/proto-signing as wallet encryption will be removed (cosmos/cosmjs#1796).

Changelog: https://github.com/cosmos/cosmjs/blob/main/CHANGELOG.md#0370---2025-10-29 All changes: cosmos/cosmjs@v0.36.1...v0.37.0

Changelog

Sourced from @​cosmjs/math's changelog.

[0.37.0] - 2025-10-29

Added

  • @​cosmjs/tendermint-rpc: Add dedicated Comet1Client for compatibility with CometBFT 1.x RPC. The module comet1 contains all CometBFT 1.x specific types. connectComet now uses this client automatically when connecting to a 1.x RPC backend. Before CosmJS 0.37 the Comet38Client was used for both 0.38 and 1.0 backends. However it turned out that there are breaking API changes between those versions. (#1787)

#1787: cosmos/cosmjs#1787

Changed

  • all: The package.jsons now all use the modern exports field instead of the classic main/types to define the entry points. This ensures only symbols from the top level module can be imported (like import { toBech32 } from "@cosmjs/encoding"). Other import paths like import { toBech32 } from "@cosmjs/encoding/src/bech32" are not allowed anymore. As all public interfaces used to be exported from the top level for a long time, this should not affect most users. However, if you accidentally imported a subpath before you will get an error now. This can typically be resolved like this:

    -import { toBech32 } from "@cosmjs/encoding/src/bech32"
    +import { toBech32 } from "@cosmjs/encoding"

    (#1819)

  • Replace bech32 implementation by @​scure/base. This changes a bunch of error messages but is otherwise not breaking user code. (#1825)

  • Replace bip39 implementation by @​scure/bip39. This changes a bunch of error messages but is otherwise not breaking user code. (#1843)

  • @​cosmjs/tendermint-rpc: connectComet now returns a Comet1Client when a CometBFT 1.x RPC is found. CometClient now includes Comet1Client. (#1827)

  • @​cosmjs/cosmwasm-stargate: use native compression APIs instead of pako for gzip. (#1764)

#1764: cosmos/cosmjs#1764 #1819: cosmos/cosmjs#1819 #1825: cosmos/cosmjs#1825 #1827: cosmos/cosmjs#1827 #1843: cosmos/cosmjs#1843

Deprecated

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

Bumps [@cosmjs/math](https://github.com/cosmos/cosmjs) from 0.36.2 to 0.37.0.
- [Release notes](https://github.com/cosmos/cosmjs/releases)
- [Changelog](https://github.com/cosmos/cosmjs/blob/main/CHANGELOG.md)
- [Commits](cosmos/cosmjs@v0.36.2...v0.37.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 1, 2025
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

Development

Successfully merging this pull request may close these issues.

1 participant