Packages

nx

24.0.6 · 10 Nov 2026MIT15.6M / weekRepositoryHomepagenpmAtom feed

Your version

21.0.0

major5 May 2025Where it was published

21.8.0 is the newest release of 21.x.

In short

24 breaking2 removed23 new61 fixed2 internal

  • Breaking

    ⚠️ angular: remove deprecated functionalities for v21

  • Breaking

    ⚠️ core: remove usage of cli property from migration definitions

  • Breaking

    ⚠️ core: remove deprecated readWorkspaceConfig

  • Breaking

    ⚠️ core: drop support for create nodes v1 in favor of only calling create nodes v2

  • Breaking

    ⚠️ core: remove legacy cache flag from nx.json

  • Breaking

    ⚠️ core: drop support for node versions prior to 20.19.0

  • Breaking

    ⚠️ core: remove outputStyle=compact

  • Breaking

    ⚠️ release: useLegacyVersioning is false by default, migrate config

Security

Fixes 1 advisory that affected 20.12.0

5 advisories affect 21.0.0; 22.7.10 fixes them

Release note

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

Features

  • Breaking

    ⚠️ angular: remove deprecated functionalities for v21

  • core: introduce continuous tasks (#29750, #29025)

  • core: share continuous tasks

  • core: add the experimental Terminal UI for tasks

  • core: enable dte to execute continuous tasks

  • core: add shared status for tui

  • core: clean up unneeded continuous tasks after tasks are done

  • core: stream task output for all tasks except for direct output…

  • core: add flaky task detection to tui summary

  • core: allow executors to specify if they are continuous

  • Breaking

    ⚠️ core: remove usage of cli property from migration definitions

  • Breaking

    ⚠️ core: remove deprecated readWorkspaceConfig

  • core: add enter and q keybindings

  • Breaking

    ⚠️ core: drop support for create nodes v1 in favor of only calling create nodes v2

  • Breaking

    ⚠️ core: remove legacy cache flag from nx.json

  • core: disable tui when output style is set to an incompatible style

  • Breaking

    ⚠️ core: drop support for node versions prior to 20.19.0

  • core: support reading NX_TUI_AUTO_EXIT env var

  • core: bump devkit support range and remove some deprecated APIs

  • core: add continuous option to targets for Detox, Expo, and React Native

  • Breaking

    ⚠️ core: remove outputStyle=compact

  • misc: remove generation of target defaults for atomized e2e tasks

  • misc: remove migrations prior to v19 in preparation for v21

  • nx-dev: add React landing page

  • nx-dev: add course preview component

  • nx-dev: tutorial landing page and improvements

  • nx-dev: add conformance rule to verify blog post cover images

  • react: undeprecate svgr option for Next.js apps since --turbo supports it

  • react: replace deprecated babel classProperties.loose option in .babelrc files

  • Breaking

    ⚠️ release: useLegacyVersioning is false by default, migrate config

  • Breaking

    ⚠️ release: support gitlab releases

  • Breaking

    ⚠️ remix: remove deprecated static-serve target name from inferred targets

  • Breaking

    ⚠️ testing: remove deprecated getJestProjects

  • Breaking

    ⚠️ testing: remove tsConfig option from the @nx/jest:jest executor

  • Breaking

    ⚠️ testing: remove tsConfig and copyFiles options from the @nx/cypress:cypress executor

  • Removed

    webpack: remove isolatedConfig option for @nx/webpack:webpack

Fixes

  • Check if dependencies & devDependencies exist before deleting dep (#30224, #30222)

  • Removed

    angular: remove deprecated standaloneConfig from generators

  • core: schedule tasks and release waiting threads when continuous task is already running

  • core: improve tui exit consistency and summary

  • core: use dev tty for crossterm

  • core: only register forced shutdown when tui is enabled

  • core: improve flaky ci test

  • core: disable tui when CI=true

  • core: migrate-ui-api should always use its own migrate module

  • core: wait for exit before getting terminal output

  • core: fix issue with summary missing outputs

  • core: allow disabling output streaming with NX_STREAM_OUTPUT

  • core: add continuous to the project.json schema

  • core: ensure task environments are processed properly in dte

  • core: handle skipped tasks and trigger finished state

  • core: do not clone screen on every render loop of the TUI

  • core: error message when failing to fetch migrations is no good

  • core: quick fix to support trailing commas when reading hoisted …

  • core: properly print errors coming from js when tui is enabled

  • core: tui summary should handle in progress tasks properly

  • core: throw errors when task graph has invalid continuous tasks

  • core: kill child processes when pseudo terminal shutsdown

  • core: write keybindings with control to terminal panes in intera…

  • core: dont cache default plugins as all plugins if loading plugins fails

  • core: fix logging when directory does not exist

  • Breaking

    ⚠️ core: respect packageManager field in package.json when detecting version

  • core: fix terminal output for non-tui

  • core: include nx version in native file cache (#30963, #30940, #29184)

  • core: error when restoring http cache with no outputs

  • core: return results after NodeChildProcessWithNonDirectOutput has already exited

  • core: don't display fork script path in tui

  • core: prioritize --output-style flag over tui env vars

  • core: use process#kill instead of tree-kill for windows and macos

  • core: Disable the macOS job to prevent PRs from being blocked by its long runtime.

  • core: send signals when killing child process on unix

  • core: fix windows native build

  • core: run discrete tasks using batches if possible

  • core: improve tui task_list bottom section responsive design

  • core: update fork task runner so it propagates exit signals

  • core: remove unnecessary corepack defaults

  • core: skip vt100 parsing if tui disabled

  • core: tui summary should not show canceled during run-one because tasks are skipped

  • core: ensure the terminal is restored when cloud exits

  • core: Update nightly tests to work with continuous local-registry

  • core: reset should clear cloud light client

  • core: nx init should configure plugins for encapsulated workspaces

  • core: exit the command with sigint if it is interrupted

  • core: Disable e2e matrix as macos is still hanging at install

  • core: tui summary should show cancelled when interrupting dev server

  • core: q should exit tui immediately if all tasks complete

  • core: improve tui selected task contrast

  • core: update ci-workflow generator package manager installation

  • core: switch to tui-term fork to support dimmed content

  • core: kill tasks run via run-commands

  • js: remove check that ts plugin is used for ts sync generator

  • linter: remove empty entry in typescript eslint flat config (#30727, #30725)

  • Breaking

    ⚠️ misc: only provide default value for object properties if object already has value (#28838, #23153)

  • module-federation: remove disabling runtimeChunk (#30637, #9582)

  • nx-dev: refer to the youtube video instead of storing the videos…

  • nx-dev: toc should only include headings from the article body

  • nx-dev: update blog posts with avif cover images

  • release: ensure generatorOptions and rootVersionActionsOptions are passed to updateLockfile function

  • release: ensure versionData is always populated even when no bumps

  • release: only error on missing manifestsToUpdate if a project is being directly processed

  • repo: don't cancel running jobs on master when new branch merged

Breaking Changes

  • Breaking

    ⚠️ core: remove outputStyle=compact

  • Breaking

    remix: Remove deprecated static-serve target name from Remix

  • Breaking

    misc: Currently if an executor's schema provides some default

  • Breaking

    core: We are updating our minimum node version to 20.19.0

  • Breaking

    ⚠️ core: respect packageManager field in package.json when detecting version

  • Breaking

    ⚠️ release: support gitlab releases

  • Breaking

    testing: The previously deprecated and unused tsConfig and

  • Breaking

    testing: The previously deprecated and unused tsConfig option

  • Breaking

    ⚠️ core: remove legacy cache flag from nx.json

  • Breaking

    ⚠️ core: drop support for create nodes v1 in favor of only calling create nodes v2

  • Breaking

    core: The previously deprecated readWorkspaceConfig

  • Breaking

    core: The cli property from migration generator definitions

  • Breaking

    testing: The previously deprecated getJestProjects function

  • Breaking

    ⚠️ release: useLegacyVersioning is false by default, migrate config

  • Breaking

    angular: Remove the deprecated data persistence operators

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.