Skip to content

Releases: polkadot-js/api

v1.23.1

06 Jul 05:49

Choose a tag to compare

  • Small README typo fix (Thanks to https://github.com/woss)
  • Add latest Substrate master types
  • Adjust <Codec>.toRawType() to use registry name as available
  • Update ProxyType for Kusama, Polkadot & Westend with IdentityJudgement
  • Validate number format (signed/unsigned) for number types
  • Remove core codec dependencies on Base class (with proper TS encapsulation)
  • @polkadot/util 2.17

v1.22.1

30 Jun 08:15

Choose a tag to compare

  • Important Substrate changed the treasury tip structure, on older chains supply OpenTip: 'OpenTipTo225'
  • Allow for [u8; 33] in U8aFixed (Thanks to https://github.com/akru)
  • Improve derive accountId -> accountIndex lookups (optimize entries queries)
  • Vesting balance calculations via derive.balances.all has been updated for locks
  • Add derive for multi staking rewards with specified eras
  • @polkadot/util 2.16

v1.21.1

23 Jun 16:19

Choose a tag to compare

  • Fix subscriptions never unsubscribing after the id swap in 1.18.1 (Thanks to https://github.com/dillu24 for testing iterations)
  • Add support for CheckMortality signed extension (old CheckEra is now an alias)
  • Promise API will default to using getStorage on non-subscription calls, reducing RPC overhead
  • Optimize derive BN allocations, using in-place operators as applicable
  • Add new substrate types for Babe EquivocationProof
  • Adjust Releases enum to use a shared instance

v1.20.1

22 Jun 14:23

Choose a tag to compare

  • Important RPC for account_nextIndex has been moved to system_accountNextIndex (Aligning with Substrate as a primary alias)
  • Cleanup map entries support with only Substrate 2.0-era RPCs (as introduced)
  • Add system_dryRun RPC
  • Optimize derive.staking.queryMulti retrievals with additional per-type batching
  • Add derive.staking.waitingInfo (same as electedInfo for waiting validators)
  • Adjust types & metadata for latest Substrate
  • @polkadot/util 2.15

v1.19.1

16 Jun 06:49

Choose a tag to compare

  • Improve typing on .entries() queries (Thanks to https://github.com/monitz87)
  • Align metadata and types with latest Substrate
  • Update Polkadot types for current evolution of parachains
  • Allow for type aliasing on events (aligning with calls & queries)

v1.18.1

08 Jun 16:06

Choose a tag to compare

  • Expand docs on node-template types (Thanks to https://github.com/g2udevelopment)
  • Update contract fees to current impl. (Thanks to https://github.com/djuanit0x)
  • Allow Option types in enum/Result type generation (Thanks to http://github.com/xlc)
  • Add .entriesPaged and .keysPaged methods for state maps (https://github.com/monitz87)
  • Support for latest Polkadot CC1, Kusama, Westend & Substrate types
  • Add types for new Substrate proxy module
  • Adjust types for new Substrate (renamed) npos-elections module
  • Call now exposes method & section fields (aligned with toHuman() representation)
  • Cater for new Substrate string subscription ids (with backwards compatibility)
  • @polkadot/util 2.13

v1.17.2

02 Jun 15:29

Choose a tag to compare

  • Ensure subscription promise resolves before first result

v1.17.1

02 Jun 12:29

Choose a tag to compare

  • Fix ElectionSize type (Thanks to https://github.com/arjanz)
  • Allow BTreeSet decoding from Array/JSON inputs
  • Adjust Call-only metadata output to trim documentation to first full line
  • Safeguard against divide-by-zero for total era points (expired reward eras)
  • Internal derive optimizations with combining calls
  • Support for latest Substrate types & metadata
  • @polkadot/util 2.12

v1.16.1

26 May 15:14

Choose a tag to compare

  • Support for Polkadot CC1 types & signed extensions
  • Add support for Babe VRF secondary digests (author extraction)
  • Adjust Perbill/Permill toHuman() formatting to output percentage
  • Support for latest Substrate types & metadata
  • Update to latest TypeScript, eslint & typescript-eslint
  • @polkadot/util 2.11

v1.15.1

23 May 09:54

Choose a tag to compare