Releases: polkadot-js/api
Releases · polkadot-js/api
v9.7.1
Contributed:
- Update
@substrate/connectto latest (Thanks to https://github.com/wirednkod) - Add
api.rpc(method, ...params)support (Thanks to https://github.com/xlc)
Changes:
- Align
ScProvidercode structure with other providers - Add
isClonablegetter on providers (some, e.g. sc doesn't support this) - Update to latest Substrate metadata
v9.6.2
v9.6.1
Contributed:
- Update
@substrate/connectto latest (Thanks to https://github.com/wirednkod) - Use
.?operators in submittable class (Thanks to https://github.com/shunjizhan)
Changes:
- Cater for latest Substrate
DispatchError(additional preimage statuses) - Adjust
api.derive.democracy.*to returnimageHashasHexString(as applicable, supports current-gen preimages) - Adjust
api.derive.preimages.*to retrieve viademocracyorpreimagepallets - Ensure
apiAt.<section>.<method>.key(...)passes through the correct arguments - Apply fallback for Weight downgrades (V2 >> V1 detection)
- Update to latest Substrate metadata
- Polkadot 9291 & Westend 9300 upgrade blocks
v9.5.2
v9.5.1
- Important While the API witll detect and decorate the weight type based on V1 or V2, the default
Weighttype (used in runtime calls and RPCs) has not been swapped from the oldu64variant. This means that on new chains usingWeightV2, the TS decorated type will still reflect the old version.
Changes:
- Adjust handling of
Weighttype for V2 structures - Add alis definitions for
Weight{V1, V2}(used for type overrides) - Cater for weight v2 (along with v1 pass-through) extrinsics in
api-contract - Update to latest Substrate, Polkadot & Kusama metadata
v9.4.3
Contributed:
- Allow for new
ink_primitivestypes (Thanks to https://github.com/statictype) - Fix contracts runtime
instantiatecall params (Thanks to https://github.com/statictype)
Changes:
- Align staking derive redeemableSum with Rust source (
currentEravsactiveErausage) - Add
@deprecatedflag to RPC interface generation (contracts_*&state_get{Pairs/Keys}) - Polkadot 9280/9281, Kusama 9291 upgrade blocks
v9.4.2
Contributed:
- Allow for re-subscriptions on
ScProvider(Thanks to https://github.com/wirednkod)
Changes:
- Align derives to cater for latest (& previous) Substrate interfaces
- Update to latest Substrate, Polkadot & Kusama metadata
v9.4.1
Contributed:
- Update
@substrate/connectto latest (Thanks to https://github.com/wirednkod)
Changes:
- Cater for v1.5 Weight JSON representation (via RPC)
- Polkadot 9270, Kusama 9280 & Westend 9290 upgrade blocks
- Update to latest Substrate, Polkadot & Kusama metadata
v9.3.3
Contributed:
- Ensure JS reserved words are aliassed in types (Thanks to https://github.com/dqbd)
Changes:
- Fix and adjust tests for
AccountId{32, 33}