Releases: polkadot-js/api
Releases · polkadot-js/api
v4.7.1
Upgrade priority: Low. Recommended for users following Substrate master.
Changes:
- Adjust Struct decoding with better error messages on invalid input objects
- Add support for new
BoundedVectype - Expand
Datatype (as used in identity), with all is/as getters - Updated
Xcmtypes (with Plularity) - Adjust
DispatchErrortype as per current Substrate master - Adjusted Statemint
Proxytype - Remove metadata generation dependency on well-known.json (dedupe)
- Adjust WebSocket reconnection delay from 1s to 2.5s
- Revert Beefy keys addition for Westend
- Add explicit
enginesconfig topackage.json - Support for
NoneinRewardDestination - Align with latest substrate metadata
v4.6.2
v4.6.1
Upgrade priority: Low. Recommended if used in a Node.js 15.x environment.
Changes:
- Assert keypair validity in signing operations
- Expose
internalErroron submittable results (e.g. event decoding errors) - Simplify session derives for old/new
- Add statemint to known types
- Add support for
rpc.beefy.subscribeJustifications - Update Xcm types
- Explicitly handle
isReadyOrErrorwithApi.create - Add Kusama upgrade block for 2030
v4.5.1
Upgrade priority: Low. Recommended with usage with the Rococo testnet.
Changes:
- Update parachain types as per latest Polkadot
- Cater for
KeyswithBEEFYsession keys - Update
Keysinjection to allow for on-chain type detection - Update
Westendknown upgrade points for runtime 50 - Align types with latest Substrate master
- Adjust keepalive
system_healthtimer
v4.4.1
v4.3.1
Upgrade priority: Low.
Contributed:
- Fix documentation on ABI parameters (Thanks to https://github.com/vminkov)
Changes:
- Warn on usage of deprecated contract interfaces
- Update
ParaInfotype - Council should be optional in treasury derives
- Allow extraction of session derives indexes with no staking
v4.2.1
Upgrade priority: Low. Recommended when tracking the latest updates from Substrate.
Contributed:
- Fix contract even decoding on Substrate 3 (Thanks to https://github.com/vminkov)
Changes:
- Adjust
Extender{Header, SignedBlock}types to ensure at-blockHeadertypes are used - Explicit definition for new Rococo triple refcount
AccountDatatypes - Convert metadata private class fields to ES-private
- Adjust
SignedBlocktype for newjustificationsfield - Optimize society derive for multi accounts
- Bump metadata to latest substrate version
v4.1.1
Upgrade priority: Low. Recommended when tracking the latest updates from Substrate.
Changes:
- Fix author extraction for last block in a session
- Expand
SignerPayloadto inject/expose custom signed extensions ConsensusEngineIdformats non-Ascii engines correctly- Allow
getBlock/Headerderives to use as-at registry (instead of latest) - Cleanup
RpcCoreaugmentation (removing TS warnings on typegen chains) - Add upgrade block for Kusama 2029
- Ensure that type alias overrides also apply to map keys
- Check type generation against fallbacks (build-time only sanity check)
- Add
mmr_generateProofRPC - Align types with latest substrate master
- Apply latest Polkadot auctions/crowdloan/parachains/slots types
v4.0.3
Upgrade priority: Low. Recommended if you use the API to sync the full chain, most notably Polkadot.
Contributed:
- Re-add unused historical
SudoBalancestoProxyType(Thanks to https://github.com/emostov)