Skip to content

Upgrading rollup 0.64 to 0.65

Unknown0.64.1 → 0.65.2

UnknownUpgrade verdict

None of the 3 releases in this range publish notes, so breaking changes can't be ruled out.

  • Some releases in this range publish no notes, so DepDelta can't rule out breaking changes.
  • Their commits are listed with this comparison.
Unknown for releases without notes

Releases without notes may still need changes. Check their commits before upgrading.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • removed: method PluginContext.emitAsset(name: string, dependencies: string[], source?: string | Buffer): string
  • removed: property Asset.dependencies: string[]
  • removed: property Asset.transform: boolean
  • removed: property OutputChunk.exports: string[]
  • removed: property OutputChunk.imports: string[]
  • removed: property OutputChunk.modules: { [id: string]: RenderedModule }
  • removed: property RollupCache.assetDependencies: string[]
  • removed: type TransformChunkHookBound = (this: PluginContext, code: string, options: OutputOptions, chunk: OutputChunk) => | Promise<{ code: string; map: RawSourceMap } | void> | { code: string; map:…
  • changed: interface OutputChunk → interface OutputChunk extends RenderedChunk
  • changed: property InputOptions.cache?: { modules: ModuleJSON[] } → property InputOptions.cache?: false | RollupCache
  • changed: property ModuleJSON.transformDependencies: string[] → property ModuleJSON.transformDependencies: string[] | null
  • changed: property RollupCache.modules: ModuleJSON[] → property RollupCache.modules?: ModuleJSON[]
  • changed: type IsExternal = (id: string, parentId: string, isResolved: boolean) => Promise<boolean | void> | boolean | void → type IsExternal = (id: string, parentId: string, isResolved: boolean) => boolean | void
  • changed: type TransformChunkHook = (code: string, options: OutputOptions, chunk: OutputChunk) => | Promise<{ code: string; map: RawSourceMap } | void> | { code: string; map: RawSourceMap } | voi… → type TransformChunkHook = (this: PluginContext, code: string, options: OutputOptions) => | Promise<{ code: string; map: RawSourceMap } | void> | { code: string; map: RawSourceMap } | vo…
  • added: index SerializablePluginCache[key: string]: [number, any]
  • added: interface PluginCache
  • added: interface PluginContextMeta
  • added: interface RenderedChunk
  • added: interface SerializablePluginCache
  • added: method PluginCache.delete(id: string): boolean
  • added: method PluginCache.get<T = any>(id: string): T
  • added: method PluginCache.has(id: string): boolean
  • added: method PluginCache.set<T = any>(id: string, value: T): void
  • added: property InputOptions.experimentalCacheExpiry?: number
  • added: property ModuleJSON.customTransformCache: boolean
  • added: property Plugin.cacheKey?: string
  • added: property Plugin.renderChunk?: RenderChunkHook
  • added: property Plugin.watchChange?: (id: string) => void
  • added: property PluginContext.addWatchFile: (id: string) => void
  • added: property PluginContext.cache: PluginCache
  • added: property PluginContext.meta: PluginContextMeta
  • added: property PluginContextMeta.rollupVersion: string
  • added: property RenderedChunk.exports: string[]
  • added: property RenderedChunk.fileName: string
  • added: property RenderedChunk.imports: string[]
  • added: property RenderedChunk.isEntry: boolean
  • added: property RenderedChunk.modules: { [id: string]: RenderedModule }
  • added: property RollupBuild.watchFiles: string[]
  • added: property RollupCache.plugins?: Record<string, SerializablePluginCache>
  • added: property RollupError.hook?: string
  • added: property RollupSingleFileBuild.watchFiles: string[]
  • added: property RollupWarning.hook?: string
  • added: type RenderChunkHook = (this: PluginContext, code: string, chunk: RenderedChunk, options: OutputOptions) => | Promise<{ code: string; map: RawSourceMap } | void> | { code: string; ma…