github.com/swiftwasm/javascriptkit breaking changes
Updated December 4, 2026
On this page
Latest version 0.64.0, released November 27, 2026. Source repository
github.com/swiftwasm/javascriptkit 0.64.0 breaking changes
- Removed
JSObject.Hashable
JSObject and its subclasses are now only Equatable. Use JS Set or Map bridging types instead of Swift Set or Dictionary keyed by JSObject. github.com - Behavior changed
JSObject.==
JSObject.== now compares via JavaScript === and must be called on the thread owning both objects, and it is more expensive than before. github.com - Behavior changed
JSObject.id
Two JSObject wrappers for the same JavaScript object now have different ids. This only affects code using the SPI JSObject_id. github.com
github.com/swiftwasm/javascriptkit 0.63.0 breaking changes
- Behavior changed
BridgeJS now reports a diagnostic for async or throwing initializers on @JS structs. Code with such initializers must be changed to non-async, non-throwing initializers to compile. github.com
github.com/swiftwasm/javascriptkit 0.55.0 breaking changes
- Removed
Swift 6.1 and 6.2 are no longer supported, and the minimum supported Swift version is now 6.3. Users on those toolchains must upgrade to Swift 6.3 or later. github.com
github.com/swiftwasm/javascriptkit 0.54.0 breaking changes
- Behavior changed
Data.construct
The return type changed from Data? to Data, so code that unwraps or handles nil from this call must be updated. github.com
github.com/swiftwasm/javascriptkit 0.47.0 breaking changes
- Behavior changed
BridgeJS now passes String parameters unretained as (address, length) pairs. Code relying on the previous string passing behavior may need to be checked. github.com - Behavior changed
Generated TypeScript declare global class stubs now include properties and release(). Code generated or typed against the old stubs may see different types. github.com
github.com/swiftwasm/javascriptkit 0.41.0 breaking changes
- Behavior changed
BridgeJS.@JS protocol methods
The throws(JSException) enforcement on @JS protocol methods was reverted in the same release, so existing code is not affected. github.com
Older versions
19 older versions, each with its first changes. Sign up to see every change
Show 19 older versions
github.com/swiftwasm/javascriptkit 0.40.0 breaking changes
- Behavior changed
JSValue
JSValue is now a struct instead of an enum, so code that pattern-matches on its enum cases needs to be rewritten. github.com
github.com/swiftwasm/javascriptkit 0.39.0 breaking changes
- Removed
This release no longer supports Swift 6.0, so projects built with Swift 6.0 must move to a newer Swift toolchain. github.com - Renamed
SWIFT_PATH
PackageToJS now reads the Swift binary location from SWIFT_BIN_PATH instead of SWIFT_PATH, so users who set SWIFT_PATH must rename it. github.com
And 1 more in this version.
github.com/swiftwasm/javascriptkit 0.37.0 breaking changes
- Renamed
SchedulableExecutor
The SchedulableExecutor name is replaced by SchedulingExecutor. Update code that refers to the old name. github.com
github.com/swiftwasm/javascriptkit 0.34.0 breaking changes
- Renamed
The environment variable used to override the which lookup for an executable now uses the JAVASCRIPTKIT_<EXECUTABLE>_EXEC format. Update build scripts that set the old variable name. github.com - Behavior changed
@JS init
Exported Swift initializers are generated as static init() methods in JavaScript instead of constructor. JavaScript code that called new on the generated class must switch to calling init(). github.com
github.com/swiftwasm/javascriptkit 0.33.0 breaking changes
- Behavior changed
BridgeJS generated files are now prefixed with "BridgeJS.", so code or build steps that reference the old generated file names must be updated. github.com - Signature changed
Imported methods generated by BridgeJS now declare throws(JSException), so callers must handle the thrown error. github.com
github.com/swiftwasm/javascriptkit 0.31.0 breaking changes
- Behavior changed
BridgeJS @_extern and @expose usage is now only active when building for wasm32. Code that relies on these attributes in other architecture builds must guard or adjust it. github.com
github.com/swiftwasm/javascriptkit 0.30.0 breaking changes
- Configuration changed
The bridge-js.config.json file must be placed in the target directory. Projects that keep it elsewhere need to move it. github.com - Signature changed
SwiftRuntime.memory
SwiftRuntime.memory can no longer be reassigned. Code that assigns a new value to it must be changed. github.com
github.com/swiftwasm/javascriptkit 0.28.0 breaking changes
- Removed
The UMD build of the JS runtime library is removed; users loading that bundle must switch to another build of the runtime. github.com
github.com/swiftwasm/javascriptkit 0.27.0 breaking changes
- Behavior changed
Creating a worker thread that fails now throws an error instead of failing silently. Code that handles worker creation must be prepared to catch this error. github.com
github.com/swiftwasm/javascriptkit 0.26.0 breaking changes
- Behavior changed
JSString
String equality comparison for JSString now uses JS's == operator instead of the previous comparison. Code relying on the old comparison semantics may behave differently. github.com
github.com/swiftwasm/javascriptkit 0.23.0 breaking changes
- Removed
Swift 5.10
Swift 5.10 and earlier toolchains are no longer supported; upgrade the Swift toolchain before using this release. github.com - Behavior changed
JSError
JSError is no longer Sendable or Error, so code relying on those conformances will no longer compile. github.com
And 1 more in this version.
github.com/swiftwasm/javascriptkit 0.22.0 breaking changes
- Behavior changed
JSObject
JSObject instances now assert when accessed from a thread other than the owner thread. Code that accesses JSObject across threads must be changed to stay on the owner thread. github.com
github.com/swiftwasm/javascriptkit 0.15.0 breaking changes
- Removed
Int64.jsValue
Int64.jsValue is no longer in the JavaScriptKit module. Import JavaScriptBigIntSupport to keep using it, and note that it now requires JS-BigInt-integration. To keep the old behavior, cast the value to Double. github.com - Removed
UInt64.jsValue
UInt64.jsValue is no longer in the JavaScriptKit module. Import JavaScriptBigIntSupport to keep using it, and note that it now requires JS-BigInt-integration. To keep the old behavior, cast the value to Double. github.com
And 1 more in this version.
github.com/swiftwasm/javascriptkit 0.14.0 breaking changes
- Behavior changed
ConvertibleToJSValue
Array and Dictionary now conform to ConvertibleToJSValue via the ': ConvertibleToJSValue' case, so [ConvertibleToJSValue] no longer conforms. Convert values with .map { $0.jsValue() } (or mapValues), use generics for single-type arrays, or... github.com
github.com/swiftwasm/javascriptkit 0.11.0 breaking changes
- Removed
JSClosure
The manual memory management API of JSClosure is removed; memory is now managed automatically. A previous manual mode remains available behind a special compiler flag. github.com - Behavior changed
Apps depending on JavaScriptKit now need newer browsers because of the JSClosure memory management change. github.com
github.com/swiftwasm/javascriptkit 0.10.0 breaking changes
- Behavior changed
JSClosure
JSClosure is no longer a subclass of JSFunction, so JSClosure objects cannot be called directly from Swift. Call the wrapped closures directly instead. github.com - Signature changed
JSPromise
JSPromise drops its generic parameters, so success and failure values are always JSValue. Code that relied on other types must cast values itself. github.com
github.com/swiftwasm/javascriptkit 0.8.0 breaking changes
- Renamed
JSValueConstructible
JSValueConstructible was renamed to ConstructibleFromJSValue. Update code that uses the old name. github.com - Renamed
JSValueConvertible
JSValueConvertible was renamed to ConvertibleToJSValue. Update code that uses the old name. github.com
And 1 more in this version.
github.com/swiftwasm/javascriptkit 0.7.0 breaking changes
- Removed
Previously deprecated APIs with the Ref suffix were removed. Code that uses them must switch to the replacement names. github.com - Removed
JavaScriptTypedArrayKind
The JavaScriptTypedArrayKind type was removed. Code that references it must stop using it. github.com
And 1 more in this version.
github.com/swiftwasm/javascriptkit 0.6.0 breaking changes
- Removed
JSClosure.release
JSClosure.release is replaced by deinit, so closure memory is released when the JSClosure is deallocated. Code calling release must be changed. github.com - Renamed
JSObjectRef
The JSObjectRef type is renamed to JSObject. Update code that refers to JSObjectRef to use JSObject instead. github.com
And 2 more in this version.
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.