Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update polkadot dependencies #732

Merged
merged 3 commits into from
Mar 16, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 4, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@polkadot/api (source) ^9.10.2 -> ^10.0.0 age adoption passing confidence
@polkadot/keyring (source) ^10.2.1 -> ^11.0.0 age adoption passing confidence
@polkadot/keyring (source) ^10.2.1 -> ^11.0.0 age adoption passing confidence
@polkadot/typegen (source) ^9.10.2 -> ^10.0.0 age adoption passing confidence
@polkadot/types (source) ^9.10.2 -> ^10.0.0 age adoption passing confidence
@polkadot/types (source) ^9.10.2 -> ^10.0.0 age adoption passing confidence
@polkadot/types-codec (source) ^9.10.2 -> ^10.0.0 age adoption passing confidence
@polkadot/util (source) ^10.2.1 -> ^11.0.0 age adoption passing confidence
@polkadot/util (source) ^10.2.1 -> ^11.0.0 age adoption passing confidence
@polkadot/util-crypto (source) ^10.2.1 -> ^11.0.0 age adoption passing confidence
@polkadot/util-crypto (source) ^10.2.1 -> ^11.0.0 age adoption passing confidence

Release Notes

polkadot-js/api

v10.1.3

Compare Source

Changes:

  • Remove incorrect .module. specifiers in typegen code

v10.1.2

Compare Source

Changes:

  • Adjust type exports to remove invalid generated exports from /src/
  • Apply missing /*#__PURE__*/ exports in api-derive

v10.1.1

Compare Source

Contributed:

Changes:

  • Align runtime APIs with latest Substrate
  • Update to latest Polkadot, Kusama & Substrate metadata
  • Use consistent .js imports in source files (TS moduleResolution)

v10.0.1

Compare Source

Contributed:

Changes:

  • Ensure that provider disconnect clears all subscriptions
  • Adjust typegen to internally use import() (catering for ESM provided types)
  • Swap TS -> JS compiler to use tsc (from babel)
  • Adjust all tests to use node:test runner (ESM variants)
  • Update to latest Polkadot, Kusama & Substrate metadata

v9.14.2

Compare Source

Changes:

  • Don't allow WsProvider.connect() on an open connection (creates resource leaks)
  • Adjust typegen to use metadata-defined aliases in query return decoration
  • Update to latest Polkadot, Kusama & Substrate metadata

v9.14.1

Compare Source

Changes:

  • Extract aliases for *_runtime::Runtime{Call, Event} from metadata
  • Update to latest Polkadot, Kusama & Substrate metadata

v9.13.6

Compare Source

Contributed:

Changes:

  • Additional override for Compact<{ refTime: u64 }> chains
  • Add script to retrieve local rpc, version & metadata for typegen

v9.13.5

Compare Source

Changes:

  • Adjust Weight alias for 1.5 chains
  • Ensure correct registry is pass through for runtime TS generation

v9.13.4

Compare Source

Changes:

  • None from 9.13.3 (The previous version had npm registry publishing issues)

v9.13.3

Compare Source

Changes:

  • Adjust Weight alias detection to cater for WeightV0/u32 overrides (e.g. early Kusama blocks)

v9.13.2

Compare Source

Changes:

  • Allow null as valid param to Int/UInt

v9.13.1

Compare Source

Contributed:

Changes:

  • Adjust Weight alias detection (moved from PortableRegistry -> Registry)
  • Move default (typegen) weight alias to WeightV2 (does not affect runtime detection)
  • Prepare metadata docs from chain generation for future cli arguments
  • Add base type object for (future) composite types
  • Apply additional JSDoc comments into PortableRegistry
  • Update to latest Polkadot, Kusama & Substrate metadata

v9.12.1

Compare Source

Changes:

  • Add isStorageFallback on the Codec interface. (true if entry was created from a metadata fallback value from an empty storage item)
  • Ensure api.queryMulti returns empty result when no keys are provided
  • Add explicit Array checks on Vec/Tuple inputs
  • Align Struct.{toU8a/toPrimitive/toHuman/toJSON} population of results
  • Apply memoization to batched API queries
  • Update to latest Polkadot, Kusama & Substrate metadata

v9.11.3

Compare Source

Changes:

  • Update to latest Polkadot, Kusama & Substrate metadata

v9.11.2

Compare Source

Changes:

  • Ensure derive.democracy.preimages retrieves correctly from (current-gen) preimage

