@babel/traverse 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.10 to 8.1.4: 906 breaking changes in 18 versions.
- From 7.24.4 to 8.1.4: 912 breaking changes in 22 versions.
@babel/traverse 8.1.4 breaking changes
- Behavior changed
getFunctionParent
Calls to getFunctionParent no longer treat decorators or keys as inside the function. Code that relied on the old lookup may get a different parent path. github.com
@babel/traverse 8.0.7 breaking changes
- Behavior changed
NodePath.evaluate
NodePath#evaluate now looks through TypeScript expression wrappers and evaluates the wrapped expression, so results for such code may differ from before. github.com - Behavior changed
path.evaluate
path.evaluate now returns a result without evaluating destructured bindings, so code relying on the previous evaluated value may get different results. Check any code that evaluates destructured variables. github.com
@babel/traverse 8.0.4 breaking changes
- Behavior changed
replaceWith
Calling replaceWith inside Visitor#exit no longer stops traversal. Code that relied on the earlier stopping behavior may now visit more nodes. github.com
@babel/traverse 8.0.0 breaking changes
- Removed
@babel.plugin-transform-react-jsx-source
Remove these plugins. For older React versions, use react-jsx-development with the sourceSelf option. next.babeljs.io - Removed
Binding.deopValue
Binding.deopValue was removed in @babel/traverse 8.0.0 npmjs.com - Removed
cache
cache was removed in @babel/traverse 8.0.0 npmjs.com - Removed
Hub.constructor
new Hub() was removed in @babel/traverse 8.0.0 npmjs.com - Removed
Node
Node was removed in @babel/traverse 8.0.0 npmjs.com - Removed
NodeKeyOfArrays
NodeKeyOfArrays was removed in @babel/traverse 8.0.0 npmjs.com - Removed
NodeKeyOfNodes
NodeKeyOfNodes was removed in @babel/traverse 8.0.0 npmjs.com - Removed
NodePath.addComment
NodePath.addComment was removed in @babel/traverse 8.0.0 npmjs.com - Removed
NodePath.addComments
NodePath.addComments was removed in @babel/traverse 8.0.0 npmjs.com - Removed
NodePath.arrowFunctionToExpression
NodePath.arrowFunctionToExpression was removed in @babel/traverse 8.0.0 npmjs.com
And 840 more in this version. Sign up to see every change
@babel/traverse 8.0.0-rc.5 breaking changes
- Removed
Packages now require Node.js ^22.18.0 or >=24.11.0, so upgrade Node.js before updating. github.com - Behavior changed
Older Node.js versions are no longer supported, so users must upgrade Node.js before installing this release. github.com
@babel/traverse 8.0.0-rc.1 breaking changes
- Removed
Smart pipeline support and the accessor property on the Standardized alias are removed from traverse and related packages. github.com - Removed
NodePath.visit
NodePath#visit was removed, so code calling it must use other traversal methods instead. npmjs.com
Older versions
17 older versions, each with its first changes. Sign up to see every change
Show 17 older versions
@babel/traverse 8.0.0-beta.4 breaking changes
- Removed
Records and Tuples support is fully removed from the Babel packages, including traverse. Code relying on it will no longer work. github.com - Removed
TraverseOptions.blacklist
The blacklist option was removed from traverse, so code passing it must stop using it. npmjs.com
@babel/traverse 8.0.0-beta.1 breaking changes
- Behavior changed
Lvalue handling changes for several node types, so code relying on the old coverage may behave differently. github.com
@babel/traverse 8.0.0-beta.0 breaking changes
- Removed
Record and tuple syntax is no longer supported in Babel 8, so traversal of those nodes is affected. github.com - Removed
BLOCK_SCOPED_SYMBOL
The BLOCK_SCOPED_SYMBOL export is removed. Code importing it must stop using it. github.com
And 6 more in this version.
@babel/traverse 8.0.0-alpha.15 breaking changes
- Behavior changed
TSEnumDeclaration gets a TSEnumBody child node in Babel 8. Traversal code that reads enum members directly must be updated. github.com
@babel/traverse 8.0.0-alpha.13 breaking changes
- Removed
Several Scope methods are removed in Babel 8. Code calling them must be updated. github.com - Removed
Several NodePath methods were removed. Code calling them must be updated to the remaining APIs. github.com
And 6 more in this version.
@babel/traverse 8.0.0-alpha.12 breaking changes
- Removed
Underscore-prefixed methods in @babel/traverse are removed. Code calling them must use public alternatives. github.com - Removed
Underscore-prefixed methods were removed from @babel/traverse. Code that calls them must switch to the package's public methods. github.com
@babel/traverse 8.0.0-alpha.9 breaking changes
- Removed
Babel 8 drops support for older Node.js versions. Upgrade Node.js to 18.20.0 or later before using it. github.com - Removed
extra.shorthand
Code that reads extra.shorthand on AST nodes no longer finds it. Stop relying on this property. github.com
And 2 more in this version.
@babel/traverse 8.0.0-alpha.8 breaking changes
- Behavior changed
TypeScript const enums are now transformed into const variables, which changes the emitted code. github.com
@babel/traverse 8.0.0-alpha.5 breaking changes
- Removed
getModulesPluginNames
getModulesPluginNames is removed from preset-env. github.com - Removed
loose
The loose option is removed from preset-env. github.com
And 4 more in this version.
@babel/traverse 8.0.0-alpha.3 breaking changes
- Behavior changed
createConfigItem
Use the async version of createConfigItem instead of the synchronous one. github.com - Behavior changed
loadOptions
Use the async version of loadOptions instead of the synchronous one. github.com
And 1 more in this version.
@babel/traverse 8.0.0-alpha.1 breaking changes
- Removed
getChalk
getChalk is removed from the highlight and code-frame packages. github.com - Behavior changed
Numeric literal nodes with non-finite or negative values are now rejected. github.com
@babel/traverse 8.0.0-alpha.0 breaking changes
- Removed
Babel 8 requires Node.js ^16.20.0, ^18.16.0 or >=20.0.0, so older Node.js versions are no longer supported. github.com - Removed
The package now requires a newer Node.js range, so older Node.js versions are no longer supported. github.com
And 8 more in this version.
@babel/traverse 7.29.10 breaking changes
- Behavior changed
path.evaluate
path.evaluate now leaves destructured bindings unevaluated instead of computing a value for them. Code that relied on the old result for destructured variables may need to handle an undefined or unknown result. github.com
@babel/traverse 7.29.8 breaking changes
- Behavior changed
Babel now rejects a super call after new as a spec compliance change, so code that Babel previously accepted with this form will now fail to compile. Rewrite such code to avoid calling super after new. github.com
@babel/traverse 7.27.7 breaking changes
- Behavior changed
Using declarations inside ambient contexts are now disabled and rejected by the parser, so code that previously parsed may now fail. github.com - Configuration changed
The parser's allow* options are now read only at top level, so settings placed in nested positions no longer take effect. Check configs that set these options in nested places. github.com
@babel/traverse 7.24.5 breaking changes
- Behavior changed
Code that passes JSXNamespacedName as a call argument in partial application is no longer accepted. github.com - Behavior changed
NodePath
NodePath<T | U> is now resolved distributively, which can change the TypeScript types users get and may cause type errors in existing code. github.com
@babel/traverse 7.24.4 breaking changes
- Behavior changed
Code with an initializerless `using` declaration that parsed before now fails to parse. Add an initializer to such declarations. github.com
Related packages
- @babel/plugin-transform-parameters
- @babel/core
- @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.