---
title: "@bytecodealliance/preview2-shim 0.32.0 Breaking Changes"
description: "What each @bytecodealliance/preview2-shim release removed, renamed or changed: 229 breaking changes in 8 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@bytecodealliance/preview2-shim
last_updated: 2026-12-04
---

# @bytecodealliance/preview2-shim breaking changes

@bytecodealliance/preview2-shim 0.32.0 (November 27, 2026) is its newest release with breaking changes, 3 of them. The first: Descriptors whose path now crosses a symlink are rejected in @bytecodealliance/preview2-shim 0.32.0. Every breaking API change we have recorded in @bytecodealliance/preview2-shim on npm: 229 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 `0.32.0`, released November 27, 2026. [Source repository](https://github.com/bytecodealliance/jco)

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

- From [0.19.0](#v-0-19-0) to [0.32.0](#v-0-32-0): 21 breaking changes in 7 versions.

## @bytecodealliance/preview2-shim 0.32.0 breaking changes

@bytecodealliance/preview2-shim 0.32.0, released November 27, 2026: 3 breaking changes.

- **Behavior changed**  

File descriptors whose resolved path now passes through a symlink are refused, so code that relied on following such symlinks will now get errors. [github.com](https://github.com/bytecodealliance/jco/releases/tag/preview2-shim-v0.32.0)
- **Signature changed** `io-worker:inputStreamId`  

Was function inputStreamId(stream: InputStream): number; now function inputStreamId(stream: InputStream): number | undefined. [npmjs.com](https://www.npmjs.com/package/@bytecodealliance/preview2-shim/v/0.32.0)
- **Signature changed** `io-worker:outputStreamId`  

Was function outputStreamId(stream: OutputStream): number; now function outputStreamId(stream: OutputStream): number | undefined. [npmjs.com](https://www.npmjs.com/package/@bytecodealliance/preview2-shim/v/0.32.0)

## @bytecodealliance/preview2-shim 0.31.0 breaking changes

@bytecodealliance/preview2-shim 0.31.0, released October 27, 2026: 3 breaking changes.

- **Signature changed** `filesystem.BrowserFilesystemAdapter.dispose`  

Was dispose?(): void; now dispose?(): void | Promise\<void>. [npmjs.com](https://www.npmjs.com/package/@bytecodealliance/preview2-shim/v/0.31.0)
- **Signature changed** `filesystem.createFilesystem`  

Was function createFilesystem\<Capability>({adapter, preopens: configuredPreopens}: BrowserFilesystemConfig\<Capability>): {types: typeof TypesNamespace; preopens: typeof PreopensNamespace; dispose(): void;}; now function... [npmjs.com](https://www.npmjs.com/package/@bytecodealliance/preview2-shim/v/0.31.0)
- **Signature changed** `filesystem.OpfsFilesystemAdapter.dispose`  

Was dispose(): void; now dispose(): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/@bytecodealliance/preview2-shim/v/0.31.0)

## @bytecodealliance/preview2-shim 0.29.0 breaking changes

@bytecodealliance/preview2-shim 0.29.0, released October 13, 2026: 1 breaking change.

- **Signature changed** `instantiation:WASIShim.getImportObject`  

Was getImportObject(opts?: GetImportObjectArgs): WASIImportObject; now getImportObject\<const V extends string = "">(opts?: GetImportObjectArgs\<V>): VersionedWASIImportObject\<V>. [npmjs.com](https://www.npmjs.com/package/@bytecodealliance/preview2-shim/v/0.29.0)

## @bytecodealliance/preview2-shim 0.27.0 breaking changes

@bytecodealliance/preview2-shim 0.27.0, released September 28, 2026: 4 breaking changes.

- **Behavior changed**  

Outgoing HTTP from the sandbox is now denied. Code that made outgoing HTTP requests from the sandbox will stop working and must be changed to allow those requests another way. [github.com](https://github.com/bytecodealliance/jco/releases/tag/preview2-shim-v0.27.0)
- **Behavior changed**  

Symlinks whose targets are rooted paths are now rejected. Code that relied on creating or following such symlinks will fail and must use relative targets inside the sandbox. [github.com](https://github.com/bytecodealliance/jco/releases/tag/preview2-shim-v0.27.0)
- **Behavior changed**  

The root directory is no longer preopened implicitly. Code that accessed the filesystem root without explicit configuration must now preopen it explicitly. [github.com](https://github.com/bytecodealliance/jco/releases/tag/preview2-shim-v0.27.0)
- **Behavior changed**  

Symlink path resolution is now confined so links cannot reach outside the sandbox. Code that followed symlinks pointing outside the sandbox will no longer reach those paths. [github.com](https://github.com/bytecodealliance/jco/releases/tag/preview2-shim-v0.27.0)

## @bytecodealliance/preview2-shim 0.26.0 breaking changes

@bytecodealliance/preview2-shim 0.26.0, released September 23, 2026: 1 breaking change.

- **Behavior changed**  

A fix to VFS host paths on Windows changes their semantics. Users who depended on the previous behavior should check their code before updating. [github.com](https://github.com/bytecodealliance/jco/releases/tag/preview2-shim-v0.26.0)

## @bytecodealliance/preview2-shim 0.24.0 breaking changes

@bytecodealliance/preview2-shim 0.24.0, released September 7, 2026: 1 breaking change.

- **Signature changed** `filesystem._createPreopenDescriptor`  

Was function \_createPreopenDescriptor(hostPreopen: string): Descriptor; now function \_createPreopenDescriptor(hostPreopen: string): void. [npmjs.com](https://www.npmjs.com/package/@bytecodealliance/preview2-shim/v/0.24.0)

## Older versions

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

### @bytecodealliance/preview2-shim 0.20.0 breaking changes

@bytecodealliance/preview2-shim 0.20.0, released August 3, 2026: 8 breaking changes.

- **Removed** `instantiation:_WASIImportObject`  

\_WASIImportObject was removed in @bytecodealliance/preview2-shim 0.20.0 [npmjs.com](https://www.npmjs.com/package/@bytecodealliance/preview2-shim/v/0.20.0)
- **Removed** `instantiation:AppendVersion`  

AppendVersion was removed in @bytecodealliance/preview2-shim 0.20.0 [npmjs.com](https://www.npmjs.com/package/@bytecodealliance/preview2-shim/v/0.20.0)

And 6 more in this version.

### @bytecodealliance/preview2-shim 0.19.0 breaking changes

@bytecodealliance/preview2-shim 0.19.0, released June 19, 2026: 208 breaking changes.

- **Removed** `cli.environment.getArguments`  

cli.environment.getArguments was removed in @bytecodealliance/preview2-shim 0.19.0 [npmjs.com](https://www.npmjs.com/package/@bytecodealliance/preview2-shim/v/0.19.0)
- **Removed** `cli.environment.getEnvironment`  

cli.environment.getEnvironment was removed in @bytecodealliance/preview2-shim 0.19.0 [npmjs.com](https://www.npmjs.com/package/@bytecodealliance/preview2-shim/v/0.19.0)

And 206 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.
