---
title: "rollup 4.68.2 Breaking Changes on npm | Since.dev"
description: "What each rollup release removed, renamed or changed: 689 breaking changes in 68 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/rollup
last_updated: 2026-12-04
---

# rollup breaking changes

rollup 4.68.2 (November 9, 2026) is its newest release with breaking changes. The first: Build now fails when output file names use Windows drive-relative paths in rollup 4.68.2. Every breaking API change we have recorded in rollup on npm: 689 breaking changes in 68 versions. Below, its 68 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.70.0`, released December 4, 2026. [Source repository](https://github.com/rollup/rollup)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [3.0.0](#v-3-0-0) to [4.68.2](#v-4-68-2): 298 breaking changes in 29 versions.
- From [0.4.0](#v-0-4-0) to [4.68.2](#v-4-68-2): 688 breaking changes in 67 versions.

## rollup 4.68.2 breaking changes

rollup 4.68.2, released November 9, 2026: 1 breaking change.

- **Behavior changed**  

Generated file names that would write outside the target directory via Windows drive-relative paths now cause the build to fail. Check output file names that use such paths. [github.com](https://github.com/rollup/rollup/releases/tag/v4.68.2)

## rollup 4.68.1 breaking changes

rollup 4.68.1, released November 9, 2026: 1 breaking change.

- **Behavior changed**  

Rollup now warns about deleting or reassigning namespace members, and those operations become catchable runtime errors. Check code that relied on the previous behavior. [github.com](https://github.com/rollup/rollup/releases/tag/v4.68.1)

## rollup 4.68.0 breaking changes

rollup 4.68.0, released November 6, 2026: 1 breaking change.

- **Behavior changed**  

Dynamic chunks from index.js files get their directory name instead of "index" in the output filename. Code or tooling that depends on the old chunk filenames must be updated. [github.com](https://github.com/rollup/rollup/releases/tag/v4.68.0)

## rollup 4.67.5 breaking changes

rollup 4.67.5, released November 4, 2026: 2 breaking changes.

- **Behavior changed**  

Output chunk hashes, and therefore output filenames, now change when debug IDs are turned on or off, so any code or caches that reference hashed filenames may need updating. [github.com](https://github.com/rollup/rollup/releases/tag/v4.67.5)
- **Behavior changed** `output.sourcemapFile`  

Previously output.sourcemapFile was ignored when output.file was not used; it is now applied, so builds that set it may produce different sourcemap output. [github.com](https://github.com/rollup/rollup/releases/tag/v4.67.5)

## rollup 4.66.0 breaking changes

rollup 4.66.0, released October 28, 2026: 5 breaking changes.

- **Signature changed** `ExistingDecodedSourceMap.sources`  

Was sources: string\[\]; now sources: (string | null)\[\]. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.66.0)
- **Signature changed** `ExistingDecodedSourceMap.sourcesContent`  

Was sourcesContent?: string\[\] | undefined; now sourcesContent?: (string | null)\[\] | undefined. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.66.0)
- **Signature changed** `ExistingRawSourceMap.sources`  

Was sources: string\[\]; now sources: (string | null)\[\]. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.66.0)
- **Signature changed** `ExistingRawSourceMap.sourcesContent`  

Was sourcesContent?: string\[\] | undefined; now sourcesContent?: (string | null)\[\] | undefined. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.66.0)
- **Signature changed** `SourceMapInput`  

Was type SourceMapInput = ExistingRawSourceMap | string | null | {mappings: ''}; now type SourceMapInput = ExistingRawSourceMap | IndexSourceMap | string | null | {mappings: ''}. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.66.0)

## rollup 4.62.3 breaking changes

rollup 4.62.3, released July 26, 2026: 6 breaking changes.

- **Signature changed** `BufferEncoding`  

Was type BufferEncoding = | 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'base64' | 'base64url' | 'latin1' | 'binary' | 'hex'; now type BufferEncoding = 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'base64' | 'base64url' | 'latin1' | 'binary' |... [npmjs.com](https://www.npmjs.com/package/rollup/v/4.62.3)
- **Signature changed** `NormalizedJsxOptions`  

Was type NormalizedJsxOptions = | NormalizedJsxPreserveOptions | NormalizedJsxClassicOptions | NormalizedJsxAutomaticOptions; now type NormalizedJsxOptions = NormalizedJsxPreserveOptions | NormalizedJsxClassicOptions |... [npmjs.com](https://www.npmjs.com/package/rollup/v/4.62.3)
- **Signature changed** `OmittedEstreeKeys`  

Was type OmittedEstreeKeys = | 'loc' | 'range' | 'leadingComments' | 'trailingComments' | 'innerComments' | 'comments'; now type OmittedEstreeKeys = 'loc' | 'range' | 'leadingComments' | 'trailingComments' | 'innerComments' | 'comments'. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.62.3)
- **Signature changed** `SourceMap.file`  

Was file: string; now file?: string | undefined. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.62.3)
- **Signature changed** `SourceMap.sourcesContent`  

Was sourcesContent?: string\[\] | undefined; now sourcesContent?: (string | null)\[\] | undefined. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.62.3)
- **Signature changed** `SourceMapSegment`  

Was type SourceMapSegment = | \[number\] | \[number, number, number, number\] | \[number, number, number, number, number\]; now type SourceMapSegment = \[number\] | \[number, number, number, number\] | \[number, number, number, number, number\]. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.62.3)

## Older versions

62 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### rollup 4.62.0 breaking changes

rollup 4.62.0, released June 13, 2026: 1 breaking change.

- **Behavior changed**  

Static dependencies imported by manual chunks are extracted into separate chunks, which changes the generated output file layout. Check any code that depends on the exact chunk file names or structure. [github.com](https://github.com/rollup/rollup/releases/tag/v4.62.0)

### rollup 4.59.0 breaking changes

rollup 4.59.0, released February 22, 2026: 1 breaking change.

- **Behavior changed**  

Builds whose generated bundle contains paths outside the output directory now fail with an error. Check that your output file names and paths stay inside the output directory. [github.com](https://github.com/rollup/rollup/releases/tag/v4.59.0)

### rollup 4.57.0 breaking changes

rollup 4.57.0, released January 27, 2026: 10 breaking changes.

- **Signature changed** `FunctionPluginHooks.renderDynamicImport`  

Was renderDynamicImport: (this: PluginContext, options: {customResolution: string | null; format: InternalModuleFormat; moduleId: string; targetModuleId: string | null; chunk: PreRenderedChunkWithFileName; targetChunk... [npmjs.com](https://www.npmjs.com/package/rollup/v/4.57.0)
- **Signature changed** `LoadHook`  

Was type LoadHook = (this: PluginContext, id: string) => LoadResult; now type LoadHook = (this: PluginContext, id: string, options?: | {ssr?: boolean | undefined; attributes?: Record\<string, string>;} | undefined) => LoadResult. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.57.0)

And 8 more in this version.

### rollup 4.47.0 breaking changes

rollup 4.47.0, released August 21, 2025: 163 breaking changes.

- **Signature changed** `AmdOptions`  

Was type AmdOptions = (| {autoId?: false; id: string;} | {autoId: true; basePath?: string; id?: undefined;} | {autoId?: false; id?: undefined;}) & {define?: string; forceJsExtensionForImports?: boolean;}; now type AmdOptions = (| {autoId?... [npmjs.com](https://www.npmjs.com/package/rollup/v/4.47.0)
- **Signature changed** `ChokidarOptions.alwaysStat`  

Was alwaysStat?: boolean; now alwaysStat?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.47.0)

And 161 more in this version.

### rollup 4.45.0 breaking changes

rollup 4.45.0, released July 12, 2025: 1 breaking change.

- **Behavior changed**  

In environments that support both CJS and ESM, Rollup now loads its ESM build instead of the CJS build. Code that depends on the CJS build may behave differently. [github.com](https://github.com/rollup/rollup/releases/tag/v4.45.0)

### rollup 4.40.2 breaking changes

rollup 4.40.2, released May 6, 2025: 1 breaking change.

- **Behavior changed**  

Watch mode now throws an error when an output file is watched. Configs that watch an output subpath as input must be changed. [github.com](https://github.com/rollup/rollup/releases/tag/v4.40.2)

### rollup 4.40.0 breaking changes

rollup 4.40.0, released April 12, 2025: 1 breaking change.

- **Behavior changed** `transform`  

When several transform hook filter options are given, all of them must be satisfied together. Check transform filters that combine several options. [github.com](https://github.com/rollup/rollup/releases/tag/v4.40.0)

### rollup 4.39.0 breaking changes

rollup 4.39.0, released April 2, 2025: 1 breaking change.

- **Signature changed** `HookFilterExtension`  

Was type HookFilterExtension\<K extends keyof FunctionPluginHooks> = K extends 'transform' ? {filter?: HookFilter} : K extends 'load' ? {filter?: Pick\<HookFilter, 'id'>} : K extends 'resolveId' ? {filter?: {id: StringFilter\<RegExp>}} : {}... [npmjs.com](https://www.npmjs.com/package/rollup/v/4.39.0)

### rollup 4.38.0 breaking changes

rollup 4.38.0, released March 29, 2025: 1 breaking change.

- **Signature changed** `PluginHooks`  

Was type PluginHooks = {\[K in keyof FunctionPluginHooks\]: ObjectHook\<K extends AsyncPluginHooks ? MakeAsync\<FunctionPluginHooks\[K\]> : FunctionPluginHooks\[K\], K extends ParallelPluginHooks ? {sequential?: boolean} : {}>;}; now type... [npmjs.com](https://www.npmjs.com/package/rollup/v/4.38.0)

### rollup 4.36.0 breaking changes

rollup 4.36.0, released March 17, 2025: 2 breaking changes.

- **Signature changed** `FunctionPluginHooks.renderDynamicImport`  

Was renderDynamicImport: (this: PluginContext, options: {customResolution: string | null; format: InternalModuleFormat; moduleId: string; targetModuleId: string | null;}) => {left: string; right: string} | NullValue; now... [npmjs.com](https://www.npmjs.com/package/rollup/v/4.36.0)
- **Signature changed** `PluginHooks.renderDynamicImport`  

Was renderDynamicImport: (this: PluginContext, options: {customResolution: string | null; format: InternalModuleFormat; moduleId: string; targetModuleId: string | null;}) => {left: string; right: string} | NullValue; now... [npmjs.com](https://www.npmjs.com/package/rollup/v/4.36.0)

### rollup 4.35.0 breaking changes

rollup 4.35.0, released March 8, 2025: 3 breaking changes.

- **Signature changed** `FunctionPluginHooks.closeBundle`  

Was closeBundle: (this: PluginContext) => void; now closeBundle: (this: PluginContext, error?: Error) => void. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.35.0)
- **Signature changed** `Plugin.closeBundle`  

Was closeBundle: (this: PluginContext) => void; now closeBundle: (this: PluginContext, error?: Error) => void. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.35.0)

And 1 more in this version.

### rollup 4.34.9 breaking changes

rollup 4.34.9, released March 1, 2025: 1 breaking change.

- **Signature changed** `CustomPluginOptions`  

Was type CustomPluginOptions = Record\<string, any>; now interface CustomPluginOptions. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.34.9)

### rollup 4.27.0 breaking changes

rollup 4.27.0, released November 15, 2024: 1 breaking change.

- **Behavior changed**  

Generated chunk and asset hashes are now capped at 21 characters, so output file names that include hashes will change. Update any code or config that depends on the old hash names. [github.com](https://github.com/rollup/rollup/releases/tag/v4.27.0)

### rollup 4.24.4 breaking changes

rollup 4.24.4, released November 4, 2024: 1 breaking change.

- **Signature changed** `OutputPlugin`  

Was interface OutputPlugin extends Partial<{\[K in OutputPluginHooks\]: PluginHooks\[K\]}>, Partial<{\[K in AddonHooks\]: ObjectHook\<AddonHook>}>; now interface OutputPlugin extends Partial<{\[K in OutputPluginHooks\]: PluginHooks\[K\]}>... [npmjs.com](https://www.npmjs.com/package/rollup/v/4.24.4)

### rollup 4.24.0 breaking changes

rollup 4.24.0, released October 2, 2024: 2 breaking changes.

- **Signature changed** `ParseAst`  

Was type ParseAst = (input: string, options?: {allowReturnOutsideFunction?: boolean}) => ProgramNode; now type ParseAst = (input: string, options?: {allowReturnOutsideFunction?: boolean; jsx?: boolean}) => ProgramNode. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.24.0)
- **Signature changed** `ParseAstAsync`  

Was type ParseAstAsync = (input: string, options?: {allowReturnOutsideFunction?: boolean; signal?: AbortSignal}) => Promise\<ProgramNode>; now type ParseAstAsync = (input: string, options?: {allowReturnOutsideFunction?: boolean; jsx?... [npmjs.com](https://www.npmjs.com/package/rollup/v/4.24.0)

### rollup 4.21.1 breaking changes

rollup 4.21.1, released August 26, 2024: 19 breaking changes.

- **Removed** `CustomPluginOptions.__index`  

CustomPluginOptions.\_\_index was removed in rollup 4.21.1 [npmjs.com](https://www.npmjs.com/package/rollup/v/4.21.1)
- **Removed** `OutputBundle.__index`  

OutputBundle.\_\_index was removed in rollup 4.21.1 [npmjs.com](https://www.npmjs.com/package/rollup/v/4.21.1)

And 17 more in this version.

### rollup 4.19.0 breaking changes

rollup 4.19.0, released July 20, 2024: 2 breaking changes.

- **Signature changed** `AstNode`  

Was type AstNode = RollupAstNode\<EstreeNode>; now type AstNode = RollupAstNode\<estree.Node>. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.19.0)
- **Signature changed** `ProgramNode`  

Was type ProgramNode = RollupAstNode\<Program>; now type ProgramNode = RollupAstNode\<estree.Program>. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.19.0)

### rollup 4.16.4 breaking changes

rollup 4.16.4, released April 23, 2024: 1 breaking change.

- **Behavior changed**  

The parameter tracking logic introduced in 4.16.0 is reverted to fix remaining issues. Code relying on the 4.16.0 behavior may see tree-shaking output change. [github.com](https://github.com/rollup/rollup/releases/tag/v4.16.4)

### rollup 4.12.0 breaking changes

rollup 4.12.0, released February 16, 2024: 3 breaking changes.

- **Removed** `AstNode.type`  

AstNode.type was removed in rollup 4.12.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/4.12.0)
- **Signature changed** `AstNode`  

Was interface AstNode; now type AstNode = RollupAstNode\<EstreeNode>. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.12.0)

And 1 more in this version.

### rollup 4.11.0 breaking changes

rollup 4.11.0, released February 15, 2024: 1 breaking change.

- **Behavior changed** `const`  

Rollup now throws when code reassigns a const variable. Code that reassigns a const must be changed to use let or a new binding. [github.com](https://github.com/rollup/rollup/releases/tag/v4.11.0)

### rollup 4.9.3 breaking changes

rollup 4.9.3, released January 5, 2024: 7 breaking changes.

- **Signature changed** `ModuleInfo.ast`  

Was ast: AstNode | null; now ast: ProgramNode | null. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.9.3)
- **Signature changed** `ModuleJSON.ast`  

Was ast: AstNode; now ast: ProgramNode. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.9.3)

And 5 more in this version.

### rollup 4.1.0 breaking changes

rollup 4.1.0, released October 14, 2023: 3 breaking changes.

- **Signature changed** `ExistingDecodedSourceMap.sourcesContent`  

Was sourcesContent?: (string | null)\[\]; now sourcesContent?: string\[\]. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.1.0)
- **Signature changed** `ExistingRawSourceMap.sourcesContent`  

Was sourcesContent?: (string | null)\[\]; now sourcesContent?: string\[\]. [npmjs.com](https://www.npmjs.com/package/rollup/v/4.1.0)

And 1 more in this version.

### rollup 4.0.0 breaking changes

rollup 4.0.0, released October 5, 2023: 56 breaking changes.

- **Removed**  

The minimal required Node version is now 18.0.0. [github.com](https://github.com/rollup/rollup/releases/tag/v4.0.0)
- **Removed** `acorn`  

The acorn option has been removed. Remove it from your configuration. [github.com](https://github.com/rollup/rollup/releases/tag/v4.0.0)

And 54 more in this version.

### rollup 3.0.0 breaking changes

rollup 3.0.0, released October 11, 2022: 108 breaking changes.

- **Removed** `[ext]`  

The \[ext\], \[extName\] and \[assetExtName\] placeholders are no longer supported when preserving modules. [github.com](https://github.com/rollup/rollup/releases/tag/v3.0.0)
- **Removed** `EmitAsset`  

EmitAsset was removed in rollup 3.0.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/3.0.0)

And 106 more in this version.

### rollup 2.0.0 breaking changes

rollup 2.0.0, released March 6, 2020: 45 breaking changes.

- **Removed** `InputOptions.chunkGroupingSize`  

The option has been removed; remove it from configuration. [npmjs.com](https://www.npmjs.com/package/rollup/v/2.0.0)
- **Removed** `InputOptions.experimentalOptimizeChunks`  

The option has been removed and no longer has any effect; remove it from configuration. [npmjs.com](https://www.npmjs.com/package/rollup/v/2.0.0)

And 43 more in this version.

### rollup 1.0.0 breaking changes

rollup 1.0.0, released December 28, 2018: 63 breaking changes.

- **Removed** `experimentalDynamicImport`  

Dynamic import is now always active, so the experimentalDynamicImport option is gone. [github.com](https://github.com/rollup/rollup/blob/v1.0.0/CHANGELOG.md)
- **Removed** `InputOptions.entry`  

The entry option is now input. [npmjs.com](https://www.npmjs.com/package/rollup/v/1.0.0)

And 61 more in this version.

### rollup 0.68.0 breaking changes

rollup 0.68.0, released December 16, 2018: 2 breaking changes.

- **Removed** `InputOptions.experimentalDynamicImport`  

InputOptions.experimentalDynamicImport was removed in rollup 0.68.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/0.68.0)
- **Removed** `InputOptions.optimizeChunks`  

InputOptions.optimizeChunks was removed in rollup 0.68.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/0.68.0)

### rollup 0.67.0 breaking changes

rollup 0.67.0, released November 4, 2018: 3 breaking changes.

- **Behavior changed**  

Rollup no longer passes external dynamic imports through plugin resolution. Plugins that relied on resolving them must handle them differently. [github.com](https://github.com/rollup/rollup/blob/v0.67.0/CHANGELOG.md)
- **Signature changed** `ExistingRawSourceMap.file`  

Was file: string; now file?: string. [npmjs.com](https://www.npmjs.com/package/rollup/v/0.67.0)

And 1 more in this version.

### rollup 0.65.0 breaking changes

rollup 0.65.0, released August 25, 2018: 18 breaking changes.

- **Removed** `Asset.dependencies`  

Asset.dependencies was removed in rollup 0.65.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/0.65.0)
- **Removed** `Asset.transform`  

Asset.transform was removed in rollup 0.65.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/0.65.0)

And 16 more in this version.

### rollup 0.64.0 breaking changes

rollup 0.64.0, released August 7, 2018: 3 breaking changes.

- **Behavior changed**  

Rollup now raises an error when external import ids collide, which can make builds that previously succeeded fail. Rename or disambiguate colliding external imports. [github.com](https://github.com/rollup/rollup/blob/v0.64.0/CHANGELOG.md)
- **Behavior changed**  

Manual chunks that end up empty are no longer dropped, so build output may contain extra chunk files. Check any setup that depends on empty chunks being removed. [github.com](https://github.com/rollup/rollup/blob/v0.64.0/CHANGELOG.md)

And 1 more in this version.

### rollup 0.63.0 breaking changes

rollup 0.63.0, released July 17, 2018: 2 breaking changes.

- **Signature changed** `InputOptions.inlineDynamicImports`  

Was inlineDynamicImports?: boolean; now inlineDynamicImports: boolean. [npmjs.com](https://www.npmjs.com/package/rollup/v/0.63.0)
- **Signature changed** `ModuleFormat`  

Was type ModuleFormat = 'amd' | 'cjs' | 'system' | 'es' | 'es6' | 'iife' | 'umd'; now type ModuleFormat = 'amd' | 'cjs' | 'system' | 'es' | 'esm' | 'es6' | 'iife' | 'umd'. [npmjs.com](https://www.npmjs.com/package/rollup/v/0.63.0)

### rollup 0.62.0 breaking changes

rollup 0.62.0, released June 27, 2018: 20 breaking changes.

- **Removed** `MissingExportHook`  

MissingExportHook was removed in rollup 0.62.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/0.62.0)
- **Removed** `Plugin.missingExport`  

Plugin.missingExport was removed in rollup 0.62.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/0.62.0)

And 18 more in this version.

### rollup 0.61.0 breaking changes

rollup 0.61.0, released June 20, 2018: 1 breaking change.

- **Signature changed** `SerializedTimings`  

Was type SerializedTimings = {\[label: string\]: number}; now interface SerializedTimings. [npmjs.com](https://www.npmjs.com/package/rollup/v/0.61.0)

### rollup 0.60.0 breaking changes

rollup 0.60.0, released June 6, 2018: 30 breaking changes.

- **Removed** `Bundle`  

Bundle was removed in rollup 0.60.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/0.60.0)
- **Removed** `BundleSet`  

BundleSet was removed in rollup 0.60.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/0.60.0)

And 28 more in this version.

### rollup 0.59.0 breaking changes

rollup 0.59.0, released May 15, 2018: 1 breaking change.

- **Behavior changed**  

When code-splitting, empty chunks are no longer emitted, and when preserving modules, empty files are no longer emitted. Code that expects these output files to exist must be updated. [github.com](https://github.com/rollup/rollup/blob/v0.59.0/CHANGELOG.md)

### rollup 0.58.0 breaking changes

rollup 0.58.0, released April 16, 2018: 17 breaking changes.

- **Removed** `CachedChunk`  

CachedChunk was removed in rollup 0.58.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/0.58.0)
- **Removed** `CachedChunkSet`  

CachedChunkSet was removed in rollup 0.58.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/0.58.0)

And 15 more in this version.

### rollup 0.57.0 breaking changes

rollup 0.57.0, released March 15, 2018: 8 breaking changes.

- **Removed** `InputOptions.cache.modules`  

InputOptions.cache.modules was removed in rollup 0.57.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/0.57.0)
- **Removed** `RollupWatchOptions.cache.modules`  

RollupWatchOptions.cache.modules was removed in rollup 0.57.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/0.57.0)

And 6 more in this version.

### rollup 0.56.0 breaking changes

rollup 0.56.0, released February 15, 2018: 1 breaking change.

- **Signature changed** `TransformHook`  

Was type TransformHook = (code: string, id: String) => Promise\<SourceDescription | string | void>; now type TransformHook = (this: TransformContext, code: string, id: String) => Promise\<SourceDescription | string | void>. [npmjs.com](https://www.npmjs.com/package/rollup/v/0.56.0)

### rollup 0.55.0 breaking changes

rollup 0.55.0, released January 23, 2018: 33 breaking changes.

- **Removed** `InputAndOutputOptions`  

InputAndOutputOptions was removed in rollup 0.55.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/0.55.0)
- **Removed** `RollupWatchOptions.amd`  

RollupWatchOptions.amd was removed in rollup 0.55.0 [npmjs.com](https://www.npmjs.com/package/rollup/v/0.55.0)

And 31 more in this version.

### rollup 0.54.0 breaking changes

rollup 0.54.0, released January 12, 2018: 1 breaking change.

- **Behavior changed**  

Locally resolvable dynamic imports are now inlined into the bundle instead of being kept as separate chunks or import calls. Check bundles that relied on the old dynamic import output. [github.com](https://github.com/rollup/rollup/blob/v0.54.0/CHANGELOG.md)

### rollup 0.49.0 breaking changes

rollup 0.49.0, released August 27, 2017: 1 breaking change.

- **Behavior changed**  

The release replaces the tree-shaking algorithm, so the bundled output may differ from earlier versions. Check bundle contents and side-effect behavior after upgrading. [github.com](https://github.com/rollup/rollup/blob/v0.49.0/CHANGELOG.md)

### rollup 0.48.0 breaking changes

rollup 0.48.0, released August 20, 2017: 1 breaking change.

- **Configuration changed**  

The options object and CLI arguments changed in numerous ways; check the linked gist for a rundown and update your configuration and command-line usage accordingly. [github.com](https://github.com/rollup/rollup/blob/v0.48.0/CHANGELOG.md)

### rollup 0.46.0 breaking changes

rollup 0.46.0, released August 11, 2017: 3 breaking changes.

- **Behavior changed** `onwarn`  

The onwarn function receives the default handler as its second argument, which can be used for filtering; existing code is not broken by this addition. [github.com](https://github.com/rollup/rollup/blob/v0.46.0/CHANGELOG.md)
- **Behavior changed** `options.format`  

Setting options.format to 'es6' now throws an error, so change it to 'es'. [github.com](https://github.com/rollup/rollup/blob/v0.46.0/CHANGELOG.md)

And 1 more in this version.

### rollup 0.45.0 breaking changes

rollup 0.45.0, released July 10, 2017: 1 breaking change.

- **Signature changed** `bundle.generate`  

bundle.generate(...) now returns a Promise instead of a synchronous result, so callers must await it or use .then() to get the output. [github.com](https://github.com/rollup/rollup/blob/v0.45.0/CHANGELOG.md)

### rollup 0.44.0 breaking changes

rollup 0.44.0, released July 10, 2017: 1 breaking change.

- **Behavior changed** `options.extend`  

Rollup no longer extends existing global variables by default. Set options.extend to true to keep the previous behavior. [github.com](https://github.com/rollup/rollup/blob/v0.44.0/CHANGELOG.md)

### rollup 0.40.0 breaking changes

rollup 0.40.0, released January 3, 2017: 1 breaking change.

- **Behavior changed**  

Rollup now formats and logs errors differently. Code that parses or matches the previous error output may need updating. [github.com](https://github.com/rollup/rollup/blob/v0.40.0/CHANGELOG.md)

### rollup 0.39.0 breaking changes

rollup 0.39.0, released December 29, 2016: 1 breaking change.

- **Behavior changed**  

Rollup warnings are passed as objects rather than strings, so code that treats a warning as a string must read its message property instead. [github.com](https://github.com/rollup/rollup/blob/v0.39.0/CHANGELOG.md)

### rollup 0.38.0 breaking changes

rollup 0.38.0, released December 22, 2016: 1 breaking change.

- **Behavior changed** `export { foo as default }`  

Re-exporting a variable as the default export now creates a live binding, so later changes to the variable are visible to importers. Check code that relied on the previous snapshot behavior. [github.com](https://github.com/rollup/rollup/blob/v0.38.0/CHANGELOG.md)

### rollup 0.37.0 breaking changes

rollup 0.37.0, released December 12, 2016: 1 breaking change.

- **Behavior changed**  

Namespace objects created by reification no longer contain the default export. Code relying on the default export appearing in a namespace object must import it directly instead. [github.com](https://github.com/rollup/rollup/blob/v0.37.0/CHANGELOG.md)

### rollup 0.36.0 breaking changes

rollup 0.36.0, released September 18, 2016: 1 breaking change.

- **Behavior changed**  

Using export { foo as default } no longer creates a live binding, so importers no longer see later changes to foo. Code that relies on live updates must be changed. [github.com](https://github.com/rollup/rollup/blob/v0.36.0/CHANGELOG.md)

### rollup 0.34.0 breaking changes

rollup 0.34.0, released July 10, 2016: 1 breaking change.

- **Behavior changed**  

External modules imported by relative path are now matched by their resolved ID, which can change which imports count as external and how options.globals applies to them. Check your external and globals configuration. [github.com](https://github.com/rollup/rollup/blob/v0.34.0/CHANGELOG.md)

### rollup 0.31.0 breaking changes

rollup 0.31.0, released June 10, 2016: 1 breaking change.

- **Behavior changed**  

Top-level \`this\` in bundled code is replaced with \`undefined\`, so code that relied on \`this\` referring to something else at the top level will behave differently. [github.com](https://github.com/rollup/rollup/blob/v0.31.0/CHANGELOG.md)

### rollup 0.24.0 breaking changes

rollup 0.24.0, released January 3, 2016: 1 breaking change.

- **Behavior changed** `options.external`  

Rollup now uses the options.external IDs exactly as written instead of trying to resolve them first. Check that each external entry matches the import ID your code uses. [github.com](https://github.com/rollup/rollup/blob/v0.24.0/CHANGELOG.md)

### rollup 0.20.0 breaking changes

rollup 0.20.0, released October 25, 2015: 6 breaking changes.

- **Removed** `options.external`  

The external option is no longer supported; handle externals with a plugin instead. [github.com](https://github.com/rollup/rollup/blob/v0.20.0/CHANGELOG.md)
- **Removed** `options.load`  

The load option is no longer supported; handle loading with a plugin instead. [github.com](https://github.com/rollup/rollup/blob/v0.20.0/CHANGELOG.md)

And 4 more in this version.

### rollup 0.19.0 breaking changes

rollup 0.19.0, released October 10, 2015: 1 breaking change.

- **Behavior changed** `options.transform`  

The transform option is no longer passed through to custom loaders. Loaders should only provide source code, since transformation now always takes place. [github.com](https://github.com/rollup/rollup/blob/v0.19.0/CHANGELOG.md)

### rollup 0.13.0 breaking changes

rollup 0.13.0, released August 13, 2015: 1 breaking change.

- **Behavior changed**  

Rollup now strips sourcemap comments that already exist in the input code. Check any tooling that relied on those comments being kept. [github.com](https://github.com/rich-harris/rollup/blob/v0.13.0/CHANGELOG.md)

### rollup 0.10.0 breaking changes

rollup 0.10.0, released July 11, 2015: 2 breaking changes.

- **Behavior changed**  

Modules are now sorted as whole units rather than statement by statement, which can change the order of code in the bundle output. [github.com](https://github.com/rich-harris/rollup/blob/v0.10.0/CHANGELOG.md)
- **Behavior changed**  

IIFEs no longer count when deciding whether a dependency is strong or weak, which can change the order of modules in the bundle. [github.com](https://github.com/rich-harris/rollup/blob/v0.10.0/CHANGELOG.md)

### rollup 0.9.0 breaking changes

rollup 0.9.0, released July 10, 2015: 1 breaking change.

- **Renamed** `resolvePath`  

The resolvePath option is now called resolveId. The returned id is passed to load, which can be overridden for all modules including the entry module. [github.com](https://github.com/rich-harris/rollup/blob/v0.9.0/CHANGELOG.md)

### rollup 0.8.0 breaking changes

rollup 0.8.0, released June 16, 2015: 2 breaking changes.

- **Behavior changed**  

A top-level \`this\` in bundled code now evaluates to \`undefined\`. Code that relied on the previous value of \`this\` at the top level must change. [github.com](https://github.com/rich-harris/rollup/blob/v0.8.0/CHANGELOG.md)
- **Behavior changed**  

Top-level variable declarations with multiple declarators are now split up, which changes the generated bundle output. Check bundles that depend on the previous statement layout. [github.com](https://github.com/rich-harris/rollup/blob/v0.8.0/CHANGELOG.md)

### rollup 0.7.0 breaking changes

rollup 0.7.0, released May 30, 2015: 2 breaking changes.

- **Behavior changed**  

The IIFE bundle's global is attached to this rather than window. Code that reads the global from window must be updated. [github.com](https://github.com/rich-harris/rollup/blob/v0.7.0/CHANGELOG.md)
- **Behavior changed** `moduleName`  

Rollup now throws if moduleName is required for UMD exports but not provided. Pass a moduleName in your configuration when building UMD output. [github.com](https://github.com/rich-harris/rollup/blob/v0.7.0/CHANGELOG.md)

### rollup 0.6.0 breaking changes

rollup 0.6.0, released May 26, 2015: 4 breaking changes.

- **Behavior changed**  

Non-relative imports are now resolved by looking for jsnext:main in package.json files. This can be overridden with a resolveExternal function. [github.com](https://github.com/rich-harris/rollup/blob/v0.6.0/CHANGELOG.md)
- **Behavior changed** `options.external`  

External modules must now be listed in options.external before bundling. Code that relied on implicit externals must declare them. [github.com](https://github.com/rich-harris/rollup/blob/v0.6.0/CHANGELOG.md)

And 2 more in this version.

### rollup 0.4.0 breaking changes

rollup 0.4.0, released May 22, 2015: 1 breaking change.

- **Behavior changed**  

Statements in the bundled output keep their original order where possible, so the output ordering may differ from earlier versions. [github.com](https://github.com/rich-harris/rollup/blob/v0.4.0/CHANGELOG.md)

## Related packages

- [@rollup/rollup-linux-x64-gnu](https://since.dev/packages/npm/@rollup/rollup-linux-x64-gnu.md)
- [@rollup/rollup-linux-arm64-musl](https://since.dev/packages/npm/@rollup/rollup-linux-arm64-musl.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
