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
On this page
Latest version 4.23.15, released September 20, 2026. Source repository
Its 4.0.0 release requires Node.js 18 or later. Node.js end of life dates.
tsx 4.23.15 breaking changes
- 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
tsx 4.20.0 breaking changes
- 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
tsx 4.16.2 breaking changes
- 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
tsx 4.13.0 breaking changes
- Signature changed
cjs/api:register
Was const register: () => () => void; now const register: Register. npmjs.com
tsx 4.11.0 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 - 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
tsx 4.10.0 breaking changes
- Signature changed
esm/api:register
Was const register: (options?: Options$1) => () => Promise<void>; now const register: Register. npmjs.com
Older versions
4 older versions.
Show 4 older versions
tsx 4.3.0 breaking changes
- 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
tsx 4.1.4 breaking changes
- 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
tsx 4.0.0 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 - Renamed
Environment variables that used the ESBK_ prefix now use TSX_. Update any scripts or CI config that set ESBK_ variables. github.com
tsx 3.0.0 breaking changes
- 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
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.