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

# tsx breaking changes

tsx 4.23.15 (September 20, 2026) is its newest release with breaking changes. The first: Signature changed esm/api:Register. Every breaking API change we have recorded in tsx on npm: 12 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.23.15`, released September 20, 2026. [Source repository](https://github.com/privatenumber/tsx)

Its 4.0.0 release requires [Node.js 18](https://since.dev/calendar/nodejs/18.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [3.0.0](#v-3-0-0) to [4.23.15](#v-4-23-15): 11 breaking changes in 9 versions.

## tsx 4.23.15 breaking changes

tsx 4.23.15, released September 20, 2026: 1 breaking change.

- **Signature changed** `esm/api:Register`  

Was type Register = {(options: RequiredProperty\<RegisterOptions, 'namespace'>): NamespacedUnregister; (options?: RegisterOptions): Unregister;}; now type Register = {(options: RegisterOptions & {namespace: string;}): NamespacedUnregister... [npmjs.com](https://www.npmjs.com/package/tsx/v/4.23.15)

## tsx 4.20.0 breaking changes

tsx 4.20.0, released June 11, 2025: 1 breaking change.

- **Signature changed** `cjs/api:require`  

Was const tsxRequire: {(id: string, fromFile: string | URL): any; resolve: {(id: string, fromFile: string | URL, options?: {paths?: string\[\] | undefined;}): string; paths: (request: string) => string\[\] | null;}; main: NodeJS.Module |... [npmjs.com](https://www.npmjs.com/package/tsx/v/4.20.0)

## tsx 4.16.2 breaking changes

tsx 4.16.2, released July 3, 2024: 1 breaking change.

- **Signature changed** `esm/api:ScopedImport`  

Was type ScopedImport = (specifier: string, parentURL: string) => Promise\<any>; now type ScopedImport = (specifier: string, parent: string) => Promise\<any>. [npmjs.com](https://www.npmjs.com/package/tsx/v/4.16.2)

## tsx 4.13.0 breaking changes

tsx 4.13.0, released June 7, 2024: 1 breaking change.

- **Signature changed** `cjs/api:register`  

Was const register: () => () => void; now const register: Register. [npmjs.com](https://www.npmjs.com/package/tsx/v/4.13.0)

## tsx 4.11.0 breaking changes

tsx 4.11.0, released May 23, 2024: 2 breaking changes.

- **Signature changed** `esm/api:InitializationOptions`  

Was type InitializationOptions = {namespace?: string; port?: MessagePort;}; now type InitializationOptions = {namespace?: string; port?: MessagePort; tsconfig?: TsconfigOptions;}. [npmjs.com](https://www.npmjs.com/package/tsx/v/4.11.0)
- **Signature changed** `esm/api:RegisterOptions`  

Was type RegisterOptions = {namespace?: string; onImport?: (url: string) => void;}; now type RegisterOptions = {namespace?: string; onImport?: (url: string) => void; tsconfig?: TsconfigOptions;}. [npmjs.com](https://www.npmjs.com/package/tsx/v/4.11.0)

## tsx 4.10.0 breaking changes

tsx 4.10.0, released May 11, 2024: 1 breaking change.

- **Signature changed** `esm/api:register`  

Was const register: (options?: Options$1) => () => Promise\<void>; now const register: Register. [npmjs.com](https://www.npmjs.com/package/tsx/v/4.10.0)

## Older versions

4 older versions.

### tsx 4.3.0 breaking changes

tsx 4.3.0, released November 22, 2023: 1 breaking change.

- **Behavior changed**  

The esbuild transform now disables sourcesContent, so source maps no longer embed the original source text. Tools that read source contents from the map may need the original files on disk. [github.com](https://github.com/privatenumber/tsx/releases/tag/v4.3.0)

### tsx 4.1.4 breaking changes

tsx 4.1.4, released November 19, 2023: 1 breaking change.

- **Behavior changed**  

The source-map stripping change is reverted, so source maps are no longer stripped as they were in 4.1.3. Users who relied on the stripped output should check their source map handling. [github.com](https://github.com/privatenumber/tsx/releases/tag/v4.1.4)

### tsx 4.0.0 breaking changes

tsx 4.0.0, released November 9, 2023: 2 breaking changes.

- **Removed**  

Only Node.js LTS versions v18 and up are supported now. Upgrade Node.js to v18 or later before using this release. [github.com](https://github.com/privatenumber/tsx/releases/tag/v4.0.0)
- **Renamed**  

Environment variables that used the ESBK\_ prefix now use TSX\_. Update any scripts or CI config that set ESBK\_ variables. [github.com](https://github.com/privatenumber/tsx/releases/tag/v4.0.0)

### tsx 3.0.0 breaking changes

tsx 3.0.0, released May 17, 2022: 1 breaking change.

- **Behavior changed**  

CJS files (.js in a commonjs package, .cjs, and .cts) are now executed in the CJS context. Code relying on the previous module handling may need to be updated. [github.com](https://github.com/privatenumber/tsx/releases/tag/v3.0.0)

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