Nx 24! All you need to know

Nx 24 makes task-based affected the default, so Nx decides per task what your change affects. This video also covers dynamic task packing and Ultracache, fine-grained caching for split e2e tests with the new @nx-ignore-server-inputs and @nx-depends-on directives, waiting for a dev server to be ready with waitFor, refreshed Node.js apps and agentic migrations. It closes with Oxlint and Oxfmt, polyglot support, breaking changes and Nx Cloud updates.
🔗 Links:
- Nx 24 release blog post: https://nx.dev/blog/nx-24-release
- Skip unaffected e2e tests: https://nx.dev/docs/kb/skip-unaffected-e2e-tests
- Wait for a continuous task to be ready: https://nx.dev/docs/reference/project-configuration#wait-for-a-continuous-task-to-be-ready
- Agentic migrations: https://nx.dev/docs/features/automate-updating-dependencies
- Node.js in Nx: https://nx.dev/docs/technologies/node/introduction
- Oxlint plugin: https://nx.dev/docs/technologies/oxlint/introduction
📚 Related:
- Task-based affected in Nx: https://youtu.be/0R55-uFQyX4
- Dynamic task packing and Ultracache (video): https://youtu.be/e9VTseSsYMY
- Dynamic task packing and Ultracache (blog): https://nx.dev/blog/dynamic-task-packing-ultracache
- Agentic nx import: https://nx.dev/blog/agentic-nx-import
- Full-stack type safety with .NET and OpenAPI: https://nx.dev/blog/dotnet-openapi-type-safety
- Adding Rust to a TanStack monorepo: https://nx.dev/blog/polyglot-nx-monorepo-rust-tanstack
To upgrade, run nx migrate latest.
📖 Chapters: 00:00 Intro 01:08 Task-based affected by default 03:16 Dynamic task packing and Ultracache 07:11 Monorepo and monolith benchmarks 08:49 Optimizing e2e tests on CI 10:34 New e2e caching directives 11:39 Demo: fine-grained e2e caching 14:25 Wait for a dev server 15:28 Demo: waitFor 18:05 Refreshed Node.js apps 20:13 Agentic migrations by default 21:41 More agentic improvements 22:26 Oxlint and Oxfmt 22:45 Polyglot monorepos 23:39 Breaking changes 23:53 Nx Cloud updates 24:39 Community and upgrading