@babel/preset-flow breaking changes
@babel/preset-flow 8.0.1 (June 17, 2026) is its newest release with breaking changes, 3 of them. The first: Removed @babel.preset-flow. Every breaking API change we have recorded in @babel/preset-flow on npm: 14 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 8.1.5. Source repository
Its 8.0.0-alpha.13 release requires Node.js 18.20.0 or later. Node.js end of life dates.
@babel/preset-flow 8.0.1 breaking changes
- Removed
@babel.preset-flow
The allowDeclareFields and enums options were removed from @babel/preset-flow because they are now enabled by default. Remove them from your config. babeljs.io - Behavior changed
@babel.preset-flow
The preset now type checks its options and reports invalid option names. Refer to the docs and ensure valid usage. babeljs.io - Default changed
targets
Without a .browserslistrc or targets option, Babel now compiles for browserslist's defaults instead of all browsers. babeljs.io
@babel/preset-flow 8.0.0 breaking changes
- Removed
Babel 8 itself requires Node.js ^22.18.0 or >=24.11.0. Upgrade Node.js before upgrading Babel. next.babeljs.io - Removed
allowDeclareFields
The option is removed because the behavior is now enabled by default. Delete it from your config. next.babeljs.io - Removed
enums
The option is removed because the behavior is now enabled by default. Delete it from your config. next.babeljs.io - Behavior changed
Babel packages are published as native ECMAScript modules. Code that loads them with require() may need to switch to import. next.babeljs.io - Behavior changed
@babel.preset-flow
The preset reports invalid option names instead of ignoring them. Check your config and remove any unsupported options. next.babeljs.io
@babel/preset-flow 8.0.0-beta.0 breaking changes
- Behavior changed
All Babel 8 packages now require Node.js ^20.19.0 or >= 22.12.0. Upgrade Node.js before using this release. github.com
@babel/preset-flow 8.0.0-alpha.13 breaking changes
- Behavior changed
All Babel 8 packages now require Node.js ^18.20.0, ^20.17.0 or >=22.8.0. Upgrade Node.js before using this release. github.com
@babel/preset-flow 8.0.0-alpha.0 breaking changes
- Behavior changed
Babel 8 adds an exports field to every package, so deep imports into package internals may no longer resolve. Import only the documented entry points. github.com - Behavior changed
Babel 8 packages require Node.js ^16.20.0, ^18.16.0, or 20.0.0 and later. Upgrade Node.js before installing Babel 8. github.com - Behavior changed
The Flow and TypeScript presets handle file extensions differently in Babel 8. Check that your files are still matched and transformed as expected. github.com - Configuration changed
babel-preset-flow
The preset now validates its options more strictly in Babel 8. Check that any options you pass to the Flow preset are still accepted. 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.