This repository was archived by the owner on Dec 29, 2025. It is now read-only.
Update dependency @cosmjs/cosmwasm-stargate to ^0.37.0#31
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Update dependency @cosmjs/cosmwasm-stargate to ^0.37.0#31renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
Contributor
Author
Branch automerge failureThis PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
|
98d97db to
4d535ea
Compare
4d535ea to
71d3916
Compare
2612560 to
28546f0
Compare
28546f0 to
88d774d
Compare
11b7438 to
dfe6d57
Compare
dfe6d57 to
d2e5601
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.31.0->^0.37.0Release Notes
cosmos/cosmjs (@cosmjs/cosmwasm-stargate)
v0.37.0Compare Source
Added
Comet1Clientfor compatibility withCometBFT 1.x RPC. The module
comet1contains all CometBFT 1.x specifictypes.
connectCometnow uses this client automatically when connecting to a1.x RPC backend. Before CosmJS 0.37 the
Comet38Clientwas used for both 0.38and 1.0 backends. However it turned out that there are breaking API changes
between those versions. (#1787)
Changed
all: The
package.jsons now all use the modernexportsfield instead of theclassic
main/typesto define the entry points. This ensures only symbolsfrom the top level module can be imported (like
import { toBech32 } from "@​cosmjs/encoding"). Other import paths likeimport { toBech32 } from "@​cosmjs/encoding/src/bech32"are not allowedanymore. 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:
(#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:
connectCometnow returns aComet1Clientwhen aCometBFT 1.x RPC is found.
CometClientnow includesComet1Client.(#1827)
@cosmjs/cosmwasm-stargate: use native compression APIs instead of pako for
gzip. (#1764)
Deprecated
The use of encrypted wallet storage is deprecated. In particular this means:
Secp256k1HdWallet.serialize/.serializeWithEncryptionKey(since 0.36.0)Secp256k1HdWallet.deserialize/.deserializeWithEncryptionKey(since0.36.0)
DirectSecp256k1HdWallet.serialize/.serializeWithEncryptionKey(since0.36.0)
DirectSecp256k1HdWallet.deserialize/.deserializeWithEncryptionKey(since0.36.0)
executeKdffrom @cosmjs/amino and @cosmjs/proto-signing (since0.36.0/0.37.0)
If you are using any of those methods, please comment at
#1796.
@cosmjs/tendermint-rpc: Deprecate the Tendermint/CometBFT 0.34 client
(
isTendermint34Client/Tendermint34Clientas well as all related types).This will be removed in the next version of CosmJS:
#1866
v0.36.2Compare Source
Fixed
@cosmjs/crypto: Set min version of @noble/hashes to 1.8.0 to avoid errors like
We use
@noble/hashes/legacyfor ripemd which is only available in ^1.8.0.v0.36.1Compare Source
Fixed
@cosmjs/crypto: Fix import path of @noble/hashes to avoid bunding issue
In @noble/hashes version >=1.0.0 <1.8.0 the import paths must not contain the
.js suffix. This issue was intoduced in CosmJS 0.35.0 but only affects users
who have @noble/hashes lower than 1.8.0 in their lockfile. (#1817)
v0.36.0Compare Source
Changed
Migrate from libsodium to different implementation in order to reduce bundle
size and improve compatibility.
ed25519now uses @noble/curves(#1722)
Deprecated
The use of encrypted wallet storage is deprecated. In particular this means:
Secp256k1HdWallet.serialize/.serializeWithEncryptionKeySecp256k1HdWallet.deserialize/.deserializeWithEncryptionKeyDirectSecp256k1HdWallet.serialize/.serializeWithEncryptionKeyDirectSecp256k1HdWallet.deserialize/.deserializeWithEncryptionKeyIf 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.(#1797)
v0.35.2Compare Source
Fixed
@cosmjs/crypto: Set min version of @noble/hashes to 1.8.0 to avoid errors like
We use
@noble/hashes/legacy.jsfor ripemd which is only available in ^1.8.0.v0.35.1Compare Source
Deprecated
The use of encrypted wallet storage is deprecated. In particular this means:
Secp256k1HdWallet.serialize/.serializeWithEncryptionKeySecp256k1HdWallet.deserialize/.deserializeWithEncryptionKeyDirectSecp256k1HdWallet.serialize/.serializeWithEncryptionKeyDirectSecp256k1HdWallet.deserialize/.deserializeWithEncryptionKeyexecuteKdffrom @cosmjs/amino and @cosmjs/proto-signingIf you are using any of those methods, please comment at
#1796.
v0.35.0Compare Source
Added
HttpClientand
HttpBatchClient. (#1660)Changed
Tendermint34Client.create,Tendermint37Client.createandComet38Client.createnon-async. (#1597)Comet38Client,Tendermint37ClientorTendermint34Client. (#1772)interface ConsensusParamsare nowoptional as Tendermint RPC might omit them.
{Signing,}StargateClient.createand
SigningStargateClient.createWithSignernon-async. (#1597){Signing,}CosmWasmClient.createand
SigningCosmWasmClient.createWithSignernon-async. (#1597)GasPriceconstructor now enforces a non-empty denom.(#1761)
parseCoinsnow supports denoms with colons, periods,underscores and dashes (#1763)
import("crypto"). We can just use subtle crypto on all supported Nodeversions. (#1753)
v0.34.1Compare Source
Deprecated
The use of encrypted wallet storage is deprecated. In particular this means:
Secp256k1HdWallet.serialize/.serializeWithEncryptionKeySecp256k1HdWallet.deserialize/.deserializeWithEncryptionKeyDirectSecp256k1HdWallet.serialize/.serializeWithEncryptionKeyDirectSecp256k1HdWallet.deserialize/.deserializeWithEncryptionKeyexecuteKdffrom @cosmjs/amino and @cosmjs/proto-signingIf you are using any of those methods, please comment at
#1796.
v0.34.0Compare Source
Fixed
isValidAddressnow accepts addresses up to 128 bytes (e.g.for Penumbra). (#1674)
decodeCommitto allow decoding height 0 commitswith block hash set but empty signatures. (#1590)
Added
Comet38Clientis now used to connect to CometBFT0.38 and 1.x backends (#1679)
Changed
begin_block_events/end_block_events->
finalize_block_events) inRpcBlockResultsResponseandBlockResultsResponse(#1612)v0.33.1Compare Source
Fixed
GHSA-vjh7-7g9h-fjfh.
v0.33.0Compare Source
Changed
on a JavaScript implementation of ICS-23 but
@confio/ics23 is unmaintained
without replacement.
v0.32.4Compare Source
Fixed
field ([#1591])
Added
MsgCancelUnbondingDelegation(#1535)Changed
multiplier value between the
signAndBroadcastandsignAndBroadcastSyncmethods so that it is equal to 1.4 everywhere. ([#1584])
v0.32.3Compare Source
Changed
@cosmjs/amino: Add IBC denom support to
parseCoinsand use the sameimplementation in all those imports:
@cosmjs/stargate: Let
parseRawLoggracefully handle empty strings to bettersupport Cosmos SDK 0.50 inputs. (#1564)
Fixed
external tools happy. (#1570)
information in SigningCosmWasmClient. This is required to support Cosmos SDK
0.50+ where the
rawLogfield is empty. (#1564)v0.32.2Compare Source
Fixed
GasPrice.fromStringto allow usingIBC denoms as gas denom. (#1522)
Changed
http://, wss:// or ws://). Otherwise an error is raised instead of falling
back to ws://. (#1527)
v0.32.1Compare Source
Fixed
correctly. (#1516)
decodeOptionalTime()from adaptors nowthat
time.Timedates are parsed correctly. (#1516)v0.32.0Compare Source
Added
sign/signAndBroadcast/signAndBroadcastSyncand related functions nowhave an additional parameter to specify the timeout height. After this height,
a signed transaction will be considered invalid by the chain. (#1489)
omitDefaultto help build Amino JSON converters.Fixed
is a numeric value. (#1462)
fix_msgoptional inAminoMsgInstantiateContract2and omit default in the Amino JSON converter tofix Amino JSON signing for MsgInstantiateContract2. (#1509)
Changed
changes all 64 bit int fields from type
longtobigint. As part of theupgrade, the types do not require the
longandprotobufjsanymore.(#1484)
gasWanted/gasUsedfields were changed from typenumbertobigintto supported cases where users put very high gas values in there (#1465).
Adaptorabstractions which are not neededanymore by haing a dedicated client for each backend.
CometClient = Tendermint34Client | Tendermint37Client | Comet38ClientandconnectCometfor auto-detecting the right client for a provided endpoint.SigningStargateClient.createWithSignerandStargateClient.createtake aCometClientargument, adding support forComet38Client. The auto-detection inSigningStargateClient.connectWithSignerandStargateClient.connectnowsupports CometBFT 0.38. Rename
StargateClient.getTmClient/.forceGetTmClientto.getCometClient/.forceGetCometClient.SigningCosmWasmClient.createWithSignerandCosmWasmClient.createtake aCometClientargument, adding support forComet38Client. The auto-detection inSigningCosmWasmClient.connectWithSignerandCosmWasmClient.connectnowsupports CometBFT 0.38. Rename
CosmWasmClient.getTmClient/.forceGetTmClientto.getCometClient/.forceGetCometClient.SearchBySentFromOrToQueryandSearchByHeightQuerywhich became obsolete with thesearchTxchange in0.31.0.
Deprecated
CometClientshould be used instead ofTendermintClient.SigningStargateClient.sendIbcTokens. Please usesignAndBroadcast+MsgTransferEncodeObjectinstead. (#1493)IndexedTx.rawLogandDeliverTxResponse.rawLogbecause those fields are unset from Cosmos SDK 0.50 onwards (see
here).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.