Skip to content

chore(deps): update polkadot dependencies to v16 #905

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 11, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@polkadot/api (source) ^12.0.0 -> ^16.0.0 age adoption passing confidence
@polkadot/typegen (source) ^12.0.0 -> ^16.0.0 age adoption passing confidence
@polkadot/types (source) ^12.0.0 -> ^16.0.0 age adoption passing confidence

Release Notes

polkadot-js/api (@​polkadot/api)

v16.0.1

Compare Source

Breaking Changes:

  • With the upgrade to Metadata v16, several fields have been removed or replaced. The following fields no longer exist in the updated metadata definitions:
    • type: This field has been completely removed in Metadata.
    • version: Previously part of ExtrinsicMetadata. Replaced by versions, which now holds an array Vec<u8> of supported extrinsic versions instead of a single value.
    • extraType: This field has been completely removed in ExtrinsicMetadata.
    • signedExtensions: Previously part of ExtrinsicMetadata. Replaced by transactionExtensions, which provides a more structured definition of extensions, and transactionExtensionsByVersion, mapping versions to active extensions.

Changes:

v15.10.2

Compare Source

Changes:

  • Fix StagingXcmV5Junctions generation (#​6145)

v15.10.1

Compare Source

Changes:

  • Update Substrate types for polkadot-sdk v2503-2-rc1 (#​6137)
  • Upgrade Kusama types to 1.5.0 (#​6139)
  • Upgrade Polkadot types to 1.5.0 (#​6140)
  • Improve Xcm V5 support (#​6142)

v15.9.3

Compare Source

Contributed:

  • Throws detailed error information (#​6116)

v15.9.2

Compare Source

Changes:

  • Enhance property access validation in Struct decoding (#​6126)
  • Improve type registry known defaults implementation to a Map (#​6127)
  • bump polkadot/common to 13.4.4 (#​6128)

v15.9.1

Compare Source

Changes:

  • Fix signAsync() docs (#​6121)
  • Make TTL configurable on WsProvider & HttpProvider (#​6123)

v15.8.1

Compare Source

Changes:

  • Add derives to obtain Extrinsic Information (#​6113)

v15.7.2

Compare Source

Changes:

  • Update asset-hub type-support metadata files for v1.4.0 (#​6105)
  • Document available Api Derives (#​6106)
  • Fix derives base path in typegen (#​6107)

v15.7.1

Compare Source

Changes:

  • Upgrade Kusama types to 1.4.0 (#​6098)
  • Api-Derives documentation generator (#​6099)
  • Upgrade Polkadot types to v1.4.0 (#​6100)
  • Add WeightReclaim transaction extension to known extensions (#​6102)
  • Add westend code upgrades (#​6103 )

v15.6.1

Compare Source

Changes:

  • Log Http/Ws request on error #​6091
  • Only identify Struct as empty when it has no keys. #​6092
  • Check for api.query.identity in getSubIdentities #​6093
  • Upgrade common to 13.4.3 #​6095

v15.5.2

Compare Source

Changes:

  • Ensure assetId is handled correctly when addSignature is used (#​6083)
    • NOTE: This is specific to signers but also extends to class GenericExtrinsicPayloadV4.
  • Fix typegen adding invalid imports (#​6082)
  • Include missing known keys (#​6084)

v15.5.1

Compare Source

Contributed:

Changes:

  • Update polkadot, kusama types-support for rpc, and ver (#​6078)
  • Update Asset-Hub types-support rpc, and ver (#​6077)
  • Patch typegen query to prevent it from adding invalid import (#​6073)
  • Extend GenericAccountId description (#​6072)

v15.4.1

Compare Source

Changes:

  • Allow api.derive.accounts.identity() to obtain SubIdentities (#​6066)
    • Adds a new field subs to the DeriveAccountRegistration output of api.derive.accounts.identity()
  • Add ElectionResult type override (#​6067)
  • Bump dev to 0.83.2 (#​6069)
    • Increases performance of the test-runner, both locally, and in the CI

v15.3.1

Compare Source

Changes:

  • Set typegen scripts for Docs to use v15 (#​6060)
  • Add Asset hub options to polkadot-types-internal-metadata (#​6062)
  • Add metadataVer cli arg for polkadot-types-internal-metadata, and ensure backwards compatibility with v14 (#)
    • This adds --metadataVer to polkadot-types-internal-metadata. It is meant to be used along side --endpoint which will allow for the use of metadata versions above v14.

v15.2.1

Compare Source

Changes:

  • Give compatibility for nodejs v22
    • Update common to 13.3.1 (#​6057)
      • Fixes an issue with getSeparator for nodejs 22.12
  • Bump dev to 0.82.4 (#​6056)
  • Update Headers to 2025 (#​6052)
  • Bump yarn to 4.6.0 (#​6050)

v15.1.1

Compare Source

Changes:

  • Update AssetHub types-support metadata (#​6046)
  • Update Polkadot and Kusama types-support metadata (#​6047)
  • Update Substrate types with polkadot-stable2412 (#​6048)

v15.0.2

Compare Source

Changes:

  • Fix metadata on init when its value is u32 max (#​6043)
    • This ensures runtime api information is correctly generated and the correct metadata is used as part of the registry. At the moment this is only an issue on westend asset hub, as reported by users.

v15.0.1

Compare Source

Breaking Changes:

  • Allow external signers to modify the payload (#​6030) (Thanks to https://github.com/Tbaut)
    • Add allowCallDataAlteration to SignatureOptions, and SignerOptions. This will default to true when its not inputted. This is strictly tied to signing payloads via external signers.

Contributed:

Changes:

  • Adjust ExtrinsicV5 to fit current spec (#​6029)
    • This removes the signed functionality for ExtrinsicV5 since it is no longer supported
  • Update docs for WsProvider, and RpcCore (#​6031)
  • Add testing for assetId access from ExtrinsicPayload (#​6033)
  • Update Substrate types to 1.16.2 (#​6034)

v14.3.1

Compare Source

Changes:

  • Add rpcCacheCapacity option to ApiOptions (#​6020)
  • Update metadata script for types-support (#​6021)
  • Add AssetHub to types-support and test generation (#​6022)
  • Fix node v22 testing compatibility w/ dev bump (#​6024)
  • Fix isClaimed for edgecase with non validator Ids (#​6027)
  • Fix isClaimed in api.derive.staking.{stakerRewards, stakerRewardsMultiEras, stakerRewardsMulti} (#​6026)
  • Upgrade common to 13.2.3 (#​6025)

v14.2.3

Compare Source

Changes:

  • Increase RPC-CORE default cache capacity (#​6016)
  • Set CI to use Node.js Iron (v20) (#​6018)

v14.2.2

Compare Source

Changes:

  • fix: update LRUcache to not keep thread (#​6013)
  • Adjust api.derive.staking.nextElected to use erasStakersOverview (#​6011)

v14.2.1

Compare Source

Changes:

  • Add isClaimed field to api.derive.staking._stakerRewards (#​6007)
  • Upgrade polkadot/common to 13.1.2 (#​6008)
  • Bump yarn to 4.5.1 (#​6005)

v14.1.1

Compare Source

Changes:

  • Fix deno build in CI to version 1.42.x (#​5999)
  • Add LRU TTL cache implementation (#​5997)
    • This focuses on performance advancements and less memory usage
  • Update non-pjs deps (#​6000)
  • Set static metadata to v15 and update typegen to generate runtime apis and use v15 metadata (#​5987)
    • Additionally: This does update the static types to be inline with polkadot 1003003
  • Bump dev to 0.81.2 (#​6001)
    • Allows for correct CJS targetting
  • Bump common to 13.2.1 (#​6002)

v14.0.1

Compare Source

Changes:

  • TransactionExtension, ExtrinsicV5
    • This is a very large feature that gives support for Extrinsic V5. This is not a breaking change, but because of the impact it has it is a Major bump.
    • This PR acts as a forward compatible feature that still focuses on v4, but allows for the use of v5 when:
      a: The metadata extrinsic version is set to 5
      b: The extrinsic version is set to 5 when manually constructing transactions.
    • The PR allows the decoding of all v4, and v5 extrinsics including {bare, signed, general} transactions.
  • Address parsing issues for H160 accounts in api.derive.accounts.{*} (#​5991)

v13.2.1

Compare Source

Changes:

  • Generate Runtime Apis Dynamically (#​5986)
  • Fix logging for older runtimes for runtime-api decoration (#​5988)

v13.1.1

Compare Source

Changes:

v13.0.1

Compare Source

Breaking Changes:

  • Change assetId type in SignerPayloadJSON to HexString (#​5967)
  • Keep assetId hex as an Option for toPayload (#​5968)

NOTE: This is part of the current change to generalize the SignerPayloadJSON in order to simplify its integration across other tools. The return value of assetId field with toPayload will always be its true type now, which in this case is Option<TAssetConversion> where TAssetConversion is equal to MultiLocation | AssetId.

Changes:

  • Bump dev and typescript (#​5964)
  • Bump yarn to 4.1.1 (#​5978)
  • Add kusama types-known v1.3.0 upgrade (#​5971)
  • Update Kusama augmented types to 1.3.0 (#​5972)
    • Please reference the PR above to view any changes in the runtime types

v12.4.2

Compare Source

Changes:

  • Fix derive.balances.all when data is undefined (#​5961)

v12.4.1

Compare Source

Contributed:

Changes:

  • Bump yarn to 4.4.0 (#​5952)
  • Update General Deps (patch only) (#​5954)
  • Rework api.derive.balance.{account, all} to work with the new frame account data (#​5955)
    • Adds transferable and frameSystemAccountInfo to the output of api.derive.balance.all
  • Revise api.derive.balances.all to include ED when necessary (#​5957)
    • Fixes the formula used for transferable balance

v12.3.1

Compare Source

Contributed:

Changes:

  • Upgrade known Polkadot and Westend CodeUpdated blocks (#​5948)
  • Update substrate types via metadata (#​5949)
    • Note: Please review the above PR for any changes to the augmented types.
  • Support for BeefyApi v4 (#​5950)

v12.2.3

Compare Source

Contributed:

v12.2.2

Compare Source

Changes:

  • Fix toHuman error on mode

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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Sep 11, 2024
@renovate renovate bot force-pushed the renovate/polkadot branch from dde3588 to 2ef60ee Compare October 2, 2024 21:26
@renovate renovate bot changed the title chore(deps): update polkadot dependencies to v13 chore(deps): update polkadot dependencies to v14 Oct 2, 2024
@renovate renovate bot force-pushed the renovate/polkadot branch from 2ef60ee to 42219aa Compare November 28, 2024 00:22
@renovate renovate bot changed the title chore(deps): update polkadot dependencies to v14 chore(deps): update polkadot dependencies to v15 Nov 28, 2024
@renovate renovate bot force-pushed the renovate/polkadot branch 2 times, most recently from c77cd1d to 97ace15 Compare December 6, 2024 09:50
@exposphere
Copy link

lgtm

@renovate renovate bot changed the title chore(deps): update polkadot dependencies to v15 chore(deps): update polkadot dependencies to v15 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/polkadot branch December 8, 2024 18:29
@renovate renovate bot changed the title chore(deps): update polkadot dependencies to v15 - autoclosed chore(deps): update polkadot dependencies to v15 Dec 9, 2024
@renovate renovate bot reopened this Dec 9, 2024
@renovate renovate bot force-pushed the renovate/polkadot branch from 3a92f0f to 97ace15 Compare December 9, 2024 03:26
@renovate renovate bot force-pushed the renovate/polkadot branch 2 times, most recently from f8fcd85 to 33d6b46 Compare January 13, 2025 13:19
@renovate renovate bot force-pushed the renovate/polkadot branch from 33d6b46 to 9c7a93d Compare January 30, 2025 09:20
@renovate renovate bot force-pushed the renovate/polkadot branch from 9c7a93d to e956604 Compare February 7, 2025 15:54
@renovate renovate bot force-pushed the renovate/polkadot branch from e956604 to 39b0c2f Compare February 17, 2025 18:15
@renovate renovate bot force-pushed the renovate/polkadot branch from 39b0c2f to 0f4415f Compare March 5, 2025 14:20
@renovate renovate bot force-pushed the renovate/polkadot branch from 0f4415f to 3d0dfef Compare May 20, 2025 00:08
@renovate renovate bot changed the title chore(deps): update polkadot dependencies to v15 chore(deps): update polkadot dependencies to v16 May 20, 2025
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.

1 participant