22.6.0
📦 nxView on GitHub →
✨ 45 features🐛 18 fixes🔧 9 symbols
Summary
This release introduces significant enhancements around AI agent integration, including sandboxing, new modes for init/import, and improved configuration. It also brings performance improvements via jemalloc and updates to build tooling like Angular v21.2 support and napi-rs v3 migration.
Migration Steps
- If you rely on Prettier formatting during generation/update tasks, consider setting the NX_SKIP_FORMAT environment variable to skip formatting if needed.
✨ New Features
- Added support for Angular v21.2.
- Updated formatting of agent rules documentation.
- Added nxVersion to meta in shortUrl for cnw.
- Implemented handling for agentic sandboxing.
- Extracted sandbox detection into a reusable utility.
- Added negation pattern support for plugin include/exclude.
- Added --stdin option to affected commands.
- Support for dependency filesets using the ^{projectRoot} syntax.
- Added agentic mode to nx init.
- Automatically set up AI agents in cnw/init when run from within an AI agent.
- Implemented configure-ai-agents outdated message after tasks.
- Improved codex support for configure-ai-agents.
- Added --otp flag to the top-level nx release command and detection for EOTP errors.
- Used static_vcruntime to avoid msvcrt dependency.
- Added commands for debugging cache inputs/outputs.
- Improved accessibility (AX) of configure-ai-agents with auto-detection.
- Added AI agent mode to nx import.
- Added preferBatch executor option.
- Added --json flag for better AX to nx list.
- Added passthrough for nx-cloud apply-locally command.
- Added yarn berry catalog support.
- Added explicit cloud opt-out to CNW.
- Used jemalloc with tuned decay timers for the native module.
- Added .nx/polygraph to gitignore in migration and caia.
- Migrated napi-rs from v2 to v3.
- Added Codex subagent support to configure-ai-agents.
- Added polygraph command to initialize cross-repo sessions.
- Added safe plugin cache write utilities with LRU eviction.
- Added analytics tracking.
- Persisted analytics session ID across CLI invocations.
- Centralized performance tracking and reporting metrics to telemetry.
- Prompted for analytics preference during workspace creation.
- Added task and project count telemetry via performance lifecycle.
- Brought back cloud prompts and templates in CNW.
- Added NX_SKIP_FORMAT environment variable to skip Prettier formatting.
- Added properties and wrappers to Gradle inputs.
- Added support for configurable typecheck config name in js projects.
- Added deps-sync generator for js projects.
- Reported external Maven dependencies in the project graph.
- Updated PLUGIN.md files to aid agent verification.
- Locked in CNW variant 2 with deferred connection.
- Used caret range for swc dependencies in pnpm catalog.
- Tracked server page views for AI traffic using Netlify-Agent-Category.
- Added YouTube channel callout to the courses page.
- Added cacheDir option to the playwright executor.
🐛 Bug Fixes
- Used SASS indented syntax in nx-welcome component when style is sass.
- Preserved skipLibCheck in tsconfig.json for standalone projects.
- Excluded .json files from JS/TS regex patterns in angular-rspack.
- Used relative path for postcss-cli-resources output in angular-rspack.
- Skipped unnecessary type-check in TS Solution Setup when skipTypeCheck is true.
- Added docs link to generatePackageJson error message.
- Fixed regression on process.env usage for webpack.
- Ensured mcp args aren't overridden when running configure-ai-agents.
- Used a consistent batch id between scheduler and task runner.
- Cleaned up stale socket files before listening.
- Avoided dropping unrelated continuous dependencies in `makeAcyclic`.
- Made runtime cache key deterministic.
- Handled dangling symlinks during cache restore.
- Hitting [1] or [2] now removes pinned panes if they match the current task.
- Removed shellapi from winapi featureset to minimize AV false positives.
- Handled Ctrl+C gracefully in configure-ai-agents.
- Prevented staggered and duplicate lines in dynamic output.
- Only pulled configure-ai-agents from latest if local version is older.