Releases: polkadot-js/api
Releases · polkadot-js/api
v1.23.1
- 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
ProxyTypefor Kusama, Polkadot & Westend withIdentityJudgement - Validate number format (signed/unsigned) for number types
- Remove core codec dependencies on Base class (with proper TS encapsulation)
@polkadot/util2.17
v1.22.1
- 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.allhas been updated for locks - Add derive for multi staking rewards with specified eras
@polkadot/util2.16
v1.21.1
- Fix subscriptions never unsubscribing after the id swap in 1.18.1 (Thanks to https://github.com/dillu24 for testing iterations)
- Add support for
CheckMortalitysigned extension (oldCheckErais now an alias) - Promise API will default to using
getStorageon non-subscription calls, reducing RPC overhead - Optimize derive BN allocations, using in-place operators as applicable
- Add new substrate types for Babe EquivocationProof
- Adjust
Releasesenum to use a shared instance
v1.20.1
- Important RPC for
account_nextIndexhas been moved tosystem_accountNextIndex(Aligning with Substrate as a primary alias) - Cleanup map entries support with only Substrate 2.0-era RPCs (as introduced)
- Add
system_dryRunRPC - Optimize
derive.staking.queryMultiretrievals with additional per-type batching - Add
derive.staking.waitingInfo(same aselectedInfofor waiting validators) - Adjust types & metadata for latest Substrate
@polkadot/util2.15
v1.19.1
- 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
- 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
Optiontypes in enum/Result type generation (Thanks to http://github.com/xlc) - Add
.entriesPagedand.keysPagedmethods 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
Callnow exposesmethod§ionfields (aligned withtoHuman()representation)- Cater for new Substrate string subscription ids (with backwards compatibility)
@polkadot/util2.13
v1.17.2
v1.17.1
- Fix
ElectionSizetype (Thanks to https://github.com/arjanz) - Allow
BTreeSetdecoding 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/util2.12
v1.16.1
- Support for Polkadot CC1 types & signed extensions
- Add support for Babe VRF secondary digests (author extraction)
- Adjust
Perbill/PermilltoHuman()formatting to output percentage - Support for latest Substrate types & metadata
- Update to latest TypeScript, eslint & typescript-eslint
@polkadot/util2.11
v1.15.1
- Adjust
keyPrefix()with DoubleMap args (Thanks to https://github.com/KiChjang) - Added
WeightToFeeCoefficienttype (Thanks to https://github.com/danforbes) - Spelling fixes for console logs (Thanks to https://github.com/JoshOrndorff)
- Spelling fixes in cookbook (Thanks to https://github.com/pawelnguyen)
- Add
transactionVersiongetter in payloads (Thanks to https://github.com/amaurymartiny) - Adjust
stakerRewardsderive ordering for improved on-payout refreshes - Baseline implementation for derive caching infrastructure
- Adjust
Multipliertype toFixed128(as per latest Substrate) - Updated to latest Substrate metadata & add new types