nx/docs/changelog/21_0_0.md
Jack Hsu 66eaf2fc74
docs(misc): remove /nx-api pages (#31453)
This PR removes the `/nx-api` pages from `nx-dev`. They are already
redirected from `/nx-api` to either `/technologies` or
`/reference/core-api` URLs.

e.g. `/nx-api/nx` goes to `/reference/core-api/nx` and `/nx-api/react`
goes to `/technologies/react/api`

**Changes**:
- Remove old `nx-api.json` from being generated in
`scripts/documentation/generators/generate-manifests.ts` -- this was
used to generate the sitemap
- Remove `pages/nx-api` from Next.js app since we don't need them
- Remove workaround from link checker
`scripts/documentation/internal-link-checker.ts` -- the angular
rspack/rsbuild and other workarounds are gone now that they are proper
docs in `map.json`
- Update Powerpack/Remote Cache reference docs to exclude API documents
(since they are duplicated in the Intro page) --
`nx-dev/models-document/src/lib/mappings.ts`
- All content in `docs` have been updated with new URL structure

**Note:** Redirects are already handled, and Claude Code was used to
verify the updated `docs/` URLs (see report below). The twelve 404s
links were updated by hand.

## Verification Report

https://gist.github.com/jaysoo/c7863fe7e091cb77929d1976165c357a
2025-06-04 16:57:01 -04:00

2.2 KiB

Nx 21.0

Read the 21.0 release blog post

{% youtube src="https://www.youtube.com/watch?v=9zsncTxfcl4" title="Nx 21 Release: Continuous tasks and Terminal UI lead the way" /%}

Features

{% cards cols="2" %} {% card title="Continuous Tasks" type="document" url="/recipes/running-tasks/defining-task-pipeline#continuous-task-dependencies" /%} {% card title="Terminal UI (TUI)" type="document" url="/recipes/running-tasks/terminal-ui" /%} {% card title="Gradle Plugin Enhancements" type="document" url="/technologies/java/introduction" /%} {% card title="Migrate UI" type="document" url="/recipes/nx-console/console-migrate-ui#nx-console-migrate-ui" /%} {% /cards %}

Breaking Changes

{% cards cols="2" %} {% card title="Drop support for Node versions prior to 20.19.0" type="external" url="https://github.com/nrwl/nx/pull/30818" /%} {% card title="Remove outputStyle=compact" type="external" url="https://github.com/nrwl/nx/pull/31016" /%} {% card title="Remove deprecated readWorkspaceConfig" type="external" url="https://github.com/nrwl/nx/pull/30868" /%} {% card title="Remove legacy cache flag from nx.json" type="external" url="https://github.com/nrwl/nx/pull/30787" /%} {% card title="Drop support for create nodes v1" type="external" url="https://github.com/nrwl/nx/pull/30616" /%} {% card title="Remove deprecated getJestProjects function" type="external" url="https://github.com/nrwl/nx/pull/30844" /%} {% card title="Remove tsConfig option from @nx/jest:jest executor" type="external" url="https://github.com/nrwl/nx/pull/30888" /%} {% card title="Remove tsConfig and copyFiles options from @nx/cypress:cypress executor" type="external" url="https://github.com/nrwl/nx/pull/30870" /%} {% card title="useLegacyVersioning is false by default" type="external" url="https://github.com/nrwl/nx/pull/30838" /%} {% card title="Remove deprecated static-serve target name from Remix" type="external" url="https://github.com/nrwl/nx/pull/30982" /%} {% card title="Remove deprecated Angular functionalities for v21" type="external" url="https://github.com/nrwl/nx/pull/30769" /%} {% card title="Remove cli property from migration definitions" type="external" url="https://github.com/nrwl/nx/pull/30855" /%} {% /cards %}