Upgrading nx from 23.x to 24.x
Comparison of the public API of nx 23.3.1 and 24.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 0 |
| Changed signatures | 3 |
| Removed class or interface members | 12 |
| Changed class or interface members | 18 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 0 |
| New exports | 40 |
Removed exports
None detected.
Changed signatures
| export | Before | After |
|---|---|---|
nx/src/native · expandFilesInput | (workspaceRoot: string, globs: string[]): string[] | (workspaceRoot: string, globs: string[], projectRoots?: string[] | null | undefined): string[] |
nx/src/native/index · expandFilesInput | (workspaceRoot: string, globs: string[]): string[] | (workspaceRoot: string, globs: string[], projectRoots?: string[] | null | undefined): string[] |
nx/src/native/index.js · expandFilesInput | (workspaceRoot: string, globs: string[]): string[] | (workspaceRoot: string, globs: string[], projectRoots?: string[] | null | undefined): string[] |
Removed class or interface members
| member | import | Before |
|---|---|---|
InvocationRecord.parentPid | nx/src/native | number |
TaskInvocationTracker.getInvocationChain | nx/src/native | (): InvocationRecord[] |
TaskUltracacheSettings.ignoredReads | nx/src/native | string[] | undefined |
TaskUltracacheSettings.ignoredWrites | nx/src/native | string[] | undefined |
InvocationRecord.parentPid | nx/src/native/index | number |
TaskInvocationTracker.getInvocationChain | nx/src/native/index | (): InvocationRecord[] |
TaskUltracacheSettings.ignoredReads | nx/src/native/index | string[] | undefined |
TaskUltracacheSettings.ignoredWrites | nx/src/native/index | string[] | undefined |
InvocationRecord.parentPid | nx/src/native/index.js | number |
TaskInvocationTracker.getInvocationChain | nx/src/native/index.js | (): InvocationRecord[] |
TaskUltracacheSettings.ignoredReads | nx/src/native/index.js | string[] | undefined |
TaskUltracacheSettings.ignoredWrites | nx/src/native/index.js | string[] | undefined |
Changed class or interface members
| member | Before | After |
|---|---|---|
TaskGraph.dependencies | Record<string, string[]> | Record<string, TaskGraphEdge[]> |
TaskGraph.continuousDependencies | Record<string, string[]> | Record<string, TaskGraphEdge[]> |
AppLifeCycle.constructor | (tasks: Task[], initiatingTasks: string[], runMode: RunMode, pinnedTasks: string[], tuiCliArgs: TuiCliArgs, tuiConfig: TuiConfig, titleText: string, workspaceRoot: string, taskGraph: TaskGraph, isCloudEnabled?: boolean | null | undefined): AppLifeCycle | (tasks: Task[], initiatingTasks: string[], runMode: RunMode, pinnedTasks: string[], tuiCliArgs: TuiCliArgs, tuiConfig: TuiConfig, titleText: string, workspaceRoot: string, taskGraph: TaskGraph, readyDependencies: Record<string, string[]>, isCloudEnabled?: boolean | null | undefined): AppLifeCycle |
TaskInvocationTracker.constructor | (db: ExternalObject<NxDbConnection>, rootPid: number): TaskInvocationTracker | (db: ExternalObject<NxDbConnection>, rootPid: number, ancestorPids: number[]): TaskInvocationTracker |
TaskInvocationTracker.registerTask | (parentPid: number, taskId: string): void | (pid: number, taskId: string, overridesHash: string): InvocationRecord[] | null |
TaskInvocationTracker.unregisterTask | (taskId: string): void | (pid: number, taskId: string): void |
TaskGraph.dependencies | Record<string, string[]> | Record<string, TaskGraphEdge[]> |
TaskGraph.continuousDependencies | Record<string, string[]> | Record<string, TaskGraphEdge[]> |
AppLifeCycle.constructor | (tasks: Task[], initiatingTasks: string[], runMode: RunMode, pinnedTasks: string[], tuiCliArgs: TuiCliArgs, tuiConfig: TuiConfig, titleText: string, workspaceRoot: string, taskGraph: TaskGraph, isCloudEnabled?: boolean | null | undefined): AppLifeCycle | (tasks: Task[], initiatingTasks: string[], runMode: RunMode, pinnedTasks: string[], tuiCliArgs: TuiCliArgs, tuiConfig: TuiConfig, titleText: string, workspaceRoot: string, taskGraph: TaskGraph, readyDependencies: Record<string, string[]>, isCloudEnabled?: boolean | null | undefined): AppLifeCycle |
TaskInvocationTracker.constructor | (db: ExternalObject<NxDbConnection>, rootPid: number): TaskInvocationTracker | (db: ExternalObject<NxDbConnection>, rootPid: number, ancestorPids: number[]): TaskInvocationTracker |
TaskInvocationTracker.registerTask | (parentPid: number, taskId: string): void | (pid: number, taskId: string, overridesHash: string): InvocationRecord[] | null |
TaskInvocationTracker.unregisterTask | (taskId: string): void | (pid: number, taskId: string): void |
TaskGraph.dependencies | Record<string, string[]> | Record<string, TaskGraphEdge[]> |
TaskGraph.continuousDependencies | Record<string, string[]> | Record<string, TaskGraphEdge[]> |
AppLifeCycle.constructor | (tasks: Task[], initiatingTasks: string[], runMode: RunMode, pinnedTasks: string[], tuiCliArgs: TuiCliArgs, tuiConfig: TuiConfig, titleText: string, workspaceRoot: string, taskGraph: TaskGraph, isCloudEnabled?: boolean | null | undefined): AppLifeCycle | (tasks: Task[], initiatingTasks: string[], runMode: RunMode, pinnedTasks: string[], tuiCliArgs: TuiCliArgs, tuiConfig: TuiConfig, titleText: string, workspaceRoot: string, taskGraph: TaskGraph, readyDependencies: Record<string, string[]>, isCloudEnabled?: boolean | null | undefined): AppLifeCycle |
TaskInvocationTracker.constructor | (db: ExternalObject<NxDbConnection>, rootPid: number): TaskInvocationTracker | (db: ExternalObject<NxDbConnection>, rootPid: number, ancestorPids: number[]): TaskInvocationTracker |
TaskInvocationTracker.registerTask | (parentPid: number, taskId: string): void | (pid: number, taskId: string, overridesHash: string): InvocationRecord[] | null |
TaskInvocationTracker.unregisterTask | (taskId: string): void | (pid: number, taskId: string): void |
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
None detected.
New exports (40)
| import | export | kind |
|---|---|---|
nx/src/native | openUrl | function |
nx/src/native | LogMatcher | class |
nx/src/native | ShebangFile | interface |
nx/src/native | TaskGraphEdge | interface |
nx/src/native | TaskReadiness | enum |
nx/src/native | ReadinessProbe | class |
nx/src/native | SocketDirDetails | interface |
nx/src/native | readShebangHeaders | function |
nx/src/native | ReadinessProbeConfig | interface |
nx/src/native | resolveDaemonSocketPath | function |
nx/src/native | resolvePluginSocketPath | function |
nx/src/native | resolveNxConsoleSocketPath | function |
nx/src/native | resolveForkedProcessSocketPath | function |
nx/src/native/index | openUrl | function |
nx/src/native/index | LogMatcher | class |
nx/src/native/index | ShebangFile | interface |
nx/src/native/index | TaskGraphEdge | interface |
nx/src/native/index | TaskReadiness | enum |
nx/src/native/index | ReadinessProbe | class |
nx/src/native/index | SocketDirDetails | interface |
nx/src/native/index | readShebangHeaders | function |
nx/src/native/index | ReadinessProbeConfig | interface |
nx/src/native/index | resolveDaemonSocketPath | function |
nx/src/native/index | resolvePluginSocketPath | function |
nx/src/native/index | resolveNxConsoleSocketPath | function |
nx/src/native/index | resolveForkedProcessSocketPath | function |
nx/nx-cloud-internals | TASK_GRAPH_FORMAT | variable |
nx/src/native/index.js | openUrl | function |
nx/src/native/index.js | LogMatcher | class |
nx/src/native/index.js | ShebangFile | interface |
nx/src/native/index.js | TaskGraphEdge | interface |
nx/src/native/index.js | TaskReadiness | enum |
nx/src/native/index.js | ReadinessProbe | class |
nx/src/native/index.js | SocketDirDetails | interface |
nx/src/native/index.js | readShebangHeaders | function |
nx/src/native/index.js | ReadinessProbeConfig | interface |
nx/src/native/index.js | resolveDaemonSocketPath | function |
nx/src/native/index.js | resolvePluginSocketPath | function |
nx/src/native/index.js | resolveNxConsoleSocketPath | function |
nx/src/native/index.js | resolveForkedProcessSocketPath | function |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What are the breaking changes when upgrading nx from 23 to 24?
Between nx 23.3.1 and 24.0.0, Vigia found 0 removed exports, 3 changed signatures and 30 removed or changed class or interface members.
What became deprecated in nx 24?
0 exports or members are newly marked as deprecated in nx 24.0.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/nx/upgrade?from=23.3.1&to=24.0.0