Releases: polkadot-js/api
Releases · polkadot-js/api
v6.5.2
Upgrade priority: Low. Recommended for users with .at queries on unknown blocks.
Changes:
- Adjust
toHumanonCallto return names & (not only) values - Allow for optional known
RuntimeVersionto short-circuitapi.at - Ensure
Structdecodes fully onnullinput (equivalent toundefined&{})
v6.5.1
Upgrade priority: Low. Internal maintenance upgrades.
Contributed:
- Add
Auctionto Polkadot pre-0.9.11ProxyType(Thanks to https://github.com/wirednkod)
Changes:
- Ecah module now exposes the Substrate-added
palletVersionstorage item - Adjust Websocket
maxReceivedFrameSizeunder Node TypeDefstructures now contain thetypeNamefrom metadata v14 on fields- Fix browser bundle imports for xcm-mapping (move to
types-known) - Expose all extracted type names in
PortableRegistry - Adjust
toJSON(Ascii) output detection onRaw - Adjust
api.rpc.*.*.raw(..args)return to the actual over-the-wire JSON result - Remove
api.rpc.*.*.json(..args)since it now overlaps with new.raw - Bump static metadata for latest Substrate, Polkadot & Kusama
v6.4.2
v6.4.1
Upgrade priority: Low. Recommended for Kusama & Polkadot runtime 9110+
Changes:
- Adjust Statemint known types for version 4+
- Adjust balance derives to return multiple vesting schedules
- Adjust crowdloan derives to use paged key retrieval
- Ensure account indices (derived) are
Accountindextypes - Adjust metadata v14 to include top-level type field from metadata
- Filter metadata v14 unused enum fields in TS generation
- Adjust derives to use more metadata v14 types on returns
- Add Kusama & Polkadot upgrade blocks for 9100/9110
- Align contract usage with latrest
PortableRegistry(remove old-generation) - Adjust contracts
InstantiateReturnValuetype (no rent projection after 267) - Adjust for eslint v8 checks
- Don't run any online tests on CI by default (uncontrolled external dependencies)
v6.3.1
Upgrade priority: Low. Recommended for Kusama & Polkadot runtime 9100+
Changes:
- Mark
api.query.*.*.atas deprecated (useapi.at) - Expose
queryMulti,findErrorandfindCallonapi.at - Optimize parallel metadata retrieval/decoration
- Rework derive
.atto ensure no additional metadata calls - Adjust Xcm types for Kusama, Polkadot, Westend (V1 & V2 usage)
- Fix Xcm Fungibility type
- Add upgrade blocks for Westend
- Prepare for v14 metadata swap in Kusama/Polkadot (9110 runtime)
- Adjust metadata wilcard path matching (event extraction)
- Bump static metadata for latest Substrate, Polkadot & Kusama
v6.2.1
Upgrade priority: Low. Maintenance updates.
Contributed:
- Cater for new asset fee payment extension (Thanks to https://github.com/apopiak)
Changes:
- Extend error messages for malformed
queryMultiinputs - Correctly handle non-map queries passed to
queryMultiin map form - Use new metadata v14 lookup type in derive results
- Adjust definitions to infer TS types in
.multiqueries - Fix TS lookup enum generation with nested Option & Tuple
- Bump static metadata for latest Substrate, Polkadot & Kusama
v6.1.2
Upgrade priority: Low. Recommended for 6.x users using historic queries.
Changes:
- Fix
.atqueries/decoration for pre-V13 metadata - Added
BridgeMessageId&SpecVersiontypes for bridges - Added
WrapperOpaqueencoding/decoding (as per latest Substrate) - Bump static metadata for latest Substrate, Polkadot & Kusama
v6.1.1
Upgrade priority: Low. Minor maintenance changes from the 6.0.x versions.
Contributed:
- Adjust bridges
OutboundLaneDatatype (Thanks to https://github.com/HackFisher) - Fix README 404 (Thanks to https://github.com/nblogist)
Changes:
- Add
childstate_getStorageEntriesRPC - Allow for scale-info v0 -> v1 conversion