---
title: "@emnapi/runtime 2.0.0-beta.2 Breaking Changes on npm"
description: "What each @emnapi/runtime release removed, renamed or changed: 181 breaking changes in 5 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@emnapi/runtime
last_updated: 2026-12-04
---

# @emnapi/runtime breaking changes

@emnapi/runtime 2.0.0-beta.2 (October 15, 2026) is its newest release with breaking changes, 168 of them. The first: Removed ConstHandle. Every breaking API change we have recorded in @emnapi/runtime on npm: 181 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.11.3`, released July 25, 2026. [Source repository](https://github.com/toyobayashi/emnapi)

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

- From [1.10.0](#v-1-10-0) to [2.0.0-beta.2](#v-2-0-0-beta-2): 177 breaking changes in 3 versions.
- From [1.9.0](#v-1-9-0) to [2.0.0-beta.2](#v-2-0-0-beta-2): 180 breaking changes in 4 versions.

## @emnapi/runtime 2.0.0-beta.2 breaking changes

@emnapi/runtime 2.0.0-beta.2, released October 15, 2026: 168 breaking changes.

- **Removed** `ConstHandle`  

ConstHandle was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `Context.addToCurrentScope`  

Context.addToCurrentScope was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `Context.createDeferred`  

Context.createDeferred was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `Context.deferredStore`  

Context.deferredStore was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `Context.ensureHandle`  

Context.ensureHandle was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `Context.envStore`  

Context.envStore was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `Context.feature`  

Context.feature was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `Context.handleStore`  

Context.handleStore was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `Context.scopeStore`  

Context.scopeStore was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `Deferred`  

Deferred was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:bool`  

bool was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:BufferCtor`  

BufferCtor was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:char`  

char was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:char_p`  

char_p was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:char16_t_p`  

char16_t_p was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:CleanupHookCallbackFunction`  

CleanupHookCallbackFunction was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:Const`  

Const was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:const_char`  

const_char was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:const_char_p`  

const_char_p was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:const_char16_t_p`  

const_char16_t_p was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:Context`  

Context was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:ContextOptions`  

ContextOptions was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:createContext`  

createContext was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:double`  

double was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:emnapi_emscripten_version`  

emnapi_emscripten_version was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:emnapi_memory_view_type`  

emnapi_memory_view_type was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:EmnapiError`  

EmnapiError was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:Env`  

Env was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:External`  

External was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:Finalizer`  

Finalizer was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:float`  

float was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:FunctionPointer`  

FunctionPointer was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:getDefaultContext`  

getDefaultContext was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:getExternalValue`  

getExternalValue was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:GlobalHandle`  

GlobalHandle was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:HandleScope`  

HandleScope was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:HandleStore`  

HandleStore was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:IBuffer`  

IBuffer was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:ICallbackInfo`  

ICallbackInfo was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:int`  

int was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:int16_t`  

int16_t was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:int32_t`  

int32_t was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:int64_t`  

int64_t was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:int8_t`  

int8_t was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:IReferenceBinding`  

IReferenceBinding was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:isExternal`  

isExternal was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:isReferenceType`  

isReferenceType was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:long`  

long was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:long_double`  

long_double was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)
- **Removed** `dist/emnapi.cjs.min:long_long`  

long_long was removed in @emnapi/runtime 2.0.0-beta.2 [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/2.0.0-beta.2)

And 118 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @emnapi/runtime 2.0.0-beta.1 breaking changes

@emnapi/runtime 2.0.0-beta.1, released October 15, 2026: 7 breaking changes.

- **Renamed** `createNapiModule`  

The old name remains as a deprecated alias during the beta and is scheduled for removal in 2.0.0-rc; update calls to createAddonModule. [github.com](https://github.com/toyobayashi/emnapi/releases/tag/v2.0.0-beta.1)
- **Renamed** `instantiateNapiModule`  

The old name remains as a deprecated alias during the beta and is scheduled for removal in 2.0.0-rc; update calls to instantiateAddon. [github.com](https://github.com/toyobayashi/emnapi/releases/tag/v2.0.0-beta.1)
- **Renamed** `instantiateNapiModuleSync`  

The old name remains as a deprecated alias during the beta and is scheduled for removal in 2.0.0-rc; update calls to instantiateAddonSync. [github.com](https://github.com/toyobayashi/emnapi/releases/tag/v2.0.0-beta.1)
- **Renamed** `loadNapiModule`  

The old name remains as a deprecated alias during the beta and is scheduled for removal in 2.0.0-rc; update calls to loadAddon. [github.com](https://github.com/toyobayashi/emnapi/releases/tag/v2.0.0-beta.1)
- **Renamed** `loadNapiModuleSync`  

The old name remains as a deprecated alias during the beta and is scheduled for removal in 2.0.0-rc; update calls to loadAddonSync. [github.com](https://github.com/toyobayashi/emnapi/releases/tag/v2.0.0-beta.1)
- **Renamed** `MessageHandler.napiModule`  

The old name remains as a deprecated alias during the beta and is scheduled for removal in 2.0.0-rc; update code to use MessageHandler.addonModule. [github.com](https://github.com/toyobayashi/emnapi/releases/tag/v2.0.0-beta.1)
- **Renamed** `NapiModule`  

The old name remains as a deprecated alias during the beta and is scheduled for removal in 2.0.0-rc; update code to use AddonModule. [github.com](https://github.com/toyobayashi/emnapi/releases/tag/v2.0.0-beta.1)

## @emnapi/runtime 2.0.0-alpha.1 breaking changes

@emnapi/runtime 2.0.0-alpha.1, released October 15, 2026: 2 breaking changes.

- **Removed**  

Prebuilt libraries are no longer provided for the wasm32-unknown-unknown and wasm32-wasip1 targets. [github.com](https://github.com/toyobayashi/emnapi/releases/tag/v2.0.0-alpha.1)
- **Behavior changed**  

The JavaScript packages are now published only as ESM, so CommonJS consumers must switch to ESM imports. [github.com](https://github.com/toyobayashi/emnapi/releases/tag/v2.0.0-alpha.1)

## @emnapi/runtime 1.10.0 breaking changes

@emnapi/runtime 1.10.0, released April 16, 2026: 3 breaking changes.

- **Behavior changed** `napi_adjust_external_memory`  

Calling napi_adjust_external_memory no longer grows the wasm memory. Code that relied on that growth must manage wasm memory itself. [github.com](https://github.com/toyobayashi/emnapi/releases/tag/v1.10.0)
- **Signature changed** `Context.constructor`  

Was constructor(); now constructor(options?: ContextOptions). [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/1.10.0)
- **Signature changed** `createContext`  

Was function createContext(): Context; now function createContext(options?: ContextOptions): Context. [npmjs.com](https://www.npmjs.com/package/@emnapi/runtime/v/1.10.0)

## @emnapi/runtime 1.9.0 breaking changes

@emnapi/runtime 1.9.0, released March 12, 2026: 1 breaking change.

- **Renamed** `node_api_create_object_with_properties`  

The function node_api_create_object_with_properties was renamed in this release. Code that calls the old name must be updated to the new name. [github.com](https://github.com/toyobayashi/emnapi/releases/tag/v1.9.0)

## Related packages

- [@emnapi/core](https://since.dev/packages/npm/@emnapi/core.md)
- [@emnapi/wasi-threads](https://since.dev/packages/npm/@emnapi/wasi-threads.md)

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