Skip to content

fix(deps): bump @polkadot/api from 3.7.3 to 4.0.1#189

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

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

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 8, 2021

Bumps @polkadot/api from 3.7.3 to 4.0.1.

Release notes

Sourced from @​polkadot/api's releases.

v4.0.1

Upgrade priority: Low. Recommended for users wanting to keep updated with chain changes.

Important In the 4.0 version the default package type has been changed to ESM modules by default. This should not affect usage, however since the output formats changed, a new major version is required.

Contributed:

Changes:

  • Build to ESM by default (with cjs versions via export map)
  • Enum .toSON() now encodes all keys as camelCase (aligning with the output from Substrate)
  • Add createdAtHash?: Hash to Codec interface (filled-in by storage retrievals)
  • Expose the source hash as wamHash on Abi parsed instances
  • Use parentHash when creating mortal era (handles frequent forks better)
  • Add AccountInfoWithTripleRefCount to cater for latest Substrate
  • Add upgrade block for Westend 49

v3.11.1

Upgrade priority: Low. Recommended for users wanting to keep updated with chain changes.

Contributed:

Changes:

  • Adjust council derives to cater for current-generation candidate mapping
  • Allow for override of codec hasher (& output type)
  • Adjust submittables to submit hex-encoded addresses to queries
  • Adjust initialization to always retrieve tx version from Metadata only
  • Update election types as per latest Substrate
  • Add types for the new gilt module
  • Upgrade to the latest Substrate metadata
  • Adjust package detection to check for local monorepo dependencies
  • Ensure that metadata .toJSON() does apply type aliasses

v3.10.2

Upgrade priority: Medium. Recommended for users of chains where MultiAddress is in-use and blocks are decoded.

Changes:

  • Fix decoding for MultiAddress enum where non-AccountId variable-lengths are provided as part of a stream
  • Added known Polkadot 28 upgrade block
  • Update for latest Substrate contracts Schedule types

v3.10.1

Upgrade priority: Low.

... (truncated)

Changelog

Sourced from @​polkadot/api's changelog.

4.0.1 Mar 7, 2021

Upgrade priority: Low. Recommended for users wanting to keep updated with chain changes.

Important In the 4.0 version the default package type has been changed to ESM modules by default. This should not affect usage, however since the output formats changed, a new major version is required.

Contributed:

Changes:

  • Build to ESM by default (with cjs versions via export map)
  • Enum .toSON() now encodes all keys as camelCase (aligning with the output from Substrate)
  • Add createdAtHash?: Hash to Codec interface (filled-in by storage retrievals)
  • Expose the source hash as wamHash on Abi parsed instances
  • Use parentHash when creating mortal era (handles frequent forks better)
  • Add AccountInfoWithTripleRefCount to cater for latest Substrate
  • Add upgrade block for Westend 49

3.11.1 Feb 28, 2021

Upgrade priority: Low. Recommended for users wanting to keep updated with chain changes.

Contributed:

Changes:

  • Adjust council derives to cater for current-generation candidate mapping
  • Allow for override of codec hasher (& output type)
  • Adjust submittables to submit hex-encoded addresses to queries
  • Adjust initialization to always retrieve tx version from Metadata only
  • Update election types as per latest Substrate
  • Add types for the new gilt module
  • Upgrade to the latest Substrate metadata
  • Adjust package detection to check for local monorepo dependencies
  • Ensure that metadata .toJSON() does apply type aliasses

3.10.2 Feb 23, 2021

Upgrade priority: Medium. Recommended for users of chains where MultiAddress is in-use and blocks are decoded.

Changes:

  • Fix decoding for MultiAddress enum where non-AccountId variable-lengths are provided as part of a stream

... (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 March 8, 2021 00:26
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Mar 8, 2021

The following labels could not be found: dependencies.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Mar 9, 2021

Superseded by #190.

@dependabot dependabot Bot closed this Mar 9, 2021
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/polkadot/api-4.0.1 branch March 9, 2021 00:13
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