Packages

@nx/workspace

24.0.6 · 10 Nov 2026MIT8.5M / weekRepositoryHomepagenpmAtom feed

Your version

22.6.0

18 Mar 2026Where it was published

22.7.12 is the newest release of 22.x.

In short

1 breaking1 security43 new80 fixed2 internal

  • Breaking

    ⚠️ vitest: resolve reportsDirectory against workspace root

  • Security

    misc: bump minimatch to 10.2.1 to address CVE-2026-26996 (#34509, #34507)

Release note

The section about @nx/workspace of a note shared by several packages.

Features

  • core: update formatting of agent rules documentation

  • core: add nxVersion to meta in shortUrl for cnw

  • core: handle agentic sandboxing

  • core: extract sandbox detection into reusable utility

  • core: add negation pattern support for plugin include/exclude

  • core: add --stdin to affected options (#34435, #28770)

  • core: support dependency filesets with ^{projectRoot} syntax

  • core: add agentic mode to nx init

  • core: automatically set up ai agents in cnw/init when run from within an ai agent

  • core: implement configure-ai-agents outdated message after tasks

  • core: improve codex support for configure-ai-agents

  • core: add --otp to top-level nx release command and detect EOTP errors

  • core: use static_vcruntime to avoid msvcrt dependency (#19781, #19779)

  • core: add commands for debugging cache inputs / outputs

  • core: improve AX of configure-ai-agents with auto-detection

  • core: add AI agent mode to nx import

  • core: add preferBatch executor option

  • core: add --json flag for better AX to nx list

  • core: add passthrough for nx-cloud apply-locally command

  • core: add yarn berry catalog support

  • core: add explicit cloud opt-out to CNW

  • core: use jemalloc with tuned decay timers for native module (#34444, #99)

  • core: add .nx/polygraph to gitignore in migration and caia

  • core: migrate napi-rs v2 to v3

  • core: add Codex subagent support to configure-ai-agents

  • core: add polygraph command to initiaze cross-repo sessions

  • core: add safe plugin cache write utilities with LRU eviction

  • core: add analytics

  • core: persist analytics session ID across CLI invocations

  • core: centralize perf tracking and report metrics to telemetry

  • core: prompt for analytics preference during workspace creation

  • core: add task and project count telemetry via performance lifecycle

  • core: bring back cloud prompts and templates in CNW (#34887, #34671, #34818)

  • misc: update PLUGIN.md files to help agents verification

  • misc: lock in CNW variant 2 with deferred connection

  • misc: use caret range for swc dependencies in pnpm catalog (#34487, #34472)

  • misc: track server page views for AI traffic using Netlify-Agent-Category

Fixes

  • core: make sure that mcp args aren't overridden when running configure-ai-agents

  • core: use a consistent batch id between scheduler and task runner

  • core: clean up stale socket files before listening (#34236, #34233)

  • core: avoid dropping unrelated continuous deps in makeAcyclic

  • core: make runtime cache key deterministic

  • core: handle dangling symlinks during cache restore (#34396, #34013)

  • core: hitting [1] or [2] should remove pinned panes if they match the current task (#34433, #34175)

  • core: remove shellapi from winapi featureset to minimize AV false positives

  • core: handle Ctrl+C gracefully in configure-ai-agents

  • core: prevent staggered and duplicate lines in dynamic output

  • core: only pull configure-ai-agents from latest if local version is not latest

  • core: gate tui-logger init behind NX_TUI env var

  • core: avoid blocking event loop during TUI PTY resize

  • core: use workspace root for path resolution when baseUrl is not set

  • core: replace buggy ignore-files trie with correct path-component gitignore matching

  • core: skip stale recomputations and prevent lost file changes in daemon

  • core: reduce terminal output duplication and allocations in task runner

  • core: commands shouldn't hang when passing --help

  • core: preserve existing source properties in claude plugin config

  • core: retry entire SQLite transaction on DatabaseBusy

  • core: show the correct status for stopped continuous tasks

  • core: reject pending promises directly when plugin worker exits unexpectedly (#34588, #34564)

  • core: use recursive FSEvents on macOS instead of non-recursive kqueue (#34523, #34329, #33781, #34522)

  • core: remove unused getTerminalOutput from BatchProcess

  • core: handle FORCE_COLOR=0 with picocolors (#34520, #34305, #34387)

  • core: use scoped cache key for unresolved npm imports in TargetProjectLocator

  • core: preserve nxCloud=skip in non-interactive CNW mode (#34616, #34580)

  • core: make watch command work with all and initialRun specified (#32282, #32281)

  • core: support canonical SSH URLs when extracting GitHub user/repo slug during nx release (#31684, #31682)

  • core: update sourceRespository description of nx import

  • core: resolve input files for targets with defaultConfiguration (#34638, #34594)

  • core: interpolate {projectRoot} and {projectName} in {workspaceRoot} input patterns in native hasher (#34637, #43, #34225, #34595)

  • core: skip writing deps cache if already up-to-date

  • core: resolve false positive loop detection when running with Bun (#34640, #0, #1, #2, #3, #4, #5, #6, #33997)

  • core: stabilizes project references in dependsOn and inputs when later plugins rename a project

  • core: fall back to invoking PM in detection

  • core: restore CNW user flow to match v22.1.3

  • core: enable output prefixing for direct nx:run-commands path

  • core: support tuple validation when schema items is an array (JSON Schema draft 07) (#34636, #34631)

  • core: prevent TUI panic when Nx Console is connected

  • core: add .claude/worktrees to gitignore

  • core: surface clearer error when CNW hits SANDBOX_FAILED

  • core: allow nx cloud commands to run outside of a workspace

  • core: add missing @nx/angular-rspack packages to nx packageGroup (#34743, #32772)

  • core: batch-safe hashing for maven and gradle (#34446, #30949)

  • core: misc graph changes with nx/graph 1.0.5

  • core: improve nx wrapper error message for malformed nx.json

  • core: ensure batch tasks always have hash for DTE (#34764, #34446)

  • core: show json by default for agentic ai

  • core: gate tui-logger init behind NX_TUI env var " (#34426, #34797)

  • core: batch hashing, topological cache walk, and TUI batch fixes

  • core: fix TUI help text layout

  • core: preserve params and options when expanding wildcard dependsOn targets

  • core: add download-cloud-client to cloud command bypass list (#34788, #34746, #34728)

  • core: add null guards for runningTasksService in WASM fallback (#34825, #34573)

  • core: skip analytics prompt for cloud commands

  • core: ensure postTasksExecution fires on SIGINT for continuous tasks

  • core: ensure postTasksExecution fires on SIGINT for continuous tasks " (#34623, #34869)

  • core: add .claude/settings.local.json to .gitignore

  • core: show continuous property in nx show target

  • core: detect npm from package-lock.json before falling back to invoking PM (#34877, #34691)

  • core: trim memory usage associated with io-tracing service

  • core: ensure workers shutdown after phase cancelled

  • core: avoid overwhelming DB with connections during analytics init

  • core: gracefully handle missing package manager and invalid workspace for CNW

  • core: share .agents skills dir across codex, cursor, gemini

  • core: wrap CNW normalize args function in error handler

  • js: remove redundant vite.config.ts generation for vitest projects (#34603, #34399)

  • misc: rewrite Framer URLs to nx.dev in HTML responses

  • misc: prevent nxCloudId from being generated for new workspaces

  • Security

    misc: bump minimatch to 10.2.1 to address CVE-2026-26996 (#34509, #34507)

  • misc: update maven & gradle icons to java duke icon

  • misc: boost CLI command reference search ranking

  • misc: fix broken nx.dev redirects and remove legacy redirect-rules files

  • misc: use pathToFileURL for cross-platform path handling in postcss-cli-resources (#34676, #33052)

  • misc: exclude .netlify paths from Framer proxy edge function

  • misc: address security CVE cluster (copy-webpack-plugin, koa, minimatch) (#34708, #34632, #34621, #34701)

  • nx-dev: remove nx-cloud paths from Framer excluded URL rewrites

  • release: remove unnecessary number from release return type

  • release: allow null values in schema of dockerVersion

  • release: add null-safe fallback for version in createGitTagValues (#34598, #34382, #33890, #34391)

  • release: skip indirect patch bump for commit types with semverBump "none"

  • release: include dependent projects in release commit message when using --projects filter

  • release: deduplicate projects in changelog when using filtered project list

  • repo: use sudo for global npm install in publish workflow

  • repo: replace addnab/docker-run-action with direct docker run

  • repo: revert sudo for global npm install in publish workflow (#34451, #34409)

  • repo: fix e2e CI failures from Node 22.12 incompatibility

  • repo: reset package.json files after local release

  • repo: remove redundant inputs override for build-base target

  • testing: remove stale ci.yml from extras.test snapshot (#34690, #34332, #34616)

  • Breaking

    ⚠️ vitest: resolve reportsDirectory against workspace root

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.