@babel/core breaking changes
Updated December 4, 2026
On this page
Latest version 8.1.5, released December 2, 2026. Source repository
Its 8.0.0 release requires Node.js 22.18.0 or later. Node.js end of life dates.
- From 7.29.16 to 8.1.4: 243 breaking changes in 20 versions.
- From 7.22.0 to 8.1.4: 266 breaking changes in 35 versions.
@babel/core 8.1.4 breaking changes
- Signature changed
PluginAPI.createConfigItemAsync
Was createConfigItemAsync: (...args: any) => Promise<ConfigItem<unknown>>; now createConfigItemAsync: (value: string | ConfigItem<PresetAPI> | ConfigItem<PluginAPI> | ((api: PresetAPI, options: object, dirname: string) => PresetObject) |... npmjs.com - Signature changed
PluginAPI.createConfigItemSync
Was createConfigItemSync: (...args: any) => ConfigItem<unknown>; now createConfigItemSync: (value: string | ConfigItem<PresetAPI> | ConfigItem<PluginAPI> | [PresetTarget<object>, object] | [PresetTarget<object>, object, string] | ... 5... npmjs.com - Signature changed
PluginAPI.loadOptionsAsync
Was loadOptionsAsync: (...args: any) => Promise<ResolvedOptions>; now loadOptionsAsync: (opts: InputOptions) => Promise<ResolvedOptions>. npmjs.com - Signature changed
PluginAPI.loadOptionsSync
Was loadOptionsSync: (...args: any) => ResolvedOptions; now loadOptionsSync: (opts: InputOptions) => ResolvedOptions. npmjs.com - Signature changed
PluginAPI.loadPartialConfigAsync
Was loadPartialConfigAsync: (...args: any) => Promise<PartialConfig>; now loadPartialConfigAsync: (opts?: InputOptions) => Promise<PartialConfig>. npmjs.com - Signature changed
PluginAPI.loadPartialConfigSync
Was loadPartialConfigSync: (...args: any) => PartialConfig; now loadPartialConfigSync: (opts?: InputOptions) => PartialConfig. npmjs.com - Signature changed
PluginAPI.parseAsync
Was parseAsync: (...args: any) => Promise<any>; now parseAsync: (code: string, opts: InputOptions) => Promise<any>. npmjs.com - Signature changed
PluginAPI.parseSync
Was parseSync: (...args: any) => any; now parseSync: (code: string, opts: InputOptions) => any. npmjs.com - Signature changed
PluginAPI.transformAsync
Was transformAsync: (...args: any) => Promise<FileResult>; now transformAsync: (code: string, opts?: InputOptions) => Promise<FileResult>. npmjs.com - Signature changed
PluginAPI.transformFromAstAsync
Was transformFromAstAsync: (...args: any) => Promise<FileResult>; now transformFromAstAsync: (ast: any, code: string, opts: InputOptions) => Promise<FileResult>. npmjs.com - Signature changed
PluginAPI.transformFromAstSync
Was transformFromAstSync: (...args: any) => FileResult; now transformFromAstSync: (ast: any, code: string, opts: InputOptions) => FileResult. npmjs.com - Signature changed
PluginAPI.transformSync
Was transformSync: (...args: any) => FileResult; now transformSync: (code: string, opts?: InputOptions) => FileResult. npmjs.com - Signature changed
PluginObject
Was type PluginObject<S extends PluginPass = PluginPass> = {name?: string; manipulateOptions?: (options: ResolvedOptions & {generatorOpts: GeneratorOptions$1;}, parserOpts: ParserOptions & {plugins: NonNullable<ParserOptions["plugins"]>;})... npmjs.com - Signature changed
PluginObject.visitor
Was visitor?: Visitor$1<S>; now visitor?: VisitorBase$1<S> | Omit<ExplodedVisitor<S>, "noScope">. npmjs.com - Signature changed
PresetAPI.createConfigItemAsync
Was createConfigItemAsync: (...args: any) => Promise<ConfigItem<unknown>>; now createConfigItemAsync: (value: string | ConfigItem<PresetAPI> | ConfigItem<PluginAPI> | ((api: PresetAPI, options: object, dirname: string) => PresetObject) |... npmjs.com - Signature changed
PresetAPI.createConfigItemSync
Was createConfigItemSync: (...args: any) => ConfigItem<unknown>; now createConfigItemSync: (value: string | ConfigItem<PresetAPI> | ConfigItem<PluginAPI> | [PresetTarget<object>, object] | [PresetTarget<object>, object, string] | ... 5... npmjs.com - Signature changed
PresetAPI.loadOptionsAsync
Was loadOptionsAsync: (...args: any) => Promise<ResolvedOptions>; now loadOptionsAsync: (opts: InputOptions) => Promise<ResolvedOptions>. npmjs.com - Signature changed
PresetAPI.loadOptionsSync
Was loadOptionsSync: (...args: any) => ResolvedOptions; now loadOptionsSync: (opts: InputOptions) => ResolvedOptions. npmjs.com - Signature changed
PresetAPI.loadPartialConfigAsync
Was loadPartialConfigAsync: (...args: any) => Promise<PartialConfig>; now loadPartialConfigAsync: (opts?: InputOptions) => Promise<PartialConfig>. npmjs.com - Signature changed
PresetAPI.loadPartialConfigSync
Was loadPartialConfigSync: (...args: any) => PartialConfig; now loadPartialConfigSync: (opts?: InputOptions) => PartialConfig. npmjs.com - Signature changed
PresetAPI.parseAsync
Was parseAsync: (...args: any) => Promise<any>; now parseAsync: (code: string, opts: InputOptions) => Promise<any>. npmjs.com - Signature changed
PresetAPI.parseSync
Was parseSync: (...args: any) => any; now parseSync: (code: string, opts: InputOptions) => any. npmjs.com - Signature changed
PresetAPI.transformAsync
Was transformAsync: (...args: any) => Promise<FileResult>; now transformAsync: (code: string, opts?: InputOptions) => Promise<FileResult>. npmjs.com - Signature changed
PresetAPI.transformFromAstAsync
Was transformFromAstAsync: (...args: any) => Promise<FileResult>; now transformFromAstAsync: (ast: any, code: string, opts: InputOptions) => Promise<FileResult>. npmjs.com - Signature changed
PresetAPI.transformFromAstSync
Was transformFromAstSync: (...args: any) => FileResult; now transformFromAstSync: (ast: any, code: string, opts: InputOptions) => FileResult. npmjs.com - Signature changed
PresetAPI.transformSync
Was transformSync: (...args: any) => FileResult; now transformSync: (code: string, opts?: InputOptions) => FileResult. npmjs.com
@babel/core 8.1.2 breaking changes
- Behavior changed
import.defer
The parser now rejects import.defer without a following parenthesis, as the spec requires. Code that used it without parentheses must add them. github.com - Behavior changed
import.source
The parser now rejects import.source without a following parenthesis, as the spec requires. Code that used it without parentheses must add them. github.com - Behavior changed
import.sync
The parser now rejects import.sync without a following parenthesis, as the spec requires. Code that used it without parentheses must add them. github.com
@babel/core 8.1.0 breaking changes
- Signature changed
FileResult
Was type FileResult = {metadata: Record<string, any>; options: Record<string, any>; ast: t.File | null; code: string | null; map: GeneratorResult["map"]; sourceType: Exclude<SourceTypeOption, "unambiguous">; externalDependencies... npmjs.com - Signature changed
FileResult.map
Was map: GeneratorResult["map"]; now map: GeneratorResult$1["map"]. npmjs.com - Signature changed
InputOptions
Was type InputOptions = {cwd?: string; filename?: string; filenameRelative?: string; babelrc?: boolean; babelrcRoots?: BabelrcSearch; configFile?: ConfigFileSearch; root?: string; rootMode?: RootMode; code?: boolean; ast?: boolean... npmjs.com - Signature changed
InputOptions.auxiliaryCommentAfter
Was auxiliaryCommentAfter?: GeneratorOptions["auxiliaryCommentAfter"]; now auxiliaryCommentAfter?: GeneratorOptions$1["auxiliaryCommentAfter"]. npmjs.com - Signature changed
InputOptions.auxiliaryCommentBefore
Was auxiliaryCommentBefore?: GeneratorOptions["auxiliaryCommentBefore"]; now auxiliaryCommentBefore?: GeneratorOptions$1["auxiliaryCommentBefore"]. npmjs.com - Signature changed
InputOptions.comments
Was comments?: GeneratorOptions["comments"]; now comments?: GeneratorOptions$1["comments"]. npmjs.com - Signature changed
InputOptions.compact
Was compact?: GeneratorOptions["compact"]; now compact?: GeneratorOptions$1["compact"]. npmjs.com - Signature changed
InputOptions.generatorOpts
Was generatorOpts?: GeneratorOptions; now generatorOpts?: GeneratorOptions$1. npmjs.com - Signature changed
InputOptions.minified
Was minified?: GeneratorOptions["minified"]; now minified?: GeneratorOptions$1["minified"]. npmjs.com - Signature changed
InputOptions.retainLines
Was retainLines?: GeneratorOptions["retainLines"]; now retainLines?: GeneratorOptions$1["retainLines"]. npmjs.com
And 12 more in this version. Sign up to see every change
@babel/core 8.0.7 breaking changes
- Signature changed
createConfigItem
Was function createConfigItem(target: PluginTarget, options: Parameters<typeof createConfigItem$1>[1], callback?: (err: Error, val: ConfigItem<PluginAPI> | null) => void): void; now const createConfigItem: CreateConfigItem. npmjs.com - Signature changed
PluginAPI.createConfigItem
Was createConfigItem: (target: PluginTarget<object>, options: {dirname?: string; type?: "preset" | "plugin";}, callback?: (err: Error, val: ConfigItem<PluginAPI>) => void) => void; now createConfigItem: CreateConfigItem. npmjs.com - Signature changed
PresetAPI.createConfigItem
Was createConfigItem: (target: PluginTarget<object>, options: {dirname?: string; type?: "preset" | "plugin";}, callback?: (err: Error, val: ConfigItem<PluginAPI>) => void) => void; now createConfigItem: CreateConfigItem. npmjs.com
@babel/core 8.0.0 breaking changes
- Removed
Babel itself will not run on older Node.js versions; upgrade Node.js before upgrading Babel. next.babeljs.io - Removed
-gc
Use the Node.js --expose-gc flag, and --inspect instead of -d. next.babeljs.io - Removed
@babel.eslint-parser
The eslint-parser requires ESLint 9 or above. Upgrade ESLint before upgrading Babel. next.babeljs.io - Removed
@babel.eslint-parser.experimental-worker
The worker-based implementation is now the main entry point. Import @babel/eslint-parser instead. next.babeljs.io - Removed
@babel.plugin-proposal-decorators
Only legacy and 2023-11 versions are supported, and a version option is now required. Migrate to 2023-11. next.babeljs.io - Removed
@babel.plugin-proposal-pipeline-operator
Only fsharp and hack proposals remain. Switch smart or minimal to hack, adding a topicToken option. next.babeljs.io - Removed
@babel.plugin-proposal-record-and-tuple
The proposal was withdrawn; migrate code to the polyfill library. next.babeljs.io - Removed
@babel.plugin-syntax-import-assertions
Remove the plugin and change assert { } imports to with { }. next.babeljs.io - Removed
@babel.plugin-syntax-typescript
Enable @babel/plugin-syntax-jsx alongside the plugin to parse TSX. next.babeljs.io - Removed
@babel.plugin-transform-property-mutators
Property mutators cannot be transformed, so this plugin no longer does anything useful. next.babeljs.io
And 114 more in this version. Sign up to see every change
@babel/core 8.0.0-rc.5 breaking changes
- Removed
Babel now requires Node.js ^22.18.0 or >=24.11.0. Upgrade Node.js before using this release. github.com - Removed
The parser now rejects decorators on abstract and declare fields, which previously parsed. github.com - Removed
transform-object-set-prototype-of-to-assign
The transform-object-set-prototype-of-to-assign plugin is removed from Babel. github.com - Behavior changed
Code frame columns now use 0-based values to match Babel AST locations, which changes reported positions. github.com
Older versions
30 older versions, each with its first changes. Sign up to see every change
Show 30 older versions
@babel/core 8.0.0-rc.2 breaking changes
- Removed
Syntax plugins that were enabled by default were archived. github.com - Removed
Code kept for old ESLint versions was removed in this prerelease. github.com
And 1 more in this version.
@babel/core 8.0.0-rc.1 breaking changes
- Removed
babel-build-external-helpers was extracted from @babel/cli into a separate package. github.com - Removed
Smart pipeline support and the accessor property on the Standardized alias were removed. github.com
And 6 more in this version.
@babel/core 8.0.0-beta.4 breaking changes
- Removed
Support for the TypeScript module <identifier> syntax was removed. github.com - Removed
Import assertions syntax is no longer supported; use import attributes instead. github.com
And 9 more in this version.
@babel/core 8.0.0-beta.3 breaking changes
- Behavior changed
allowSuperOutsideMethod
The allowSuperOutsideMethod parser option is treated as top-level only. Code relying on it inside nested contexts may parse differently. github.com - Default changed
The default @babel/runtime version used by transform-runtime changed. Pin the runtime version if you depend on the old default. github.com
And 1 more in this version.
@babel/core 8.0.0-beta.0 breaking changes
- Removed
Babel 8 requires a newer Node.js; older Node.js versions are no longer supported. github.com - Removed
Babel 8 requires Node.js ^20.19.0 or >=22.12.0. github.com
@babel/core 8.0.0-alpha.13 breaking changes
- Removed
Babel 8 requires Node.js ^18.20.0, ^20.17.0 or >=22.8.0. github.com
@babel/core 8.0.0-alpha.11 breaking changes
- Removed
File.prototype.getModuleName
The getModuleName method on File is removed in Babel 8. github.com
@babel/core 8.0.0-alpha.9 breaking changes
- Removed
Babel 8 requires Node.js ^18.20.0, ^20.10.0 or >=21.0.0. Older Node.js versions are no longer supported. github.com
@babel/core 8.0.0-alpha.8 breaking changes
- Removed
@babel/core 8.0.0-alpha.8 drops support for Node.js 13.0 and 13.1 github.com - Removed
Imports of those entrypoints from @babel/runtime-* no longer resolve. github.com
And 2 more in this version.
@babel/core 8.0.0-alpha.5 breaking changes
- Removed
CodeGenerator
Removes CodeGenerator from @babel/generator in @babel/core 8.0.0-alpha.5 github.com - Removed
getModulesPluginNames
Removes getModulesPluginNames in @babel/core 8.0.0-alpha.5 github.com
And 5 more in this version.
@babel/core 8.0.0-alpha.3 breaking changes
- Removed
-d
Removes the -d and -gc babel-node aliases in @babel/core 8.0.0-alpha.3 github.com - Signature changed
createConfigItem
Use the asynchronous API instead of createConfigItem. npmjs.com
And 2 more in this version.
@babel/core 8.0.0-alpha.2 breaking changes
- Removed
Syntax enabled by default is no longer provided through syntax plugins. github.com
@babel/core 8.0.0-alpha.1 breaking changes
- Removed
getChalk
Removes the getChalk function in @babel/core 8.0.0-alpha.1 github.com - Behavior changed
Non-finite or negative numeric literals are now rejected. github.com
@babel/core 8.0.0-alpha.0 breaking changes
- Removed
Removes module-specific options from @babel/core github.com - Removed
Removes uglify target support in preset-env in @babel/core 8.0.0-alpha.0 github.com
And 11 more in this version.
@babel/core 7.29.16 breaking changes
- Behavior changed
Optimizations that assumed imported bindings were constant no longer apply, which changes generated output. github.com - Behavior changed
Class elements that are not compiled now cause the classes transform to throw instead of passing through silently. github.com
And 1 more in this version.
@babel/core 7.29.15 breaking changes
- Behavior changed
Exported TypeScript types whose names match JavaScript globals are now removed from the output. Code that relied on them being kept must change. github.com - Behavior changed
Code with using declarations now makes the regenerator transform throw instead of compiling it. github.com
And 1 more in this version.
@babel/core 7.29.14 breaking changes
- Behavior changed
Code that wrote these import forms without parentheses will now fail to parse. Add the parentheses to the calls. github.com
@babel/core 7.29.13 breaking changes
- Behavior changed
Code using property access on new import is now a parse error and must be rewritten. github.com
@babel/core 7.29.11 breaking changes
- Behavior changed
Class declarations named eval or arguments now fail to parse and must be renamed. github.com - Behavior changed
With createParenthesizedExpressions enabled, delete (x) is now rejected and must be written without the parentheses. github.com
And 2 more in this version.
@babel/core 7.29.8 breaking changes
- Behavior changed
Code with a super call directly after new is now a syntax error and must be rewritten. github.com
@babel/core 7.29.6 breaking changes
- Behavior changed
When input source maps are used, output identifier names may now follow the original source names instead of the previous transformed names. Check any tooling that depends on the emitted names. github.com
@babel/core 7.29.2 breaking changes
- Behavior changed
Code that places an async arrow function in a non-leading position may now fail to parse. Move such arrow functions to a leading position to keep the code valid. github.com
@babel/core 7.28.3 breaking changes
- Behavior changed
Static field injection order changed for class static blocks; code relying on the previous output may behave differently. github.com
@babel/core 7.27.7 breaking changes
- Behavior changed
The parser allow* options are now interpreted as top level only, so code relying on them applying to nested contexts may behave differently. github.com
@babel/core 7.27.1 breaking changes
- Behavior changed
Code using get or set in TypeScript property signatures is now rejected by the parser. Remove those modifiers from such signatures. github.com - Behavior changed
The parser now validates TSImportType options more strictly, so previously accepted import type options may now fail to parse. github.com
@babel/core 7.27.0 breaking changes
- Default changed
importAttributesKeyword
The default for importAttributesKeyword is now with. Set the option explicitly if your code depends on the previous default. github.com
@babel/core 7.26.0 breaking changes
- Renamed
babel-plugin-proposal-json-modules
The proposal-json-modules plugin is renamed to transform-json-modules. Update plugin names in your Babel config to the new name. github.com
@babel/core 7.25.0 breaking changes
- Behavior changed
babel-plugin-transform-typescript
TypeScript enum members that are syntactically determinable to be strings no longer receive reverse mappings in the output. Code relying on reverse lookups for such enums must change. github.com
@babel/core 7.22.4 breaking changes
- Behavior changed
The parser marks assert attributes with extra.deprecatedAssertSyntax; code relying on the old assert syntax may need to move to with-style attributes. github.com
@babel/core 7.22.0 breaking changes
- Renamed
Plugins for proposals that became standard were renamed, replacing the -proposal- part of their package names with -transform-. Update plugin names in your Babel config to the new packages. github.com
Related packages
- @babel/plugin-transform-parameters
- @babel/traverse
- @babel/plugin-transform-modules-commonjs
- @babel/parser
- @babel/helpers
- @babel/types
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.