Change8

v2.4.0

📦 turborepoView on GitHub →
7 features🐛 8 fixes🔧 8 symbols

Summary

This release introduces lockfile awareness to `affectedPackages`, adds caching for the `watch` command, and includes numerous documentation improvements and dependency updates across examples. A migration guide for Nx users is now available.

Migration Steps

  1. Users migrating from Nx should consult the migration guide: https://github.com/vercel/turborepo/pull/9762
  2. Consider making incremental migration more prominent if coming from Nx (see documentation update: https://github.com/vercel/turborepo/pull/9796).

✨ New Features

  • Added support for `--use-gitignore` flag in `prune` command.
  • The `affectedPackages` calculation in @turbo/repository is now lockfile aware.
  • Micro-frontend (MFE) feature updated: v2 is now treated as v1, and the version field is made optional.
  • Micro-frontend (MFE) now supports user-specified local proxy.
  • Implemented caching for the `watch` command.
  • Added a nice message after finishing boundaries checks.
  • Updated Azure Devops environment configuration in turbo.

🐛 Bug Fixes

  • Fixed a conflict CSS property in the `with-tailwind` example.
  • Fixed tests for the kitchen-sink example package.
  • Reverted lockfile upgrade related to pnpm.
  • Dependency fix: used `windows-sys` instead of `winapi`.
  • Removed unused `winapi` dependency for turborepo.
  • Fixed a predicate bug in the query logic.
  • Fixed an issue in `turbo-trace` by checking exports.
  • Downgraded tailwind in examples to resolve issues.

🔧 Affected Symbols

prune@turbo/repositoryaffectedPackagesmfewatchturbo-traceboundariesESLint recommended flat config