unstale

npm / @babel/plugin-transform-runtime

@babel/plugin-transform-runtime

What changed in @babel/plugin-transform-runtime 8, from its official release notes, upgrade guides and advisories. Also covers @babel/plugin-transform-async-generator-functions. Sources checked 2026-10-24.

36 breaking3 new APIs and options1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@babel/plugin-transform-runtime 840 changes

Breaking changes 36

  • All presets and plugins require @babel/core@^8.0.0 as a peer dependency.

    8.0.0upgrade guide

  • The Babel 7 package name @babel/plugin-proposal-async-generator-functions is replaced by this transform package name.

    8.0.0upgrade guide

  • BigIntLiteral.value is a bigint rather than a string; JSON serialization requires a custom bigint serializer.

    8.0.0upgrade guide

  • The typeParameters field is renamed to typeArguments.

    8.0.0upgrade guide

  • The superTypeParameters field is renamed to superTypeArguments.

    8.0.0upgrade guide

  • The superTypeParameters field is renamed to superTypeArguments.

    8.0.0upgrade guide

  • TSParenthesizedType is no longer generated unless createParenthesizedExpression is enabled; node.extra.parenthesized can indicate parentheses when disabled.

    8.0.0upgrade guide

  • Babel is shipped as native ECMAScript modules, affecting how the plugin can be loaded.

    8.0.0upgrade guide

  • Dynamic import() is represented by an ImportExpression node instead of a CallExpression with an Import callee.

    8.0.0upgrade guide

  • Importing internal files is disallowed; use the exported API instead.

    8.0.0upgrade guide

  • The typeParameters field is renamed to typeArguments.

    8.0.0upgrade guide

  • The typeParameters field is renamed to typeArguments.

    8.0.0upgrade guide

  • Babel 8 packages require Node.js ^22.18.0 || >=24.11.0; Babel itself will not run on older Node versions.

    8.0.0upgrade guide

  • The typeParameters field is renamed to typeArguments.

    8.0.0upgrade guide

  • The parameters field is renamed to params.

    8.0.0upgrade guide

  • The typeAnnotation field is renamed to returnType.

    8.0.0upgrade guide

  • Class implements entries use TSClassImplements instead of TSExpressionWithTypeArguments, with typeArguments in place of typeParameters.

    8.0.0upgrade guide

  • The parameters field is renamed to params.

    8.0.0upgrade guide

  • The typeAnnotation field is renamed to returnType.

    8.0.0upgrade guide

  • The parameters field is renamed to params.

    8.0.0upgrade guide

  • The typeAnnotation field is renamed to returnType.

    8.0.0upgrade guide

  • Enum members are wrapped in a TSEnumBody node under the body field.

    8.0.0upgrade guide

  • The parameters field is renamed to params.

    8.0.0upgrade guide

  • The typeAnnotation field is renamed to returnType.

    8.0.0upgrade guide

  • An exported TSImportEqualsDeclaration is parsed inside an ExportNamedDeclaration; its isExport field is removed.

    8.0.0upgrade guide

  • The argument field is renamed to source.

    8.0.0upgrade guide

  • The typeParameters field is renamed to typeArguments.

    8.0.0upgrade guide

  • The typeParameters field is renamed to typeArguments.

    8.0.0upgrade guide

  • Interface heritage entries use TSInterfaceHeritage instead of TSExpressionWithTypeArguments, with typeArguments in place of typeParameters.

    8.0.0upgrade guide

  • The typeParameter property is flattened into key and constraint properties on TSMappedType.

    8.0.0upgrade guide

  • The parameters field is renamed to params.

    8.0.0upgrade guide

  • The typeAnnotation field is renamed to returnType.

    8.0.0upgrade guide

  • A dotted namespace name is represented as one TSQualifiedName instead of nested TSModuleDeclaration nodes.

    8.0.0upgrade guide

  • TSTypeParameter.name is an Identifier node rather than a plain string.

    8.0.0upgrade guide

  • The typeParameters field is renamed to typeArguments.

    8.0.0upgrade guide

  • The typeParameters field is renamed to typeArguments.

    8.0.0upgrade guide

New APIs and options 3

  • When both estree and typescript parser plugins are enabled, Babel creates TSAbstractMethodDefinition nodes.

    8.0.0upgrade guide

  • When both estree and typescript parser plugins are enabled, Babel creates TSPropertyDefinition nodes.

    8.0.0upgrade guide

  • Interpolated template literal types are represented by TSTemplateLiteralType; templates without interpolations retain their existing AST shape.

    8.0.0upgrade guide

Fixes and other changes 1

  • TSTypeQuery.exprName can be a ThisExpression rather than an Identifier named this.

    8.0.0upgrade guide