turbo
2.11.13 · 18 Nov 2026MIT48.3M / weekRepositoryHomepagenpmAtom feed
In short
21 breaking2 deprecated21 new19 fixed39 changed
- Breaking
turbo prunenow generates only one folder with all the source code in it (instead of 2). This makes the command more useful to people not using Docker. - Breaking
turbonow includespipeline.<task>.outputsin its hashing algorithm. Changing it should bust the cache. This is both more correct and also makes it easier to migrate toturbo(i.e. changing outputs yields different hashes meaning the cache is less likely to include unwanted stuff) - Breaking
Added internal
optionalDependenciesto hash algorithm - Breaking
Fixed regression where
turbo's hashing algorithm was not including the OS platform (e.g. darwin/linux/windows) in global hash calculation - Breaking
Logs are now output to
.turbodirectory instead ofturbodirectory. This moves the directory out of the middle of your package's source code. Update your.gitignoreaccordingly. - Breaking
Removed support for NPM and PNPM (although we can add these back later)
- Breaking
The
--concurrencyhas been removed. 9/10 times this was used to force serial execution with--concurrency=1. Now you can just pass--serialto get this behavior. - Breaking
Turbo no longer includes the hash of the contents of the root lockfile in its hash algorithm. Instead,
turbonow hashes the set of the resolved versions of a package'sdependenciesanddevDependenciesbased on the root lockfile. The old behavior would explode the cache whenever the root lockfile changed. With this new behavior, changing the lockfile will only bust the cache for those package's impacted by the added/changed/removed dependencies. To get this to work, though, you must now specify alldependenciesanddevDependenciesin eachpackage.json.
Security
1 advisory affects 0.8.5; 2.9.14 fixes them
- ModerateTurbo: Login callback CSRF/session fixationGHSA-hcf7-66rw-9f5r · 19 May 2026Fixed in 2.9.14
Release note
What's Changed
Completely rewritten and revamped internal graph. Fixes long standing bug with construction. You no longer need to specify all possible tasks, turbo will figure out the transitive tasks necessary automatically.
Anything passed after a
--toturbo runwill be passed through to all build tasks. This is a temporary workaround for parameterized builds. The use case is for something liketurboor Next.js which has OS-specific builds and cache artifacts which would otherwise have an identical hash.turboCLI output is now color aware, which should make reading build logs on platforms like Vercel and Netlify (and any other non-interactive terminal) easier.
Historical Changelog
turbois now much more friendly to OSS. In prior versions, a CI run triggered by a pull request by an outside contributor on a turborepo with remote caching would fail becauseturbowould bail in response to the unauthorized HTTP status code from our API (because the outside contributor doesn't have access to the original repo's secrets and thus TURBO_TOKEN). From now on though,turbowill show this warning message and fallback to local caching in this situation. This is a win for everyone as it allows core contributors with write access to get fastest builds, while still have fairly fast external contributions. In the future, we may explore public remote caches for OSS as well as read-only tokens.Remove support doublestar globs in workspaces (introduced in
v0.8.1) until a faster implementation can be foundThe globs you use to specify your
package.jsonworkspacesorpnpm-workspaces.yamlnow properly handles doublestar globs directives (e.g.packages/**)—turbowill automatically ignorenode_modulesandbower_componentsdirectories for you. This matches up with NPM, PNPM, and Yarn implementations.Botched release due to GitHub packages bug, do not use. This has been removed from the registry.
turbocan now be run from a workspaces which are in subdirectories (not the git root).Internal changes need for the forthcoming UI, which is flagged off warranted a minor version bump
Fixed issue where including an pipeline package-specific overrides with topological
dependsOncreated circular task graph dependencyFix regression with
--sinceflag (it wasn't working)Unknown/misspelled CLI flags will now properly error instead of failing silently
Fixed issue with
prunewhere.gitignoredidn't exist. It now safely handles this situation.Fixed issue with
prunewhere turbo's internal representation of the lockfile was being outputted to the root directory instead of to the cache.Fixed infinite loop during
turbo linkImproved error messages around auth flow
Invalid flag/config errors now return proper exit code (1)
Added ability to specify token, team, and project via
TURBO_TOKEN,TURBO_TEAM, andTURBO_PROJECTenvironment variables. The flags will take precendence over the environement variables when both are present.Remote caching is finally here! Along with a super super early preview of
https://beta.turborepo.com. Remote caching allows everyone on your team and even your CI/CD to recycle previously cached task artifacts. Think of it like Dropbox, but for your builds!
Getting started with v0.7.0
Remove all the
.npmrcstuff! You no longer need a token to downloadturbo.Upgrade turbo:
yarn add turbo -WCreate an account and team on
https://beta.turborepo.com/signupActivate your CLI:
yarn turbo loginLink your monorepo to a new project:
yarn turbo linkUse
turbo! In addition to locally caching artifacts, turbo will now also two-way sync artifacts to your remote cache.Invite your team members so they can use your artifacts too. In your dashboard, go to Users and then blast out some invites. Once they have accepted the invitation, they'll be added to your team and have access to all of your projects. They can then link their local git repos to your shared turborepo.
Connect your CI (programmatic non-interactive access): To give your CI/CD access to your turborepo.com team, project, and cache, go to the dashboard and create a personal access token for your account (API Tokens > Create). Copy this token to a safe place (you'll only see it once). Add it to as a secret environment variable in your CI provider. You can then pass it to turbo CLI like so:
yarn turbo run build --token=<my_token> --team=<my-team-url> --project=<my-project>
During this limited preview period, storage and bandwidth is free for everyone in the Discord, but please don't abuse it.
Stuff missing/what we're working on
Inspect/explore remote cache artifacts in the dashboard
Usage UI
Cleaner error messages
WARNING/DISCLAIMER: This is rough, and they'll be bugs, but #shippingisperfection.
Added (back) partial support for NPM and PNPM workspaces. When using either of these package managers,
turbowill include the entire contents of the relevant lockfile in its hashing algorithm for each package task. This differs fromyarnbehavior whereturbowill include the resolved the versions of dependencies for a given package. Theprunecommand does not yet work withpnpmornpm. These features will be added at a later date.Remote cache hits now store to other caches (file system).
Improved chrome profiling output (
--profile) flagFixed hashing regression with lockfiles
Removed misleading/useless warning message about reading missing log file during replay.
turbocan now construct hashes without being in a git repository. This is extremely useful for docker deployment and running builds inside of prunedoutdirectories for a PaaS like Vercel or Netlify.Fix cache regression where the first run was not properly storing artifact output
Fix regression with lockfile hash
Fix regression with cache worker pool on Linux
Improved error messages
Add hybrid (remote + local) caching
Ensure that execution output summary waits until all replay logs have been flushed already.
Internal refactoring related to remote caching
In the presence of an error without
--continue,turbowill properly flush/shutdown async cache workers instead of leaving them hanging (resulting in partial artifact outputs).turbois now 50-80% faster thanks to refactoring/improving cache behavior. While fetching artifacts from the cache is still synchronous, storing task artifacts is now async (and queued) among a worker pool so that it is non-blocking. The cache internals have been tweaked so that multiple cache implementations (i.e. local and remote) can be multiplexed together in the future.Improved file copying algorithm.
turbowill first attempt to use hardlinks to copy files and fallback to a real copy if the hardlink fails. If you experience any regressions, please let us know. If necessary, we can add--no-hardlinksflag and/or"copyBehavior"config key to tune this (either globally or on a per-task basis).Fixed glob bug in
pipeline.<taskId>.outputsnot respecting!properlyturbois around 20% faster thanks to some concurrency/performance improvements to hashingturbowill now print a warning when.gitis not present. It will continue with forced local execution and avoid caching any artifacts (the equivalent of--forceand--no-cacheflags)Fixed regression with
--includeDependenciesand--sinceflags inturbo runPruned lockfile now includes correct file header and line breaks between entries
You can now express package-specific tasks and implicit dependencies between tasks in
pipelinelike this:{ "turbo": { "pipeline": { "build": { "dependsOn": ["^build"] }, "test": { "dependsOn": ["build"] }, "deploy": { "dependsOn": ["test"] }, "frontend#deploy": { "dependsOn": ["ui#test", "backend#deploy", "backend#health-check"] } } } }In this example, we illustrate a
deployscript offrontendapplication depends on both thedeployandhealth-checkNPM scripts ofbackendas well as thetestscript of auipackage. The syntax is<package>#<task>.This seems like it goes against the
"test": { "dependsOn": ["build"] }and"deploy": { "dependsOn": ["test"] }, but it does not. Sincetestanddeployscripts do not have topological dependencies (e.g.^<task>), they theoretically can get triggered anytime once their own package'sbuildandtestscripts have finished!
Although this feature is extremely powerful, unless they are being used for applications/services for CI/CD orchestration, the general guidance is to get rid of these specific package-task to package-task dependencies in thepipeline(so theturbocan be schedule more optimally).Note: Package-tasks do not inherit cache configuration. You must redeclare
outputsat the moment.Fix regression with
--scopeflag on multi-cluster dependency graphsImproved lockfile parse performance.
turbonow will hash/cache the converted SYML in the cache folder for faster subsequent reads. This hash is not included in task hashes, it's just used for determining ifturboshould re-parse the SYML lockfile or not.turbo prunenow properly includes lockfile entries from root deps, devDeps, optionalDeps, and peerDeps. You should now safely be able to runyarn --frozen-lockfileinside of theoutdirectory.Performance improvements
- Deprecated
Deprecated
turbo graphwith an error message. This functionality has been moved intoturbo runbehind the--graphflag.
If Graphviz is installed, this flag will generate an file visualizing the current task graph.
The output file format can be controlled with the filename's extension if it is specified. If a filename is not specified,graph-<timestamp>.jpgis outputted. If Graphviz is not installed, this command prints the dot graph tostdout.turbo run build --graph turbo run build test lint --graph=my-graph.svg turbo run build test lint --graph=my-json-graph.json turbo run build test lint --graph=my-graph.pdf turbo run build test lint --graph=my-graph.png
Fixed regression with
--dockerflagjsondirectoryAdded back
--concurrencyflag from v0.3.x to limit task execution concurrency. The default is10.- Deprecated
Deprecated
--serialflag with a warning message. This will still work for now, but is simply equivalent to--concurrency=1. Adds back
turbo prunebehavior from v0.4.x (i.e.out/full,out/json, one sublockfile) via--dockerflag. This output
style is in fact optimal for Docker layer caching. However, the v0.5.x default is also useful when deploying to PaaS providers (e.g. Vercel). So now it can do both!Fixed regression when copying files and folders recursively
Breaking changes
- Breaking
turbo prunenow generates only one folder with all the source code in it (instead of 2). This makes the command more useful to people not using Docker. - Breaking
turbonow includespipeline.<task>.outputsin its hashing algorithm. Changing it should bust the cache. This is both more correct and also makes it easier to migrate toturbo(i.e. changing outputs yields different hashes meaning the cache is less likely to include unwanted stuff) - Breaking
Added internal
optionalDependenciesto hash algorithm - Breaking
Fixed regression where
turbo's hashing algorithm was not including the OS platform (e.g. darwin/linux/windows) in global hash calculation
Improvements
Replaying cached logs no longer blocks graph / task execution resulting in a massive perf improvement
Fixed incorrect CLI usage text for
turbo pruneImproved
turbo pruneerror messages and error message CLI outputTweak to
turboCLI installation and authenticationAlter install wrapper
Improved error messages
Tweak to
turboinstallation and authenticationFix cache outputs in pipelines to respect folders that start with dots
Tweaked
turboinstallation scriptFixed CLI panic caused by concurrent writes to log colorizer
turbonow properly handles long and shorthandworkspacesdeclarations inpackage.jsonFixed lockfile parsing when dependencies use string version names (e.g.
latest)Improved error handling and error messages
turbo runwill now throw an error if you attempt to run a target that doesn't exist in thepipeline.Added back ">>> FULL TURBO" indicator when 100% of results are cached.
Breaking changes
- Breaking
Logs are now output to
.turbodirectory instead ofturbodirectory. This moves the directory out of the middle of your package's source code. Update your.gitignoreaccordingly. - Breaking
Removed support for NPM and PNPM (although we can add these back later)
- Breaking
The
--concurrencyhas been removed. 9/10 times this was used to force serial execution with--concurrency=1.
Now you can just pass--serialto get this behavior. - Breaking
Turbo no longer includes the hash of the contents of the root lockfile in its hash algorithm.
Instead,turbonow hashes the set of the resolved versions of a package'sdependenciesanddevDependencies
based on the root lockfile. The old behavior would explode the cache whenever the root lockfile changed. With this new behavior,
changing the lockfile will only bust the cache for those package's impacted by the added/changed/removed dependencies. To get this to work, though, you must now specify alldependenciesanddevDependenciesin eachpackage.json. - Breaking
environmentGlobshave been renamed toglobalDependencies
What's New?
Completely rewritten from the ground up in Go!!
turbois now more than 10x faster.Added
prunecommand to allow outputting a pruned subset of your monorepo for a given project! Perfect
for Docker layer caching.Added a
graphcommand that will print a .dot graph to the console and/or output to a file
which you can view in Graphviz or onlineWe now validate your graph with more useful errors for cycles and multiple roots
Added
pipelinekey toturboinpackage.json. This allows users to control the task graph topology
and per-task options such asoutputs. Right now,pipelineexists at the project level,
but in later releases these will be overridable on per-package basis.// <root>/package.json { "turbo": { "pipeline": { "build": { // This `^` tells turbo that this pipeline target relies on a topological target being completed. // In english, this reads as: "this package's `build` command depends on its dependencies' or // devDependencies' `build` command being completed" "dependsOn": ["^build"] // You can now also specify outputs on a per-task basis. Logs will also be automatically // added to this, so you can omit them. "outputs": ["dist/**"] }, "test": { // Without a `^`, `dependsOn` can be used to express the relationships between tasks at the package level. // In English, this reads as: "this package's `test` command depends on its `build` command first being completed" "dependsOn": ["build"] }, "dev": {}, } } }
Migration Guide
- Breaking
Move your config from
turbo.jsonintopackage.jsonunder theturbokey. - Breaking
Add an object called
pipelinethat specifies the relationship of your project's tasks.turbocan now only run those tasks listed inpipelineobject. - Breaking
Replace usage of
--concurrency=1flags to just--serial - Breaking
Since
turbonow only hashes the resolved version of deps (and not the contents of the root lockfile), you need specify alldevDependenciesused by a package in the package itself. - Breaking
Fixed
turbo runoutput showing false error with 0 exit code - Breaking
Added
--continueflag toturbo run(defaults tofalse). This flag tellsturbowhether or not to continue with execution in the presence of an error (i.e. non-zero exit code from a task).
By default, specifying the--parallelflag will automatically set--continuetotrueunless explicitly set tofalse.
When--continueistrue,turbowill exit with the highest exit code value encountered during exection. - Breaking
Speed improvements
- Breaking
cacheStorageOptionsnow default tolocalso they can be omitted inturboconfiguration - Breaking
Changed docs to suggest using
package.jsonkeyturbofor configuration going forward. This will ease future migration to Go implementation. - Breaking
Fixed caching issue with Lerna due to
turbonot properly readingpackageslist fromlerna.jsonresulting innullhashes. - Breaking
Top-level
lintcommand now has specialized log treatment along withtestwhereturbowill now only cacheturbo/run-lint.log. - Breaking
Added documentation around caching ESLint by setting
TIMING=1 eslint ...
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.