Skip to main content

Rollup 4.68.7

Release Date: November 18, 2026

Rollup 4.68.7, published November 18, 2026, reverts the fix that 4.68.6 shipped hours earlier. Let us not get carried away with the version bump: there is exactly one change in this release, and it removes the parse-error guard for deeply nested expressions because that guard broke bundling in other cases (PR #6671). If you already installed 4.68.6, upgrade. If you were waiting for a sign that the 4.68.x series has settled, this is not it.

What 4.68.6 Did, and Why It Came Back Out

Version 4.68.6, released the same day, made the parser fail the build with a parse error when it encountered deeply nested expressions, instead of letting the native stack overflow (PR #6669). That is a reasonable goal on paper. A JavaScript parser written in Rust does not get a friendly stack trace when it recurses too far on production code, and a native overflow can take the whole process down in ways that are hard to attribute.

The problem is that the guard fired where it should not have. The 4.68.7 changelog entry is blunt about it: the previous fix was "breaking bundling in certain cases" and is now reverted (PR #6671). No replacement guard was added, no opt-in flag, no new configuration. The behavior of 4.68.7 for deeply nested input is the same as 4.68.5.

The Churn Is the Real Signal

Look at the dates. 4.68.5 landed on November 17, 4.68.6 and 4.68.7 both on November 18. Three patch releases in two days, and the third undoes the second. This is the pattern of a maintainer responding quickly to a regression report, which is healthy, but it is also a warning: the 4.68.x line is moving fast and any given patch may be a partial step.

Pipelines that pin exact versions have nothing to fear from a revert. Pipelines that float on a caret range get whatever the last publish was, and this week the last publish changed twice inside a working day.

What to Watch

  • Deeply nested expressions remain a crash risk. The stack-overflow scenario that 4.68.6 tried to address is still present in 4.68.7. If your build consumes generated code with deep nesting, keep the input out of the parser or run the build in a process you can afford to restart.
  • Cache invalidation on upgrade. Rollup's npm dependencies include per-platform native binaries, so a version bump should be followed by a clean install of your lockfile. Reusing a node_modules directory across 4.68.6 and 4.68.7 can leave a mismatched binary in place.
  • Watch the next patch, not this one. A proper fix for nested expressions will need to distinguish input that is merely deep from input that is pathological, and that is where the previous attempt failed. Until an entry in the changelog says so, assume the behavior is unchanged.

How to Update

Run npm install [email protected], or let your package manager resolve the latest 4.68.x. There are no new deprecations, no configuration changes, and no API surface changes. The revert only restores the behavior of 4.68.5, so projects on that version gain nothing functional by moving up.

If you build on macOS with the native binding installed through an optional dependency, verify that the platform package version matches after upgrading. Version mismatches between rollup and its platform binary are the most common cause of confusing parse errors after a patch bump.

Other Versions

We use cookies for ads and analytics.