Rollup 4.68.5
Rollup 4.68.5 is out. Released November 17, 2026. Two bug fixes and one maintenance commit. No API changes. No breaking changes.
What Changed
- Watch mode on Linux and Windows. Repeated updates to the same watched file in quick succession now rebuild with the freshest content instead of a stale read. Pull request #6637, from @privatenumber.
- JSX member expressions.
thisis now kept inside JSX member expressions such asthis.Component; the binding could previously be dropped in the transformed output. Pull request #6654. - Housekeeping. Renovate configuration migrated. Pull request #6667.
The watch mode fix is the practical one. Editors that save atomically, or anyone running save-on-keystroke, can emit several writes within milliseconds. A bundler that picks up an intermediate state produces a rebuild that looks fine and is not.
The Patch Chain It Closes
This release caps three patches in five days, and the other two fixed bugs that produced wrong output rather than errors.
- 4.68.4, November 16. Mutations of arguments to certain global methods are now respected during the analysis pass, and dynamic imports resolved by a plugin are handled the same way as regular dynamic imports.
- 4.68.3, November 13. Fixed generated code in non-ESM formats for assignments and exported declarations inside loops and single-statement bodies, and stopped making assumptions about array contents once
lengthhas been reassigned.
If you ship CommonJS, UMD or System format from code that assigns inside loops, 4.68.3 is the version that matters to you. Silent miscompiles do not announce themselves at build time.
How To Get It
Install directly with npm install -D [email protected], or let your package manager resolve it. Platform-specific native binaries still ship as optional dependencies, so a normal install picks up the correct one for your OS and architecture.
Vite users will receive it with the next Vite patch that bumps the dependency; nothing here requires a manual pin. After upgrading, run your watch-mode workflow once and confirm rebuilds fire cleanly on your platform, since that is the code path this release touches.