v9.11.1

Compare Source

  • Breaking change For users of ScProvider you now need to explicitly pass @substrate/connect as a parameter. This means the code needs to be adjusted as follows -
import { ScProvider } from '@&#8203;polkadot/api';
import * as Sc from '@&#8203;substrate/connect';

const provider = new ScProvider(Sc, Sc.WellKnownChain.polkadot);

Contributed:

Changes:

  • The ScProvider interface now needs receive an @substrate/connect instance
  • Along with the above ScProvider.WellKnownChains has been removed
  • Update to latest Polkadot, Kusama & Substrate metadata

v9.10.5

Compare Source

Changes:

  • Revert 9.10.4 paymentInfo changes (fallback only works on struct, not Weight)

v9.10.4

Compare Source

Changes:

  • Align runtime paymentInfo calls with Substrate (w/ decoding fallbacks)

v9.10.3

Compare Source

Changes:

  • Add override for Structs where registry appear as a field
  • Update to latest Polkadot, Kusama & Substrate metadata
  • Kusama 9320/9340/9350 & Westend 9330/9340/9350 upgrade blocks
polkadot-js/common

v11.0.2

Compare Source

Changes:

  • Use consistent .js imports in source files (TS moduleResolution)
  • Remove TS resolveJsonModule option
  • Upgrade to @polkadot/wasm-crypto 7.0.3

v11.0.1

Compare Source

Changes:

  • Change @polkadot/x-ws to use ws package (previous: websocket)
  • Add /*#__PURE__*/ annotations for @polkadot/x-* packages
  • Swap TS -> JS compiler to use tsc (from babel)
  • Adjust all tests to use node:test runner (ESM variants)
  • Move cryptoWaitReady() top-level in test files
  • Upgrade to @polkadot/wasm-crypto 7.0.1

v10.4.2

Compare Source

Contributed:

Changes:

  • Ensure u8aToU8a correctly unwraps Buffer value (check ordering)
  • Upgrade dependencies to latest stable versions

v10.4.1

Compare Source

Contributed:

Changes:

  • Add isClass helper (checks if input is actual Class Constructor)
  • Adjust isChildClass to rely on new isClass
  • Upgrade dependencies to latest stable versions

v10.3.1

Compare Source

Contributed:

Changes:

  • Expand arrayChunk tests
  • Adjust output for Ledger sanity checks
  • Expand exported bigint constants to match with those in BN
  • Adjust internal character maps to operate on Uint8Array instad of Array<number>
  • Upgrade dependencies to latest stable versions

v10.2.6

Compare Source

Changes:

  • Drop stray console.error log (it really is Friday 13th)

v10.2.5

Compare Source

Changes:

  • Bugfix for formatBalance (forceUnit) with BN inputs where output is less than 0

v10.2.4

Compare Source

Changes:

  • Add the withAll (default false) flag to formatBalance to format to max decimals
  • Add the withZero (default true) flags to formatBalance to retain trailing zeros

v10.2.3

Compare Source

Changes:

  • Adjust isBuffer check on xglobal (no auto-polyfill detection on eg. parcel)
  • Upgrade dependencies to latest stable versions

v10.2.2

Compare Source

Contributed:

Changes:

  • Upgrade dependencies to latest stable versions

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Sorry, something went wrong.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Mar 4, 2023
@renovate renovate bot force-pushed the renovate/polkadot branch from 56f7693 to c129996 Compare March 5, 2023 10:19
@renovate renovate bot changed the title chore(deps): update polkadot dependencies to v11 chore(deps): update polkadot dependencies Mar 5, 2023
@renovate renovate bot force-pushed the renovate/polkadot branch 3 times, most recently from 8e9b379 to 3ede5f6 Compare March 7, 2023 10:37
@renovate renovate bot force-pushed the renovate/polkadot branch from 3ede5f6 to 1978084 Compare March 14, 2023 12:54
@renovate renovate bot force-pushed the renovate/polkadot branch from 1978084 to fe06c68 Compare March 14, 2023 20:51
@renovate
Copy link
Contributor Author

renovate bot commented Mar 16, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

Copy link
Contributor

@rflechtner rflechtner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rflechtner rflechtner merged commit 2b32986 into develop Mar 16, 2023
@rflechtner rflechtner deleted the renovate/polkadot branch March 16, 2023 16:52
@rflechtner rflechtner mentioned this pull request Jun 8, 2023
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.

None yet

2 participants