buidl-labs / polkaviz

Visualization efforts on the Polkadot Network!
https://polkavizproject.surge.sh/
2 stars 3 forks source link

Bump @polkadot/api from 1.12.2 to 3.0.1 in /polkaviz-app #180

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps @polkadot/api from 1.12.2 to 3.0.1.

Release notes

Sourced from @polkadot/api's releases.

v3.0.1

Upgrade priority: Low. Recommended for the next Kusama/Polkadot upgrades due to additional types and those following chains following Substrate master closely.

Important While this package contains no external interface changes, it now compiles and ships both cjs and esm modules. This means that modern bundlers will have more information for tree-shaking available. Additionally when using Node with .mjs extensions, the esm version imports will be used on recent Node versions. Adding an export map, as here, may have some impacts so a major semver bump is advised. There may be (small) dragons hiding in the dark corners...

Contributed:

Changes:

  • Build and expose both cjs and esm via exports map
  • Inject RPC definitions for typesBundle, allowing per-spec configuration
  • Added query.<section>.<method>.sizeAt(hash, [...params]) for all storage
  • Add new Substrate consumed Weight types
  • Expand SessionKeys<n> definitions (up to 9)
  • Cleanup circular Type Text definitions
  • Cleanup circular Metadata TypeRegistry imports
  • Update @polkadot/util to 5.0.1

v2.10.1

Upgrade priority: Low. Recommended when following Substrate master and/or parachains development, contains the latest types for both.

  • Breaking change If using the staking.query derive, you now need to pass flags as to which values to retrieve

Changes:

  • Ensure that maximum era is limited to consts.system.blockHashCount (don't overflow on very low blocktimes)
  • Apply current Polkadot master parachain types
  • Apply current Substrate master asset types
  • Add system_{addLogFilter, resetLogFilter} RPCs
  • Adjust tests for latest Substrate metadata
  • Adjust staking derives to be more performant (flags indicate which query values to retrieve)
  • Add account derive to cater for the availability of identities
  • Use import type in all cases

v2.9.1

Upgrade priority: Low. No major changes when on at least 2.8.2. Users encouraged to upgrade to at least that patch.

  • Breaking change The API will now not attempt to queue calls made while not connected and send on connection. Rather when making a call and the RPC node is not connected, an error will be thrown.

Contributed:

Changes:

  • Remove rpc-core send queue, only allow sends while connected
  • Adjust staking derive for electedInfo to contain details of current validators
Changelog

Sourced from @polkadot/api's changelog.

3.0.1 Dec 14, 2020

Upgrade priority: Low. Recommended for the next Kusama/Polkadot upgrades due to additional types and those following chains following Substrate master closely.

Important While this package contains no external interface changes, it now compiles and ships both cjs and esm modules. This means that modern bundlers will have more information for tree-shaking available. Additionally when using Node with .mjs extensions, the esm version imports will be used on recent Node versions. Adding an export map, as here, may have some impacts so a major semver bump is advised. There may be (small) dragons hiding in the dark corners...

Contributed:

Changes:

  • Build and expose both cjs and esm via exports map
  • Inject RPC definitions for typesBundle, allowing per-spec configuration
  • Added query.<section>.<method>.sizeAt(hash, [...params]) for all storage
  • Add new Substrate consumed Weight types
  • Expand SessionKeys<n> definitions (up to 9)
  • Cleanup circular Type Text definitions
  • Cleanup circular Metadata TypeRegistry imports
  • Update @polkadot/util to 5.0.1

2.10.1 Dec 7, 2020

Upgrade priority: Low. Recommended when following Substrate master and/or parachains development, contains the latest types for both.

  • Breaking change If using the staking.query derive, you now need to pass flags as to which values to retrieve

Changes:

  • Ensure that maximum era is limited to consts.system.blockHashCount (don't overflow on very low blocktimes)
  • Apply current Polkadot master parachain types
  • Apply current Substrate master asset types
  • Add system_{addLogFilter, resetLogFilter} RPCs
  • Adjust tests for latest Substrate metadata
  • Adjust staking derives to be more performant (flags indicate which query values to retrieve)
  • Add account derive to cater for the availability of identities
  • Use import type in all cases

2.9.1 Nov 30, 2020

Upgrade priority: Low. No major changes when on at least 2.8.2. Users encouraged to upgrade to at least that patch.

  • Breaking change The API will now not attempt to queue calls made while not connected and send on connection. Rather when making a call and the RPC node is not connected, an error will be thrown.

Contributed:

Commits
Maintainer changes

This version was pushed to npm by polkadotjs, a new releaser for @polkadot/api since your current version.


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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #181.