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 4.10.1 in /polkaviz-app #224

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps @polkadot/api from 1.12.2 to 4.10.1.

Release notes

Sourced from @​polkadot/api's releases.

v4.10.1

Upgrade priority: Medium. Recommended for uses of Polkadot/Kusama 9010 runtimes.

  • Breaking change Support for the contracts V2 compatibility has been dropped in @polkadot/api-contract

Contributed:

Changes:

  • Allow for Bounded* type usage (as per latest Substrate)
  • Adjust internal TS definitions for providers
  • Fix ContractRx query result definitions (no extra Observable)
  • Handle contract call RPC result directly as Raw (returned as hex)
  • Use BN_* constants as non-specified defaults in contract interfaces
  • Remove all type overrides for node/node-template (API tracks latest)
  • Contracts ABI now supports metadata version where indexes are 0-based
  • Remove support for the old-style V2 contracts from @polkadot/api-contract
  • Adjust historic decoration, return as-at registry via getHeader, getMetadata & getRuntimeVersion
  • Adjust VecFixed to allow for the handling of hex inputs
  • Adjust Compact<*> to allow for wrapped toBigInt() conversions
  • Fix isPedantic decoding to correctly handle Text
  • Cater for new phragmenElection module naming
  • Add Kusama & Westend 9010 upgrade blocks
  • Adjust CompactSolution for 24 nominators
  • Bump static metadata to latest Substrate

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

... (truncated)

Changelog

Sourced from @​polkadot/api's changelog.

4.10.1 May 17, 2021

Upgrade priority: Medium. Recommended for uses of Polkadot/Kusama 9010 runtimes.

  • Breaking change Support for the contracts V2 compatibility has been dropped in @polkadot/api-contract

Contributed:

Changes:

  • Allow for Bounded* type usage (as per latest Substrate)
  • Adjust internal TS definitions for providers
  • Fix ContractRx query result definitions (no extra Observable)
  • Handle contract call RPC result directly as Raw (returned as hex)
  • Use BN_* constants as non-specified defaults in contract interfaces
  • Remove all type overrides for node/node-template (API tracks latest)
  • Contracts ABI now supports metadata version where indexes are 0-based
  • Remove support for the old-style V2 contracts from @polkadot/api-contract
  • Adjust historic decoration, return as-at registry via getHeader, getMetadata & getRuntimeVersion
  • Adjust VecFixed to allow for the handling of hex inputs
  • Adjust Compact<*> to allow for wrapped toBigInt() conversions
  • Fix isPedantic decoding to correctly handle Text
  • Cater for new phragmenElection module naming
  • Add Kusama & Westend 9010 upgrade blocks
  • Adjust CompactSolution for 24 nominators
  • Bump static metadata to latest Substrate

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

... (truncated)

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 #226.