Skip to content

fix(deps): bump @polkadot/api from 3.1.1 to 3.9.1#29

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/polkadot/api-3.9.1
Closed

fix(deps): bump @polkadot/api from 3.1.1 to 3.9.1#29
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/polkadot/api-3.9.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Feb 15, 2021

Bumps @polkadot/api from 3.1.1 to 3.9.1.

Release notes

Sourced from @polkadot/api's releases.

v3.9.1

Upgrade priority: Low.

  • Important The Result<T, E> has been updated in the generation and the base types to follow the Rust version 100%. This means {as, is}Error is now available as {as, is}Err on the Result type. The older versions can still be used, but the *Error interfaces are now marked as deprecated.

Changes:

  • Adjust Result<T, E> interface to be 100% compatible with the Rust version
  • Add the 2028 upgrade to the known upgrades (optimizing certain .at queries)
  • Adjust council derives to cater for latest Substrate & Polkadot
  • Adjust Rococo know type definitions to cater for the latest update
  • Update types for latest Polkadot/Substrate
  • Add generic arguments for TypeScript users to .entries/.keys to deal with the key typings

v3.8.1

Upgrade priority: Low. Recommended for users of the latest Substrate master, especially using contracts.

  • Important The api-contract Code now supports deploying the code and a contract in on operation. This aligns with the latest Substrate where code cannot be uploaded with a contract. The createBlueprint is therefore deprecated, use code.tx.<constructor>(...) to deploy code. (Compatible with both old and new versions of Substrate)

Contributed:

Changes:

  • Expand api-contract to allow for Code to deploy contract alongside code. createBlueprint is now deprecated, replaced by createContract or the preferred code.tx.<constructor>, which uploads and deploys the code in one operation. This aligns with the current Substrate master contracts implementation.
  • Allow for signed extensions to be supplied inside type bundles
  • Ensure that the auto-connect state is checked on auto-connections (respecting disconnect)
  • Added CancelProxy to `ProxyTypes on Polkadot, Kusama & Westend
  • Updated to latest Substrate metadata

v3.7.3

Changes:

  • Added Polkadot upgrade block for runtime 27 (known checkpoint optimization)

v3.7.2

Changes:

  • Adjusted the Keys type for the 28 runtime on Kusama, Polkadot & Westend

v3.7.1

Upgrade priority: Low. However recommended for current Substrate master, Polkadot and Rococo users and those wishing to support the upcoming Polkadot 28 runtime with the new MultiAddress.

  • Breaking change As indicated in the 3.5.1 release notes, the Address/LookupSource defaults have now been adjusted for MultiAddress. If your chain does not use these types, explicitly add the correct Address/LookupSource types. This new extensible format is mean to cater for all address types into the future, removing a lot of discrepancies between chains.

Contributed:

... (truncated)

Changelog

Sourced from @polkadot/api's changelog.

3.9.1 Feb 14, 2021

Upgrade priority: Low.

  • Important The Result<T, E> has been updated in the generation and the base types to follow the Rust version 100%. This means {as, is}Error is now available as {as, is}Err on the Result type. The older versions can still be used, but the *Error interfaces are now marked as deprecated.

Changes:

  • Adjust Result<T, E> interface to be 100% compatible with the Rust version
  • Add the 2028 upgrade to the known upgrades (optimizing certain .at queries)
  • Adjust council derives to cater for latest Substrate & Polkadot
  • Adjust Rococo know type definitions to cater for the latest update
  • Update types for latest Polkadot/Substrate
  • Add generic arguments for TypeScript users to .entries/.keys to deal with the key typings

3.8.1 Feb 7, 2021

Upgrade priority: Low. Recommended for users of the latest Substrate master, especially using contracts.

  • Important The api-contract Code now supports deploying the code and a contract in on operation. This aligns with the latest Substrate where code cannot be uploaded with a contract. The createBlueprint is therefore deprecated, use code.tx.<constructor>(...) to deploy code. (Compatible with both old and new versions of Substrate)

Contributed:

Changes:

  • Expand api-contract to allow for Code to deploy contract alongside code. createBlueprint is now deprecated, replaced by createContract or the preferred code.tx.<constructor>, which uploads and deploys the code in one operation. This aligns with the current Substrate master contracts implementation.
  • Allow for signed extensions to be supplied inside type bundles
  • Ensure that the auto-connect state is checked on auto-connections (respecting disconnect)
  • Added CancelProxy to `ProxyTypes on Polkadot, Kusama & Westend
  • Updated to latest Substrate metadata

3.7.3 Feb 2, 2021

Changes:

  • Added Polkadot upgrade block for runtime 27 (known checkpoint optimization)

3.7.2 Feb 2, 2021

Changes:

  • Adjusted the Keys type for the 28 runtime on Kusama, Polkadot & Westend

... (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 added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 15, 2021
@dependabot dependabot Bot requested a review from mariopino February 15, 2021 00:39
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Feb 16, 2021

Superseded by #30.

@dependabot dependabot Bot closed this Feb 16, 2021
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/polkadot/api-3.9.1 branch February 16, 2021 00:39
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.

1 participant