Memperbarui nx dari 23.x ke 24.x
Perbandingan API publik nx 23.3.1 dan 24.0.0, dihitung otomatis dari tipe TypeScript-nya. Tanda tangan yang berubah adalah kemungkinan perubahan tidak kompatibel, bukan kepastian.
Ringkasan
| Jalur impor yang dihapus | 0 |
|---|---|
| Ekspor yang dihapus | 0 |
| Tanda tangan yang berubah | 3 |
| Anggota kelas atau antarmuka yang dihapus | 12 |
| Anggota kelas atau antarmuka yang berubah | 18 |
| Baru ditandai usang | 0 |
| Perubahan persyaratan (engines, dependensi peer) | 0 |
| Ekspor baru | 40 |
Ekspor yang dihapus
Tidak ada yang terdeteksi.
Tanda tangan yang berubah
| export | Sebelum | Sesudah |
|---|---|---|
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[] |
Anggota kelas atau antarmuka yang dihapus
| member | import | Sebelum |
|---|---|---|
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 |
Anggota kelas atau antarmuka yang berubah
| member | Sebelum | Sesudah |
|---|---|---|
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 |
Baru ditandai usang
Tidak ada yang terdeteksi.
Perubahan persyaratan (engines, dependensi peer)
Tidak ada yang terdeteksi.
Ekspor baru (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 |
Berikan fakta ini ke agen AI Anda
Vigia adalah server MCP gratis: agen coding Anda memeriksa versi, perubahan yang merusak kompatibilitas, dan kerentanan sebelum menulis kode. Tanpa pendaftaran, tanpa kunci API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Tambahkan ke CursorTambahkan ke VS Code★ Bintang di GitHub
Klien MCP lainnya
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill agen (SKILL.md): memberi tahu agen kapan memakai Vigia · GitHub Action untuk pull request
Pertanyaan umum
Apa saja perubahan tidak kompatibel saat memperbarui nx dari 23 ke 24?
Antara nx 23.3.1 dan 24.0.0, Vigia menemukan 0 ekspor yang dihapus, 3 tanda tangan yang berubah, dan 30 anggota kelas atau antarmuka yang dihapus atau berubah.
Apa yang ditandai usang di nx 24?
0 ekspor atau anggota baru ditandai usang di nx 24.0.0.
Untuk agen
GET https://vigia.coredls.cloud/v1/packages/npm/nx/upgrade?from=23.3.1&to=24.0.0