Skip to content

Bump @polkadot/api from 6.4.2 to 9.1.1#293

Closed
dependabot[bot] wants to merge 1 commit intostagingfrom
dependabot/npm_and_yarn/staging/polkadot/api-9.1.1
Closed

Bump @polkadot/api from 6.4.2 to 9.1.1#293
dependabot[bot] wants to merge 1 commit intostagingfrom
dependabot/npm_and_yarn/staging/polkadot/api-9.1.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Aug 8, 2022

Bumps @polkadot/api from 6.4.2 to 9.1.1.

Release notes

Sourced from @​polkadot/api's releases.

v9.1.1

Contributed:

Changes:

  • Add noInitWarn: boolean flag to API options, disabling runtime & RPC warnings
  • Only log missing runtime calls on new (detected) specVersion
  • Add shallow/one-blockHash cache for api.at(...) instances
  • Add Westend 9270 upgrade block
  • Update to latest Substrate, Polkadot & Kusama metadata

v9.0.1

  • Breaking change The decorated field getters on Struct were moved to the prototype class for performance reasons. While struct.<field> access still behaves in the same way, with the same results, this does mean that the prototype getters are not visible when doing an Object.keys(struct) or when doing an object spread.
  • Breaking change Deprecated interfaces have been removed including tx.sign(...) (use signAsync), Result.{is, as}Error (use {is, as}Err) as well as storage .range(...) operations.
  • Breaking change Deprecated interfaces on api-contract have been removed. Always ensure you pass an options object to construction and query methods.
  • Breaking change Contracts access via api-contract will now detect the usage of storageDepositLimit in params, if not available the contract interfaces will not be decorated.

Changes:

  • Decorate Struct/Enum/Set field getters on class prototypes
  • Convert api-contract usage of api.rpc.* to api.call.*
  • Drop support for contract runtimes without storageDepositLimit (runtime contractsApi only has support for latest)
  • Export api.rx.call.* for internal usage (derive, contracts)
  • Remove old-style param passing as opposed to options in api-contract
  • Support for alliance/motion collective derives
  • Add Kusama 9260 upgrade block
  • Add Polkadot 9230 & 9250 upgrade blocks
  • Add Westend 9251, 9260 & 9261 upgrade blocks
  • Update to latest Substrate, Polkadot & Kusama metadata

v8.14.1

Contributed:

Changes:

  • {BTree|Hash}Map.toHuman() now display Raw keys as ascii (if detected)
  • Add toPrimitive() to all base Codec interfaces (string/boolean/number)
  • Adjust metadata conversion with objectSpread (where missing)
  • Support for TransactionPaymentCallApi runtime interface
  • Check registry.getModuleInstances against metadata paths (fallback)
  • Update to @polkadot/util 10.1.1
  • Update to latest Kusama metadata (Substrate & Polkadot are current)

v8.13.1

Changes:

... (truncated)

Changelog

Sourced from @​polkadot/api's changelog.

9.1.1 Aug 6, 2022

Contributed:

Changes:

  • Add noInitWarn: boolean flag to API options, disabling runtime & RPC warnings
  • Only log missing runtime calls on new (detected) specVersion
  • Add shallow/one-blockHash cache for api.at(...) instances
  • Add Westend 9270 upgrade block
  • Update to latest Substrate, Polkadot & Kusama metadata

9.0.1 Jul 30, 2022

  • Breaking change The decorated field getters on Struct were moved to the prototype class for performance reasons. While struct.<field> access still behaves in the same way, with the same results, this does mean that the prototype getters are not visible when doing an Object.keys(struct) or when doing an object spread.
  • Breaking change Deprecated interfaces have been removed including tx.sign(...) (use signAsync), Result.{is, as}Error (use {is, as}Err) as well as storage .range(...) operations.
  • Breaking change Deprecated interfaces on api-contract have been removed. Always ensure you pass an options object to construction and query methods.
  • Breaking change Contracts access via api-contract will now detect the usage of storageDepositLimit in params, if not available the contract interfaces will not be decorated.

Changes:

  • Decorate Struct/Enum/Set field getters on class prototypes
  • Convert api-contract usage of api.rpc.* to api.call.*
  • Drop support for contract runtimes without storageDepositLimit (runtime contractsApi only has support for latest)
  • Export api.rx.call.* for internal usage (derive, contracts)
  • Remove old-style param passing as opposed to options in api-contract
  • Support for alliance/motion collective derives
  • Add Kusama 9260 upgrade block
  • Add Polkadot 9230 & 9250 upgrade blocks
  • Add Westend 9251, 9260 & 9261 upgrade blocks
  • Update to latest Substrate, Polkadot & Kusama metadata

8.14.1 Jul 23, 2022

Contributed:

Changes:

  • {BTree|Hash}Map.toHuman() now display Raw keys as ascii (if detected)
  • Add toPrimitive() to all base Codec interfaces (string/boolean/number)
  • Adjust metadata conversion with objectSpread (where missing)
  • Support for TransactionPaymentCallApi runtime interface
  • Check registry.getModuleInstances against metadata paths (fallback)

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

Bumps [@polkadot/api](https://github.com/polkadot-js/api/tree/HEAD/packages/api) from 6.4.2 to 9.1.1.
- [Release notes](https://github.com/polkadot-js/api/releases)
- [Changelog](https://github.com/polkadot-js/api/blob/master/CHANGELOG.md)
- [Commits](https://github.com/polkadot-js/api/commits/v9.1.1/packages/api)

---
updated-dependencies:
- dependency-name: "@polkadot/api"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 8, 2022
@dependabot dependabot bot requested a review from iisaint August 8, 2022 02:26
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 15, 2022

Superseded by #296.

@dependabot dependabot bot closed this Aug 15, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/staging/polkadot/api-9.1.1 branch August 15, 2022 02:28
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants