Skip to content

fix(deps): bump @polkadot/api from 3.7.3 to 4.9.2#232

Closed
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/polkadot/api-4.9.2
Closed

fix(deps): bump @polkadot/api from 3.7.3 to 4.9.2#232
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/polkadot/api-4.9.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 7, 2021

Bumps @polkadot/api from 3.7.3 to 4.9.2.

Release notes

Sourced from @​polkadot/api's releases.

v4.9.1

Upgrade priority: Medium. Required for the next v0.9.0 Polkadot/Kusama chain upgrades where parachains are used.

  • Breaking change The previously deprecated contracts interfaces, has been removed. Update to <myContract>.query.*, <myContract>.tx.* and <myCode>.tx.* interfaces as per the previous code usage hints.
  • Important By default the isPedantic mode is now switched on for storage queries. This means that the API will fail on any types where the input/output decoding doesn't match 100%

Changes:

  • Re-add isPedantic check on storage decoding
  • ConsensusEngineId now implements [u8;4] (mapping closer to Rust source)
  • Additional Xcm types
  • Adjust parachain types
  • Remove error logging on createType (details passed in error)
  • Adjust ContractInfo type as per latest Substrate
  • Adjust DigestItem type as per latest Substrate
  • Adjust re-encoding of BitVec based on decoded length
  • Added contracts_instantiate, state_traceBlock & system_reservedPeers RPCs
  • Prepare for auto-capability detection with historic .at queries
  • Add known upgrade block for Westend 900 & 9000
  • Remove all deprecated interfaces inside @polkadot/api-contracts
  • Initial support for NMap storage keys
  • Support metadata v13 from Substrate (upcoming upgrade)
  • Optimize historic metadata retrieval from rpc core

v4.8.1

Upgrade priority: Low. Recommended when using or developing for parachains.

Changes:

  • De-alias xcm Outcome (used in multiple pallettes)
  • Adjust xcm types as per latest, e.g. XcmError
  • Fix generate of well-known storage keys (e.g. :code)
  • Optimize metadata unknown type validation
  • Allow metadata creation for Map or Record
  • Expose additional camelCase method on AbiMessage (maps to decorated name)
  • Added explicit double-byte ss58 AccountId encoding test
  • Add known upgrade block for Polkadot v30
  • Cleanup WebSocket handlers when close event has been received
  • Update to latest Substrate metadata

v4.7.2

Upgrade priority: Low. Recommended for users of 4.7.1 using nvm

Changes:

  • Update .nvmrc to reflect engines changes
  • Update EthBlock/EthHeader types (as per Rust origin)
  • Updated Xcm OriginKind enum
  • Add derives for membership
  • Cleanups on encodedLength calculations

... (truncated)

Changelog

Sourced from @​polkadot/api's changelog.

CHANGELOG

4.9.1 May 6, 2021

Upgrade priority: Medium. Required for the next v0.9.0 Polkadot/Kusama chain upgrades where parachains are used.

  • Breaking change The previously deprecated contracts interfaces, has been removed. Update to <myContract>.query.*, <myContract>.tx.* and <myCode>.tx.* interfaces as per the previous code usage hints.
  • Important By default the isPedantic mode is now switched on for storage queries. This means that the API will fail on any types where the input/output decoding doesn't match 100%

Changes:

  • Re-add isPedantic check on storage decoding
  • ConsensusEngineId now implements [u8;4] (mapping closer to Rust source)
  • Additional Xcm types
  • Adjust parachain types
  • Remove error logging on createType (details passed in error)
  • Adjust ContractInfo type as per latest Substrate
  • Adjust DigestItem type as per latest Substrate
  • Adjust re-encoding of BitVec based on decoded length
  • Added contracts_instantiate, state_traceBlock & system_reservedPeers RPCs
  • Prepare for auto-capability detection with historic .at queries
  • Add known upgrade block for Westend 900 & 9000
  • Remove all deprecated interfaces inside @polkadot/api-contracts
  • Initial support for NMap storage keys
  • Support metadata v13 from Substrate (upcoming upgrade)
  • Optimize historic metadata retrieval from rpc core

4.8.1 May 2, 2021

Upgrade priority: Low. Recommended when using or developing for parachains.

Changes:

  • De-alias xcm Outcome (used in multiple pallettes)
  • Adjust xcm types as per latest, e.g. XcmError
  • Fix generate of well-known storage keys (e.g. :code)
  • Optimize metadata unknown type validation
  • Allow metadata creation for Map or Record
  • Expose additional camelCase method on AbiMessage (maps to decorated name)
  • Added explicit double-byte ss58 AccountId encoding test
  • Add known upgrade block for Polkadot v30
  • Cleanup WebSocket handlers when close event has been received
  • Update to latest Substrate metadata

4.7.2 Apr 26, 2021

Upgrade priority: Low. Recommended for users of 4.7.1 using nvm

... (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 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)

@dependabot dependabot Bot requested a review from mariopino May 7, 2021 00:08
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 7, 2021

The following labels could not be found: dependencies.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 18, 2021

Superseded by #242.

@dependabot dependabot Bot closed this May 18, 2021
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/polkadot/api-4.9.2 branch May 18, 2021 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant