@babel/preset-env breaking changes
Updated December 4, 2026
On this page
Latest version 8.1.5. Source repository
Its 8.0.1 release requires Node.js 22.18.0 or later. Node.js end of life dates.
- From 7.29.8 to 8.0.1: 138 breaking changes in 15 versions.
- From 7.27.0 to 8.0.1: 145 breaking changes in 21 versions.
@babel/preset-env 8.0.1 breaking changes
- Removed
Babel itself now requires a newer Node.js. Upgrade Node.js before running Babel 8. babeljs.io - Removed
bugfixes
Babel now compiles broken syntax to the closest modern syntax supported by targets; remove the option from your config. babeljs.io - Removed
loose
Copy the equivalent configuration into the top-level assumptions option. babeljs.io - Removed
Options.corejs
Options.corejs was removed in @babel/preset-env 8.0.1 npmjs.com - Removed
Options.useBuiltIns
The useBuiltIns option of preset-env is removed in this release, which completes an earlier planned removal. Code that passes useBuiltIns must stop passing it. npmjs.com - Removed
targets.uglify
Use the forceAllTransforms option if you still need to transpile down to ES5. babeljs.io - Behavior changed
Babel is only available as ECMAScript modules, so CommonJS require of Babel no longer works. babeljs.io - Behavior changed
corejs
Set corejs to the full minor version of core-js you use, such as the version from core-js/package.json. babeljs.io - Behavior changed
targets.esmodules
Setting esmodules to true no longer overrides other targets; it intersects with them. babeljs.io - Default changed
modules
If you need CommonJS output, set modules to commonjs explicitly. babeljs.io - Default changed
targets
Without a browserslist config or targets option, output now targets browserslist defaults rather than all browsers. babeljs.io - Signature changed
Options
Was type Options = {configPath?: string; corejs?: CorejsOption; debug?: boolean; exclude?: PluginListOption; forceAllTransforms?: boolean; ignoreBrowserslistConfig?: boolean; include?: PluginListOption; modules?: ModuleOption... npmjs.com
@babel/preset-env 8.0.0 breaking changes
- Removed
Babel 8 packages only run on Node.js ^22.18.0 or >=24.11.0. Upgrade Node.js before upgrading Babel; the output can still target old Node versions. next.babeljs.io - Removed
@babel.plugin-proposal-decorators
Set version to legacy or 2023-11, and migrate decorators to 2023-11. next.babeljs.io - Removed
@babel.plugin-proposal-record-and-tuple
The proposal was withdrawn, so migrate Record and Tuple syntax to the polyfill library. next.babeljs.io - Removed
@babel.plugin-syntax-import-assertions
Replace assert { } with with { } in import statements. next.babeljs.io - Removed
@babel.plugin-transform-object-assign
Use babel-plugin-polyfill-corejs3 to polyfill Object.assign. next.babeljs.io - Removed
@babel.plugin-transform-property-mutators
Property mutators cannot be transformed, so the plugin does nothing useful. next.babeljs.io - Removed
@babel.plugin-transform-react-compat
It targets React v0.x, which is no longer maintained. next.babeljs.io - Removed
@babel.plugin-transform-react-self
For React 18 or earlier, use transform-react-jsx-development instead. next.babeljs.io - Removed
@babel.plugin-transform-react-source
For React 18 or earlier, use transform-react-jsx-development instead. next.babeljs.io - Removed
@babel.runtime-corejs2
Switch to babel-plugin-polyfill-corejs3 with core-js 3. next.babeljs.io
And 57 more in this version. Sign up to see every change
@babel/preset-env 8.0.0-rc.5 breaking changes
- Removed
The package now requires Node.js ^22.18.0 or >=24.11.0; older Node.js versions are no longer supported. github.com - Removed
Options.spec
The spec option of many transform plugins is deprecated and should be removed from configuration. npmjs.com - Removed
transform-object-set-prototype-of-to-assign
The plugin is removed, so configs that list it will fail. github.com - Behavior changed
Column numbers in code frames now use 0-based values to match Babel AST locations, which changes output. github.com - Behavior changed
Column numbers reported by code frames now start at 0 to match Babel AST locations, so code relying on the old 1-based columns will see different values. github.com - Behavior changed
Babel now requires Node.js ^22.18.0 or >=24.11.0. Users on older Node.js versions must upgrade. github.com - Behavior changed
Code with decorators on abstract or declare fields that used to parse will now fail to parse. github.com
@babel/preset-env 8.0.0-rc.1 breaking changes
- Removed
Unused data entries were cleaned up from preset-env; code depending on them may need updates. github.com - Removed
@babel.plugin-transform-object-assign
The plugin is removed from the Babel 8 line, so configs referencing it will fail. github.com - Removed
NodePath.visit
NodePath#visit is gone; code calling it must be rewritten. github.com
@babel/preset-env 8.0.0-beta.4 breaking changes
- Removed
The corejs2 and legacy compat-data files are removed, so code relying on them will break. github.com - Removed
blacklist
The blacklist option is gone from @babel/traverse; code passing it must stop doing so. github.com - Removed
isPluginRequired
The isPluginRequired export is gone from @babel/preset-env, so code importing it must stop using it. github.com
@babel/preset-env 8.0.0-beta.3 breaking changes
- Behavior changed
allowSuperOutsideMethod
The parser option allowSuperOutsideMethod is treated as top-level only, which can change parsing results. github.com
Older versions
16 older versions, each with its first changes. Sign up to see every change
Show 16 older versions
@babel/preset-env 8.0.0-beta.0 breaking changes
- Removed
Babel 8 requires a newer Node.js version than before; upgrade Node.js before installing. github.com - Behavior changed
The Node.js requirement was raised. Run the package on a Node.js version that meets the new minimum. github.com
And 2 more in this version.
@babel/preset-env 8.0.0-alpha.16 breaking changes
- Removed
Options.bugfixes
The bugfixes option is removed from @babel/preset-env; configs that set it must drop it. npmjs.com
@babel/preset-env 8.0.0-alpha.13 breaking changes
- Removed
Babel 8 requires Node.js ^18.20.0, ^20.17.0 or 22.8.0 and later. github.com
@babel/preset-env 8.0.0-alpha.9 breaking changes
- Removed
Babel 8 requires Node.js ^18.20.0, ^20.10.0 or 21 and later. Older Node.js versions are no longer supported. github.com - Configuration changed
Babel 8 requires Node.js ^18.20.0, ^20.10.0 or 21.0.0 and later. Older Node.js versions are no longer supported. github.com
@babel/preset-env 8.0.0-alpha.8 breaking changes
- Removed
Core-js and regenerator entrypoints are removed from @babel/runtime-* packages. github.com - Removed
core-js
The core-js and regenerator entrypoints are gone from runtime packages. Import from the remaining paths. github.com
@babel/preset-env 8.0.0-alpha.5 breaking changes
- Removed
Transform-runtime no longer supports core-js 2 or regenerator. github.com - Removed
transform-runtime no longer supports core-js 2 or regenerator. github.com
And 4 more in this version.
@babel/preset-env 8.0.0-alpha.3 breaking changes
- Removed
-d
The -d and -gc aliases are gone from babel-node. github.com - Removed
-gc
The -gc alias is gone; scripts must use the full option name. github.com
And 4 more in this version.
@babel/preset-env 8.0.0-alpha.1 breaking changes
- Removed
getChalk
Code calling getChalk will no longer work. github.com - Behavior changed
Numeric literal nodes with infinite or negative values are now rejected. github.com
@babel/preset-env 8.0.0-alpha.0 breaking changes
- Removed
Babel 8 requires Node.js ^16.20.0, ^18.16.0 or >=20.0.0. Users on older Node.js must upgrade before installing. github.com - Removed
Code using the 2018-09 decorators proposal must migrate to a supported version. github.com
And 19 more in this version.
@babel/preset-env 7.29.8 breaking changes
- Behavior changed
Code with a super call directly after new no longer parses and must be rewritten. github.com
@babel/preset-env 7.29.6 breaking changes
- Behavior changed
Input source map handling and identifier preservation were changed in preserveFormat output; check generated output if relying on previous source map positions. github.com
@babel/preset-env 7.28.3 breaking changes
- Behavior changed
Babel no longer injects new static fields after static code in class static blocks, so compiled class output changes for code that uses static blocks. github.com
@babel/preset-env 7.27.7 breaking changes
- Configuration changed
Parser allow* options are now interpreted as top-level only. Code that relied on them applying to nested scopes must move them to the top level. github.com
@babel/preset-env 7.27.4 breaking changes
- Behavior changed
The parser now disallows using declarations in a bare case statement, as required by the spec. Code that relied on this form must wrap the declaration in a block. github.com
@babel/preset-env 7.27.1 breaking changes
- Behavior changed
Imports of Node built-in modules without the node: prefix are now enforced. Update such imports to use the node: prefix. github.com - Behavior changed
Invalid options in TypeScript import types are now rejected at parse time. Check that import type options are valid. github.com
@babel/preset-env 7.27.0 breaking changes
- Default changed
The default importAttributesKeyword is now with, so generated and parsed import attributes use with instead of assert. Set the option explicitly if your code relies on the old default. github.com
Related packages
- @babel/plugin-transform-parameters
- @babel/core
- @babel/traverse
- @babel/plugin-transform-modules-commonjs
- @babel/parser
- @babel/helpers
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.