@polkadot/api breaking changes
@polkadot/api 17.0.1 (September 23, 2026) is its newest release with breaking changes, 2 of them. The first: Removed @polkadot.rpc-provider.mock.mockHttp. Every breaking API change we have recorded in @polkadot/api on npm: 17 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 17.0.2, released October 1, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 16.2.2 to 17.0.1: 2 breaking changes in 1 version.
- From 15.0.1 to 17.0.1: 15 breaking changes in 7 versions.
@polkadot/api 17.0.1 breaking changes
- Removed
@polkadot.rpc-provider.mock.mockHttp
The undocumented deep import @polkadot/rpc-provider/mock/mockHttp is no longer published; code importing it must stop doing so. The public MockProvider is unaffected. github.com - Removed
@polkadot.rpc-provider.mock.mockWs
The undocumented deep import @polkadot/rpc-provider/mock/mockWs is no longer published; use the public MockProvider from @polkadot/rpc-provider/mock instead. github.com
@polkadot/api 16.2.2 breaking changes
- Behavior changed
decodeU8a
Decoding functions now enforce a maximum nesting depth, so input that is nested more deeply than the limit may now be rejected. Check that code decoding deeply nested data still works. github.com
@polkadot/api 16.1.2 breaking changes
- Default changed
The package now uses ExtrinsicV4 as its default extrinsic format. Code that relied on the previous default may need to set the version explicitly. github.com
@polkadot/api 16.1.1 breaking changes
- Behavior changed
RpcCore is initialized with the configured ttl value. Code relying on the previous ttl behavior may see different caching timing. github.com
@polkadot/api 16.0.1 breaking changes
- Removed
ExtrinsicMetadata.extraType
The extraType field is removed from ExtrinsicMetadata and no longer exists in the updated metadata definitions. github.com - Removed
type
The type field is gone from the metadata definitions, so code that reads it must stop using it. github.com - Renamed
ExtrinsicMetadata.signedExtensions
signedExtensions is replaced by transactionExtensions, and transactionExtensionsByVersion maps versions to active extensions. github.com - Renamed
ExtrinsicMetadata.version
ExtrinsicMetadata.version is replaced by versions, which is an array of supported extrinsic versions instead of a single value. github.com - Signature changed
base:ApiBase._getMethods
Was protected _getMethods(registry: Registry, methods: Vec<RuntimeApiMethodMetadataV15>): Record<string, DefinitionCall>; now protected _getMethods(registry: Registry, methods: Vec<RuntimeApiMethodMetadataV16>): Record<string... npmjs.com - Signature changed
base/Decorate:Decorate._getMethods
Was protected _getMethods(registry: Registry, methods: Vec<RuntimeApiMethodMetadataV15>): Record<string, DefinitionCall>; now protected _getMethods(registry: Registry, methods: Vec<RuntimeApiMethodMetadataV16>): Record<string... npmjs.com - Signature changed
base/Getters:Getters._getMethods
Was protected _getMethods(registry: Registry, methods: Vec<RuntimeApiMethodMetadataV15>): Record<string, DefinitionCall>; now protected _getMethods(registry: Registry, methods: Vec<RuntimeApiMethodMetadataV16>): Record<string... npmjs.com - Signature changed
base/Init:Init._getMethods
Was protected _getMethods(registry: Registry, methods: Vec<RuntimeApiMethodMetadataV15>): Record<string, DefinitionCall>; now protected _getMethods(registry: Registry, methods: Vec<RuntimeApiMethodMetadataV16>): Record<string... npmjs.com
@polkadot/api 15.9.3 breaking changes
- Behavior changed
The package now throws errors with more detailed information than before. Code that inspects thrown error messages may see different text. github.com
Older versions
2 older versions.
Show 2 older versions
@polkadot/api 15.5.2 breaking changes
- Behavior changed
GenericExtrinsicPayloadV4
Signers now handle assetId correctly in addSignature, which also extends to GenericExtrinsicPayloadV4. Code relying on the previous assetId handling may see different payloads. github.com
@polkadot/api 15.0.1 breaking changes
- Removed
ExtrinsicV5.signed
The signed functionality for ExtrinsicV5 was removed because it is no longer supported; code relying on it must change. github.com - Behavior changed
SignatureOptions
Added allowCallDataAlteration to SignatureOptions and SignerOptions; it defaults to true when not given, so external signers can alter the payload unless callers set it. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.