Releases: polkadot-js/api
Releases · polkadot-js/api
v8.6.1
Changes:
- Add codec support for specialized
Option<bool> - Optimization for
createClasswith shortcut typeDef creation - Optimization of
registry.getOrUnknownwith lookup cache - Optimization of Array allocations in decoding
- Use
compactFromU8aLim&u8aConcatStrictvariants - Adjust
.inspect()forExtrinsicPayload - Adjust Kusama
StakingLedgerfor runtime 1051 - Update to latest Substrate, Kusama & Polkadot static metadata
v8.5.1
Contributed:
- Bump
@substrate/connectto 0.7.5 (Thanks to https://github.com/wirednkod)
Changes:
- Adjust extrinsic inspect for signed/unsigned
- Add support for
mmr_generateBatchProofRPC - Add additional
isCodecchecks to error/event.is - Add support for
Vec<Option<X>>in typegen - Update to latest Substrate, Kusama & Polkadot static metadata
v8.4.2
v8.4.1
Changes:
- Added support for typegen over
Range/RangeInclusivetypes - Add explicit support for
Calltypegen (inclusive of non-defaults) - Deupe
wss://handling inpolkadot-types-from-{chain, defs} - Allow for optional
definitions.tsin typegen (only use chain) - Optimize
Compact<*>decoding in Uint8Array streams - Use
I*interfaces for extrinsic payload getters - Re-add support for historic linked-map queries
- Update to latest Substrate, Kusama & Polkadot static metadata
- Add latest upgrade blocks for Polkadot, Kusama & Westend
v8.3.2
Contributed:
- Bump
@substrate/connectto 0.7.4 (Thanks to https://github.com/wirednkod)
Changes:
- Adjust
BTreeSetin typegen top-level generation
v8.3.1
Contributed:
- Fetch metadata via WS for
types-from-defs(Thanks to https://github.com/alex-nax)
Changes:
- Extract metadata v14
BTreeSettypes into correct type - Assert to ensure that
[u8; <size>]has exact sizes (non-u8a inputs) - Adjust
tx.paymentInfosigning process for existing signature - Add Kusama 9190 upgrade block
- Add Westend 9200 upgrade block
- Update to latest Substrate, Kusama & Polkadot static metadata
v8.2.1
Contributed:
- Make WS timeout check configurable (Thanks to https://github.com/isSerge)
Changes:
- Don't fake signature for
paymentInfoif already signed - Remove
api.derive.balances.fees(use direct constants as applicable) - Add Westend 9190 upgrade block
- Update to latest Substrate, Kusama & Polkadot static metadata
v8.1.1
Contributed:
- Adjust typegen for
Vec<{ struct: <type> }>(Thanks to https://github.com/zannis) - Adjust typegen __dirname for ESM (Thanks to https://github.com/drewstone)
Changes:
- Fix
entriesPagedwhere noat?: BlockHashis specified - Apply windcard matches for
democracy::vote::Voteandidentity::type::Data - Adjust default "no RPC response" timeout to 60s
- Update to latest Substrate, Kusama & Polkadot static metadata
v8.0.2
v8.0.1
- Breaking change In this major version the commonjs outputs are moved to a sub-folder. Since the export map and main field in package.json does reflect this change, there should be no usage changes. However the packages here will all need to be on the same version for internal linkage.
Contributed:
- Improve
rpc-providerREADME (Thanks to https://github.com/josepot) - Add handling for
Vec<[<Type>;<length>]>in typegen (Thanks to https://github.com/zannis)
Changes:
- Add support for
apiAt.tx(...)to construct at a specific point - Add basic
api.derive.bagsList.*support - Return sorted names for
api.registry.lookup.names - Optimize JSONRPC requests/response handling
- Output commonjs files under the
cjs/**root - Update to latest Substrate, Kusama & Polkadot static metadata
- Add latest Polkadot 9180 upgrade block
- Update to
@polkadot/util9.0.1