---
title: "@polkadot/api 17.0.1 Breaking Changes on npm | Since.dev"
description: "What each @polkadot/api release removed, renamed or changed: 17 breaking changes in 8 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@polkadot/api
last_updated: 2026-12-04
---

# @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

Latest version `17.0.2`, released October 1, 2026. [Source repository](https://github.com/polkadot-js/api)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [16.2.2](#v-16-2-2) to [17.0.1](#v-17-0-1): 2 breaking changes in 1 version.
- From [15.0.1](#v-15-0-1) to [17.0.1](#v-17-0-1): 15 breaking changes in 7 versions.

## @polkadot/api 17.0.1 breaking changes

@polkadot/api 17.0.1, released September 23, 2026: 2 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](https://github.com/polkadot-js/api/releases/tag/v17.0.1)
- **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](https://github.com/polkadot-js/api/releases/tag/v17.0.1)

## @polkadot/api 16.2.2 breaking changes

@polkadot/api 16.2.2, released June 17, 2025: 1 breaking change.

- **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](https://github.com/polkadot-js/api/releases/tag/v16.2.2)

## @polkadot/api 16.1.2 breaking changes

@polkadot/api 16.1.2, released June 4, 2025: 1 breaking change.

- **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](https://github.com/polkadot-js/api/releases/tag/v16.1.2)

## @polkadot/api 16.1.1 breaking changes

@polkadot/api 16.1.1, released May 29, 2025: 1 breaking change.

- **Behavior changed**  

RpcCore is initialized with the configured ttl value. Code relying on the previous ttl behavior may see different caching timing. [github.com](https://github.com/polkadot-js/api/releases/tag/v16.1.1)

## @polkadot/api 16.0.1 breaking changes

@polkadot/api 16.0.1, released May 19, 2025: 8 breaking changes.

- **Removed** `ExtrinsicMetadata.extraType`  

The extraType field is removed from ExtrinsicMetadata and no longer exists in the updated metadata definitions. [github.com](https://github.com/polkadot-js/api/releases/tag/v16.0.1)
- **Removed** `type`  

The type field is gone from the metadata definitions, so code that reads it must stop using it. [github.com](https://github.com/polkadot-js/api/releases/tag/v16.0.1)
- **Renamed** `ExtrinsicMetadata.signedExtensions`  

signedExtensions is replaced by transactionExtensions, and transactionExtensionsByVersion maps versions to active extensions. [github.com](https://github.com/polkadot-js/api/releases/tag/v16.0.1)
- **Renamed** `ExtrinsicMetadata.version`  

ExtrinsicMetadata.version is replaced by versions, which is an array of supported extrinsic versions instead of a single value. [github.com](https://github.com/polkadot-js/api/releases/tag/v16.0.1)
- **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](https://www.npmjs.com/package/@polkadot/api/v/16.0.1)
- **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](https://www.npmjs.com/package/@polkadot/api/v/16.0.1)
- **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](https://www.npmjs.com/package/@polkadot/api/v/16.0.1)
- **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](https://www.npmjs.com/package/@polkadot/api/v/16.0.1)

## @polkadot/api 15.9.3 breaking changes

@polkadot/api 15.9.3, released May 6, 2025: 1 breaking change.

- **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](https://github.com/polkadot-js/api/releases/tag/v15.9.3)

## Older versions

2 older versions.

### @polkadot/api 15.5.2 breaking changes

@polkadot/api 15.5.2, released February 3, 2025: 1 breaking change.

- **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](https://github.com/polkadot-js/api/releases/tag/v15.5.2)

### @polkadot/api 15.0.1 breaking changes

@polkadot/api 15.0.1, released November 27, 2024: 2 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](https://github.com/polkadot-js/api/releases/tag/v15.0.1)
- **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](https://github.com/polkadot-js/api/releases/tag/v15.0.1)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
