---
title: "wasm-bindgen 0.2.130 Breaking Changes on crates.io"
description: "What each wasm-bindgen release removed, renamed or changed: 77 breaking changes in 12 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/wasm-bindgen
last_updated: 2026-12-04
---

# wasm-bindgen breaking changes

wasm-bindgen 0.2.130 (October 30, 2026) is its newest release with breaking changes, 28 of them. The first: Removed PlainDateTime.toPlainMonthDay. Every breaking API change we have recorded in wasm-bindgen on crates.io: 77 breaking changes in 12 versions. Below, its 12 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.2.130`, released October 30, 2026. [Source repository](https://github.com/wasm-bindgen/wasm-bindgen)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.2.0](#v-0-2-0) to [0.2.130](#v-0-2-130): 63 breaking changes in 11 versions.

## wasm-bindgen 0.2.130 breaking changes

wasm-bindgen 0.2.130, released October 30, 2026: 28 breaking changes.

- **Removed** `PlainDateTime.toPlainMonthDay`  

The binding is gone from the unstable Temporal bindings, so code calling it must change. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Removed** `PlainDateTime.toPlainYearMonth`  

The binding is gone from the unstable Temporal bindings, so code calling it must change. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Removed** `PlainTime.to_plain_date_time`  

The binding is gone from the unstable Temporal bindings, so code calling it must change. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Removed** `wasm_bindgen::convert::VectorRefIntoWasmAbi::slice_none`  

wasm_bindgen::convert::VectorRefIntoWasmAbi::slice_none was removed in wasm-bindgen 0.2.130 [crates.io](https://crates.io/crates/wasm-bindgen/0.2.130)
- **Removed** `ZonedDateTime.toPlainMonthDay`  

The binding is gone from the unstable Temporal bindings, so code calling it must change. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Removed** `ZonedDateTime.toPlainYearMonth`  

The binding is gone from the unstable Temporal bindings, so code calling it must change. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Removed** `ZonedDateTime.with_plain_date`  

The binding is gone from the unstable Temporal bindings, so code calling it must change. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Behavior changed**  

Invalid values from JS such as NaN, fractions or out-of-range numbers now throw in release builds instead of becoming variant 0 or being truncated. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Behavior changed**  

Declare the conversion bounds each argument, return or callback needs directly on the import, since a missing bound is now reported at that position. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Behavior changed** `Option.<JsValue>.try_from_js_value`  

Option of JsValue converts JS null to None instead of Some(null), so code matching on Some(null) must change. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Signature changed** `js_sys.Promise.catch_map`  

The handler gets the rejection reason typed as E, so a handler written as taking Foo must take JsValue instead. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Signature changed** `JsString.match_`  

Under js_sys_unstable_apis, JsString::match\_ returns Nullable\<T> rather than Option\<T>, so code matching None must handle Null. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Signature changed** `Object.define_property`  

Under js_sys_unstable_apis the key is now generic; callers passing &"key".into() should pass "key" or another concrete key type. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Signature changed** `Object.from_entries`  

Under js_sys_unstable_apis the key is now generic; callers passing &"key".into() should pass "key" or another concrete key type. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Signature changed** `Object.get_own_property_descriptor`  

Under js_sys_unstable_apis the key is generic and the result is Option\<PropertyDescriptor\<T>>, so callers must adapt both. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Signature changed** `Object.has_own`  

Under js_sys_unstable_apis the key is now generic; callers passing &"key".into() should pass "key" or another concrete key type. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Signature changed** `Object.property_is_enumerable`  

Under js_sys_unstable_apis the key is now generic; callers passing &"key".into() should pass "key" or another concrete key type. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Signature changed** `Reflect.define_property`  

Under js_sys_unstable_apis the key is now generic; callers passing &"key".into() should pass "key" or another concrete key type. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Signature changed** `Reflect.delete_property`  

Under js_sys_unstable_apis the key is now generic; callers passing &"key".into() should pass "key" or another concrete key type. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Signature changed** `Reflect.get`  

Under js_sys_unstable_apis the key is now generic; callers passing &"key".into() should pass "key" or another concrete key type. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Signature changed** `Reflect.get_own_property_descriptor`  

Under js_sys_unstable_apis the key is generic and the result is Option\<PropertyDescriptor\<T>>, so callers must adapt both. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Signature changed** `Reflect.has`  

Under js_sys_unstable_apis the key is generic and the target must be an &Object\<T>, so callers must adapt both. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Signature changed** `Reflect.set`  

Under js_sys_unstable_apis the key is now generic; callers passing &"key".into() should pass "key" or another concrete key type. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Signature changed** `RegExp.exec`  

Under js_sys_unstable_apis, RegExp::exec returns Nullable\<T> rather than Option\<T>, so code matching None must handle Null. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.130)
- **Signature changed** `wasm_bindgen::convert::JsStringLike`  

Was trait JsStringLike: IntoWasmAbi + OptionIntoWasmAbi + crate::\_\_rt::marker::JsStringLikeSealed; now trait JsStringLike: IntoWasmAbi + OptionIntoWasmAbi + NullableIntoWasmAbi + crate::convert::VectorRefIntoWasmAbi +... [crates.io](https://crates.io/crates/wasm-bindgen/0.2.130)
- **Signature changed** `wasm_bindgen::convert::VectorRefIntoWasmAbi`  

Was trait VectorRefIntoWasmAbi; now trait VectorRefIntoWasmAbi: WasmDescribe + Sized + crate::\_\_rt::marker::VectorRefIntoWasmAbiSealed. [crates.io](https://crates.io/crates/wasm-bindgen/0.2.130)
- **Signature changed** `wasm_bindgen::convert::VectorRefIntoWasmAbi::slice_into_abi`  

Was fn slice_into_abi(slice: &\[Self\]) -> WasmSlice where Self: Sized; now fn slice_into_abi(slice: &\[Self\]) -> WasmSlice. [crates.io](https://crates.io/crates/wasm-bindgen/0.2.130)
- **Signature changed** `wasm_bindgen::JsStringLike`  

Was trait JsStringLike: IntoWasmAbi + OptionIntoWasmAbi + crate::\_\_rt::marker::JsStringLikeSealed; now trait JsStringLike: IntoWasmAbi + OptionIntoWasmAbi + NullableIntoWasmAbi + crate::convert::VectorRefIntoWasmAbi +... [crates.io](https://crates.io/crates/wasm-bindgen/0.2.130)

## wasm-bindgen 0.2.129 breaking changes

wasm-bindgen 0.2.129, released September 25, 2026: 1 breaking change.

- **Behavior changed**  

The library's minimum supported Rust version moves from 1.77 to 1.81. Users on older Rust toolchains must upgrade to build it. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.129)

## wasm-bindgen 0.2.128 breaking changes

wasm-bindgen 0.2.128, released September 4, 2026: 9 breaking changes.

- **Behavior changed**  

Export shim symbols are now mangled with a per-crate hash, and the wasm-bindgen and CLI versions must match because the schema changed. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.128)
- **Behavior changed** `js_namespace`  

Code that set js_namespace on both an extern block and an item inside it must write the nested path in a single attribute, such as js_namespace = \["a", "b"\]. The block-level namespace was previously dropped silently. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.128)
- **Signature changed** `controlTransferOut`  

WebUSB controlTransferOut now takes immutable u8 slices, so callers must update their arguments. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.128)
- **Signature changed** `isochronousTransferOut`  

WebUSB isochronousTransferOut now takes immutable u8 slices, so callers must update their arguments. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.128)
- **Signature changed** `setImmediates`  

The WebGPU setImmediates APIs now take an immutable u8 slice instead of the previous type, so callers must update their arguments. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.128)
- **Signature changed** `transferOut`  

WebUSB transferOut now takes immutable u8 slices, so callers must update their arguments. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.128)
- **Signature changed** `writeValue`  

Web Bluetooth writeValue now takes immutable u8 slices, so callers must update their arguments. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.128)
- **Signature changed** `writeValueWithoutResponse`  

Web Bluetooth writeValueWithoutResponse now takes immutable u8 slices, so callers must update their arguments. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.128)
- **Signature changed** `writeValueWithResponse`  

Web Bluetooth writeValueWithResponse now takes immutable u8 slices, so callers must update their arguments. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.128)

## wasm-bindgen 0.2.127 breaking changes

wasm-bindgen 0.2.127, released August 8, 2026: 5 breaking changes.

- **Renamed** `LockManager.request_with_callback`  

LockManager::request_with_callback is now named request. Code calling the old unstable name must switch to the new one. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.127)
- **Renamed** `LockManager.request_with_options_and_callback`  

LockManager::request_with_options_and_callback is now named request_with_options. Code calling the old unstable name must switch to the new one. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.127)
- **Behavior changed** `slice_to_array`  

slice_to_array on a &mut slice or on a slice with a generic element type is now a compile error. Code using those forms must change to a supported form. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.127)
- **Configuration changed**  

Emscripten output now marks exports with \_\_export and \_\_force attributes, which requires an emscripten version that supports them. Builds with older emscripten may fail. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.127)
- **Signature changed** `GPUDevice.popErrorScope`  

web-sys now uses JsNullable\<T> instead of JsOption\<T> for nullable types nested inside generics, such as Promise\<GpuError?> from popErrorScope. Code that matched on JsOption for these types must be updated. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.127)

## wasm-bindgen 0.2.126 breaking changes

wasm-bindgen 0.2.126, released June 24, 2026: 1 breaking change.

- **Behavior changed**  

Emscripten builds now expose clean exports as top-level ESM exports and Module properties, and user module imports are wired differently with \_\_wbg\_-prefixed bindings. Code relying on the old emscripten output layout may need updating. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.126)

## wasm-bindgen 0.2.125 breaking changes

wasm-bindgen 0.2.125, released June 12, 2026: 1 breaking change.

- **Removed** `wasm_bindgen::closure::__wbindgen_destroy_closure`  

The internal \_\_wbindgen_destroy_closure export is no longer available in the public Rust API, so code that calls it directly will stop compiling. [crates.io](https://crates.io/crates/wasm-bindgen/0.2.125)

## Older versions

6 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### wasm-bindgen 0.2.123 breaking changes

wasm-bindgen 0.2.123, released June 8, 2026: 4 breaking changes.

- **Removed** `js_sys.ArrayTuple`  

Upcasts from js_sys::Array\<T> to js_sys::ArrayTuple<(...)> were removed because a plain JavaScript array does not prove the tuple arity. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.123)
- **Removed** `JsOption`  

The impl\<T> UpcastFrom\<Null> for JsOption\<T> is removed; Undefined still models absence. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.123)

And 2 more in this version.

### wasm-bindgen 0.2.122 breaking changes

wasm-bindgen 0.2.122, released May 22, 2026: 4 breaking changes.

- **Behavior changed**  

Namespaced exports now attach to Module.\<segments> instead of top-level export const, and ESM imports go to a sidecar library_bindgen.extern-pre.js that must be passed to emcc via --extern-pre-js. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.122)
- **Behavior changed**  

With -Cpanic=unwind on wasm targets, modern exnref exception handling is now emitted by default, and it requires Node.js 22.22.3 or later. Legacy EH can be restored with -Cllvm-args=-wasm-use-legacy-eh in RUSTFLAGS. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.122)

And 2 more in this version.

### wasm-bindgen 0.2.121 breaking changes

wasm-bindgen 0.2.121, released May 7, 2026: 2 breaking changes.

- **Behavior changed**  

Generated TypeScript for string enums and dynamic unions uses export type instead of a bare type alias. Code that relied on the bare alias may need to update its imports. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.121)
- **Behavior changed** `TryFromJsValue`  

Non-number JS values no longer coerce to a C-style enum discriminant and now return None. Code that relied on string coercion matching a variant must change. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.121)

### wasm-bindgen 0.2.120 breaking changes

wasm-bindgen 0.2.120, released April 28, 2026: 3 breaking changes.

- **Signature changed** `wasm_bindgen::closure::__wbindgen_destroy_closure`  

Was unsafe extern "C" fn \_\_wbindgen_destroy_closure(a: usize, b: usize); now unsafe extern "C" fn \_\_wbindgen_destroy_closure(a: WasmWord, b: WasmWord). [crates.io](https://crates.io/crates/wasm-bindgen/0.2.120)
- **Signature changed** `wasm_bindgen::convert::WasmSlice::len`  

Was len: u32; now len: WasmWord. [crates.io](https://crates.io/crates/wasm-bindgen/0.2.120)

And 1 more in this version.

### wasm-bindgen 0.2.118 breaking changes

wasm-bindgen 0.2.118, released April 10, 2026: 5 breaking changes.

- **Removed** `set_on_reinit`  

The set_on_reinit() handler is gone; code that registered a reinit callback through it must be changed. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.118)
- **Renamed** `handler.reinit`  

Call handler::schedule_reinit() instead of handler::reinit(), which no longer exists under that name. [github.com](https://github.com/wasm-bindgen/wasm-bindgen/releases/tag/0.2.118)

And 3 more in this version.

### wasm-bindgen 0.2.0 breaking changes

wasm-bindgen 0.2.0, released April 3, 2018: 14 breaking changes.

- **Removed** `wasm_bindgen::convert::DESCRIPTOR_CUSTOM_REF_FLAG`  

wasm_bindgen::convert::DESCRIPTOR_CUSTOM_REF_FLAG was removed in wasm-bindgen 0.2.0 [crates.io](https://crates.io/crates/wasm-bindgen/0.2.0)
- **Removed** `wasm_bindgen::convert::FromRefMutWasmBoundary::from_js_ref_mut`  

wasm_bindgen::convert::FromRefMutWasmBoundary::from_js_ref_mut was removed in wasm-bindgen 0.2.0 [crates.io](https://crates.io/crates/wasm-bindgen/0.2.0)

And 12 more in this version.

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