@babel/parser breaking changes
Updated December 4, 2026
On this page
Latest version 8.1.5, released December 2, 2026. Source repository
Its 8.0.4 release requires Node.js 22.18.0 or later. Node.js end of life dates.
- From 7.29.15 to 8.1.3: 168 breaking changes in 22 versions.
- From 7.27.1 to 8.1.3: 186 breaking changes in 31 versions.
@babel/parser 8.1.3 breaking changes
- Signature changed
ParserOptions.plugins
Was plugins?: Plugin[]; now plugins?: PluginConfig[]. npmjs.com - Signature changed
ParserPlugin
Was type PluginConfig = Plugin$1 | ParserPluginWithOptions; now type PluginConfig = Plugin | ParserPluginWithOptions. npmjs.com
@babel/parser 8.1.2 breaking changes
- Behavior changed
Input the parser used to accept, with an arrow function after an arrow in an earlier operand, is now a syntax error. github.com - Behavior changed
The parser now rejects import.source, import.defer and import.sync when they are not followed by an opening parenthesis, so code that relied on the looser parsing will now fail to parse. github.com
@babel/parser 8.0.8 breaking changes
- Behavior changed
Object literals used directly as the base of a member expression now produce expression errors. Wrap or restructure such code. github.com - Behavior changed
Arrow functions used as a new callee or an await operand are now syntax errors. Wrap them in parentheses or rewrite the code. github.com - Behavior changed
Using eval or arguments as a class name is now a syntax error. Rename such classes. github.com - Behavior changed
Code with a line break between a const binding name and of is now a syntax error. Update such code to be spec-compliant. github.com - Behavior changed
Call expressions used as arrow function parameters in sloppy mode are now rejected. Rewrite those parameter lists. github.com - Behavior changed
Import declarations that combine a named specifier after a namespace import are now rejected as a syntax error. Update code that relied on the previous acceptance. github.com - Behavior changed
With createParenthesizedExpressions enabled, delete (x) is now rejected instead of parsed. Remove the parentheses or avoid this option combination. github.com
@babel/parser 8.0.5 breaking changes
- Behavior changed
Code that accesses properties on import in a way that is newly disallowed will now fail to parse. Update such code to the supported import syntax. github.com - Behavior changed
BigInt literals written with a non-decimal prefix are now parsed without that prefix, so the parsed value of such literals changes. Check code that reads these literal values from the AST. github.com
@babel/parser 8.0.4 breaking changes
- Removed
Babel 8 only runs on Node.js ^22.18.0 or >=24.11.0; older Node versions can no longer run Babel itself. babeljs.io - Removed
classFeatures
The option is gone because its behavior is now always on; remove it from your parser configuration. babeljs.io - Removed
decimal
The decimal literal syntax is no longer supported; migrate decimal literals to a Decimal class and remove the plugin. babeljs.io - Removed
deprecatedImportAssert
The assert keyword form of import attributes is gone; use the with keyword instead. babeljs.io - Removed
importAssertions
The assert keyword form of import attributes is gone; use the with keyword instead. babeljs.io - Removed
importReflection
The import reflection proposal was superseded; use sourcePhaseImports and the source modifier in import declarations. babeljs.io - Behavior changed
Code such as key={foo, bar} now fails to parse; wrap the sequence in parentheses. babeljs.io - Behavior changed
The parser now disallows declare module M {} syntax that it previously accepted, so code using it will fail to parse. github.com - Behavior changed
The parser now forbids let x! and let x! = syntax that it previously accepted, so such code will fail to parse. github.com - Behavior changed
Babel packages are now ESM only, so CommonJS require calls need to switch to import. babeljs.io
And 1 more in this version. Sign up to see every change
@babel/parser 8.0.0 breaking changes
- Removed
Babel itself will not run on older Node.js versions; upgrade Node.js. next.babeljs.io - Removed
classFeatures
The option is gone and its behavior is now always on. Remove it from your config. next.babeljs.io - Removed
decimal
Decimal literal syntax is no longer parsed. Use a Decimal library such as new Decimal("1.03") instead. next.babeljs.io - Removed
DecoratorsPluginOptions
DecoratorsPluginOptions was removed in @babel/parser 8.0.0 npmjs.com - Removed
deprecatedImportAssert
Use the import attributes with keyword instead of assert. next.babeljs.io - Removed
importAssertions
Use the import attributes with keyword instead of assert. next.babeljs.io - Removed
importReflection
Replace it with sourcePhaseImports and use source instead of module in import declarations. next.babeljs.io - Removed
ParseError.cause
ParseError.cause was removed in @babel/parser 8.0.0 npmjs.com - Removed
ParseError.code
ParseError.code was removed in @babel/parser 8.0.0 npmjs.com - Removed
ParseError.details
ParseError.details was removed in @babel/parser 8.0.0 npmjs.com
And 23 more in this version. Sign up to see every change
Older versions
26 older versions, each with its first changes. Sign up to see every change
Show 26 older versions
@babel/parser 8.0.0-rc.5 breaking changes
- Removed
Babel 8 requires Node.js ^22.18.0 or >=24.11.0. github.com - Removed
@babel.plugin-transform-object-set-prototype-of-to-assign
The plugin is removed from Babel 8. github.com
And 2 more in this version.
@babel/parser 8.0.0-rc.1 breaking changes
- Removed
The external helpers build tool moved out of @babel/cli. github.com - Removed
Smart pipeline operator support is removed. github.com
And 6 more in this version.
@babel/parser 8.0.0-beta.4 breaking changes
- Removed
Decorator parser options are removed; drop them from parser configuration. github.com - Removed
Import assertions are fully removed from the parser and related tools. Code using import assertions must switch to import attributes. github.com
And 12 more in this version.
@babel/parser 8.0.0-beta.3 breaking changes
- Behavior changed
allowSuperOutsideMethod
The allowSuperOutsideMethod parser option is only honored at top level in Babel 8. github.com - Default changed
The default @babel/runtime version used by transform-runtime changed. github.com
@babel/parser 8.0.0-beta.1 breaking changes
- Behavior changed
LVal coverage updated for destructuring and related nodes in @babel/parser 8.0.0-beta.1 github.com
@babel/parser 8.0.0-beta.0 breaking changes
- Removed
Drops CJS support from the parser package in @babel/parser 8.0.0-beta.0 github.com - Removed
Stops replacing global regeneratorRuntime references in @babel/parser 8.0.0-beta.0 github.com
And 10 more in this version.
@babel/parser 8.0.0-alpha.17 breaking changes
- Behavior changed
TSHeritageBase.expression
TSHeritageBase.expression is parsed as an expression in @babel/parser 8.0.0-alpha.17 github.com
@babel/parser 8.0.0-alpha.16 breaking changes
- Removed
Removes legacy .d.ts for TypeScript 4.0 and older in @babel/parser 8.0.0-alpha.16 github.com - Removed
bugfixes
Removes the bugfixes option from preset-env in @babel/parser 8.0.0-alpha.16 github.com
And 7 more in this version.
@babel/parser 8.0.0-alpha.15 breaking changes
- Renamed
Renames typeParameters to typeArguments on call-like nodes in @babel/parser 8.0.0-alpha.15 github.com - Renamed
TSClassImplements.typeParameters
Renames typeParameters on TSClassImplements and TSInterfaceHeritage in @babel/parser 8.0.0-alpha.15 github.com
And 7 more in this version.
@babel/parser 8.0.0-alpha.14 breaking changes
- Removed
TSModuleDeclaration.global
Removes TSModuleDeclaration.global in @babel/parser 8.0.0-alpha.14 github.com - Renamed
superTypeParameters
Renames superTypeParameters to superTypeArguments in @babel/parser 8.0.0-alpha.14 github.com
And 4 more in this version.
@babel/parser 8.0.0-alpha.13 breaking changes
- Removed
Removes some NodePath methods in @babel/parser 8.0.0-alpha.13 github.com - Removed
Drops Flow annotations inside array patterns in @babel/parser 8.0.0-alpha.13 github.com
And 15 more in this version.
@babel/parser 8.0.0-alpha.11 breaking changes
- Removed
File.prototype.getModuleName
Removes File.prototype.getModuleName from @babel/core in @babel/parser 8.0.0-alpha.11 github.com
@babel/parser 8.0.0-alpha.9 breaking changes
- Removed
Drops support for older Node.js versions in @babel/parser 8.0.0-alpha.9 github.com - Removed
extra.shorthand
The parser no longer sets extra.shorthand on AST nodes. Code that reads this flag must change. github.com
And 3 more in this version.
@babel/parser 8.0.0-alpha.8 breaking changes
- Behavior changed
@babel/parser 8.0.0-alpha.8 drops support for Node.js 13.0 and 13.1 github.com
@babel/parser 8.0.0-alpha.5 breaking changes
- Default changed
createImportExpressions
createImportExpressions parser option defaults to true in @babel/parser 8.0.0-alpha.5 github.com - Default changed
parserOpts.createImportExpressions
Dynamic import is now parsed into import expression nodes by default. Code that depends on the previous default should set parserOpts.createImportExpressions explicitly. github.com
@babel/parser 8.0.0-alpha.0 breaking changes
- Removed
Module attributes are no longer parsed or generated. github.com - Removed
The package now requires Node.js ^16.20.0, ^18.16.0 or 20 and later. Upgrade Node.js before using Babel 8. github.com
And 17 more in this version.
@babel/parser 7.29.15 breaking changes
- Signature changed
ParserOptions.plugins
Was plugins?: Plugin[]; now plugins?: PluginConfig[]. npmjs.com - Signature changed
ParserPlugin
Was type PluginConfig = Plugin$1 | ParserPluginWithOptions; now type PluginConfig = Plugin | ParserPluginWithOptions. npmjs.com
@babel/parser 7.29.14 breaking changes
- Behavior changed
Code that uses these import forms without a following parenthesis may now fail to parse; add the parentheses where they are missing. github.com
@babel/parser 7.29.13 breaking changes
- Behavior changed
The parser now disallows new import property access forms that were previously accepted. Code using those forms must be rewritten to use valid syntax. github.com
@babel/parser 7.29.11 breaking changes
- Behavior changed
Code with a const declaration followed by a linebreak and 'of' is now rejected by the parser. Update such code. github.com - Behavior changed
Call expressions used as arrow function parameters in sloppy mode are now rejected. Rewrite such parameters. github.com
And 3 more in this version.
@babel/parser 7.29.2 breaking changes
- Behavior changed
The parser now follows the spec on where async arrow functions may appear, so code that was accepted before may now fail to parse. Move such async arrow functions to a leading position. github.com
@babel/parser 7.28.5 breaking changes
- Signature changed
ParseError
Was interface ParseError; now type ParseError = ParseError$1<object>. npmjs.com - Signature changed
ParseError.code
Was code: string; now code: ParseErrorCode. npmjs.com
And 1 more in this version.
@babel/parser 7.28.0 breaking changes
- Signature changed
ParserOptions.sourceType
Was sourceType?: "script" | "module" | "unambiguous"; now sourceType?: SourceType. npmjs.com - Signature changed
ParserPluginWithOptions
Was type ParserPluginWithOptions = | ["decorators", DecoratorsPluginOptions] | ["estree", {classFeatures?: boolean}] | IF_BABEL_7<["importAttributes", {deprecatedAssertSyntax: boolean}]> | IF_BABEL_7<["moduleAttributes", {version... npmjs.com
@babel/parser 7.27.7 breaking changes
- Behavior changed
The parser no longer accepts using declarations in an ambient context. Code that relied on this syntax there must be changed. github.com - Behavior changed
allow*
The parser now reads its allow* options only at the top level of the configuration. Check that any allow* options you set are at the top level, or they will no longer take effect. github.com
@babel/parser 7.27.4 breaking changes
- Behavior changed
The parser now disallows a 'using' declaration directly in a bare case statement, so code that relied on that syntax will fail to parse. Wrap the declaration in a block to keep it valid. github.com
@babel/parser 7.27.1 breaking changes
- Behavior changed
TSImportType
Invalid options in TypeScript import types are now rejected during parsing. Check that import type options are valid. github.com - Behavior changed
TSPropertySignature
Code that parses TypeScript containing get or set in a TSPropertySignature will now get a syntax error. Remove those keywords from such signatures. github.com
Related packages
- @babel/plugin-transform-parameters
- @babel/core
- @babel/traverse
- @babel/plugin-transform-modules-commonjs
- @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.