Releases: polkadot-js/api
Releases · polkadot-js/api
v6.11.1
v6.10.3
v6.10.2
v6.10.1
Upgrade priority: Low. Recommended for users of HttpProvider and for chains generating types using TS augmentation.
Changes:
- Fix for HttpProvider init (RPC sections with only subscriptions)
- Re-order imports in lookup type augmentation interfaces
- Bump static metadata for latest Substrate, Polkadot & Kusama
v6.9.2
v6.9.1
Upgrade priority: Medium. Recommended for metadata v14 parachains. For TS users, the package now support TypeScript 4.5.2 and allows extraction of user types from metadata v14.
Contributed:
- Lookup TS generation for all metadata v14 chains (Thanks to https://github.com/savudani8)
- Update
BeefySignedCommitmenttype (Thanks to https://github.com/czl1378)
Changes:
- Adjust runtime
*::{Call, Event}matching for metadata v14 - Adjust derive decoration with (optional) known methods
- Expose
*{Call, Event, Error}TS types for metadata v14 - Align Option
.toJSONoutput with Substrate input - Optimize Enum, Struct, Option & Number decoding paths
- Ajust PascalCase conversions with function from util
- Prepare pre-v13 types for optional injection
- Adjustments for TS 4.5.2 support (flatten type infers)
v6.8.1
Upgrade priority: Low. Recommended for chains with non-MultiSignature variants where paymentInfo is required.
Changes:
- Adjust
paymentInfosignatures to cater for non-MultiSignature variants - Remove
::generic::from names & namespaces under metadata v14 - Add Polkadot 9122 upgrade block
- Cleanup Polkadot/Kusama/Westend/Rococo known types (>= v14 metadata)
- Internal
decorateMethod{Promise, Rx}renamed toto{Promise, Rx}Method - Add RPC provider-level LRU for historic requests
- Add optional known runtime version param to internal
rx.queryAt
v6.7.2
v6.7.1
Upgrade priority: Low. Internal maintenance updates, focussed on internal optimizations.
Changelog:
- Optimize Extrinsic & block handling (Thanks to https://github.com/nazar-pc)
- Add
account::AccountId20mapping (Thanks to https://github.com/joelamouche)
Changes:
- Use new-gen
voteLockingPeriodin democracy derives (as available) - Dynamically inject getters for
Extrinsicpayloads - Optimize caching for complex constructed type classes per registry
- Convert metadata, rpc and api to use lazy decoration
- Split u8a decoding paths for
Vec(different from general path) - Keep track of initial u8a decoded length inside base Codecs
- Extract multi property assignments for
Struct,Set,Json&Enum - Move
PortableRegistrylocation inside@polkadot/types/metadata - Bump static metadata for latest Substrate, Polkadot & Kusama
v6.6.1
Upgrade priority: Low. Internal maintennce updates.
Changes:
- Fix construction for
palletVersionkeys with correct prefix - Add Polkadot
EthereumAddressas a knownPortableRegistryoverride - De-dupe
PortableRegistrynamespace splitting operations - Optimize internal
AbstractArray&Structu8a decoding - Shortcut
Structconstruction fromStructinstance - Use internal
lookupNameincreateClass(allows deeply recursive lookups) - Codec
toHex()will now correctly return the TSHexStringtype - Update known upgrade blocks for Westend & Kusama
- Bump static metadata for latest Substrate, Polkadot & Kusama