Tags:
- 馃挜 [Breaking Change]
- 馃憮 [Spec Compliance]
- 馃殌 [New Feature]
- 馃悰 [Bug Fix]
- 馃摑 [Documentation]
- 馃彔 [Internal]
- 馃拝 [Polish]
Note: Gaps between patch versions are faulty, broken or test releases.
This file contains the changelog starting from v8.0.0-alpha.0.
babel-plugin-transform-runtime
,babel-runtime-corejs3
- #16347 Remove core-js and regenerator entrypoints from
@babel/runtime-*
(@nicolo-ribaudo)
- #16347 Remove core-js and regenerator entrypoints from
babel-plugin-transform-runtime
- #16346 Remove
./helpers/esm
exports from@babel/runtime
and drop Node.js 13.0-13.1 (@nicolo-ribaudo)
- #16346 Remove
babel-plugin-transform-runtime
,babel-plugin-transform-typeof-symbol
,babel-runtime-corejs2
- #16311 [babel 8] Cleanup
plugin-transform-runtime
options (@nicolo-ribaudo)
- #16311 [babel 8] Cleanup
babel-plugin-transform-typescript
- #16396 [babel 8] Turn
const enum
s intoconst
variables (@samualtnorman)
- #16396 [babel 8] Turn
babel-core
- #16365 [babel 8] Remove
import_
fallback (@nicolo-ribaudo)
- #16365 [babel 8] Remove
babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-class-properties
,babel-plugin-transform-class-static-block
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-regenerator
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs3
,babel-runtime
,babel-standalone
- #16323 Allow separate helpers to be excluded in Babel 8 (@liuxingbaoyu)
babel-helper-plugin-test-runner
- #16330 Add missing
"type": "module"
to helper-plugin-test-runner (@nicolo-ribaudo)
- #16330 Add missing
babel-compat-data
,babel-plugin-transform-object-rest-spread
,babel-preset-env
- #16318 [babel 8] Fix
@babel/compat-data
package.json (@nicolo-ribaudo)
- #16318 [babel 8] Fix
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
babel-core
,babel-helper-fixtures
,babel-helper-plugin-utils
,babel-helper-transform-fixture-test-runner
,babel-parser
,babel-plugin-transform-runtime
,babel-preset-env
,babel-standalone
,babel-template
,babel-traverse
,babel-types
- #16248 Use
Object.hasOwn
when available (@nicolo-ribaudo)
- #16248 Use
babel-core
,babel-plugin-transform-object-rest-spread
- #16209 chore: Helper changes for Babel 8 (@liuxingbaoyu)
babel-register
- #16005 Use
@cspotcode/source-map-support
in@babel/register
(@liuxingbaoyu)
- #16005 Use
babel-plugin-transform-runtime
- #16141 [babel 8] Remove
useESModules
option (@nicolo-ribaudo) - #16063 [babel 8] Remove core-js@2 & regenerator from transform-runtime (@nicolo-ribaudo)
- #16141 [babel 8] Remove
babel-helper-create-class-features-plugin
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
,babel-preset-env
- #16043 [babel 8] Remove
loose
andspec
options frompreset-env
(@nicolo-ribaudo)
- #16043 [babel 8] Remove
babel-core
,babel-generator
,babel-types
- #16126 [babel 8] Remove
CodeGenerator
from@babel/generator
(@liuxingbaoyu)
- #16126 [babel 8] Remove
babel-parser
babel-traverse
,babel-types
- #16057 [babel 8] Inline
toSequenceExpression
into@babel/traverse
(@nicolo-ribaudo)
- #16057 [babel 8] Inline
babel-preset-env
- #15989 [babel 8] Remove
getModulesPluginNames
(@nicolo-ribaudo)
- #15989 [babel 8] Remove
babel-core
,babel-preset-env
- #15838 [babel 8] Remove core-js 2 and regenerator from preset-env (@nicolo-ribaudo)
babel-helper-validator-option
,babel-plugin-transform-object-rest-spread
,babel-plugin-transform-runtime
,babel-preset-env
,babel-standalone
- #16095 [babel 8] Enforce specifying proper core-js version (@liuxingbaoyu)
babel-core
,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression
,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-external-helpers
,babel-plugin-proposal-async-do-expressions
,babel-plugin-proposal-decorators
,babel-plugin-proposal-destructuring-private
,babel-plugin-proposal-do-expressions
,babel-plugin-proposal-duplicate-named-capturing-groups-regex
,babel-plugin-proposal-explicit-resource-management
,babel-plugin-proposal-export-default-from
,babel-plugin-proposal-function-bind
,babel-plugin-proposal-function-sent
,babel-plugin-proposal-import-attributes-to-assertions
,babel-plugin-proposal-partial-application
,babel-plugin-proposal-pipeline-operator
,babel-plugin-proposal-record-and-tuple
,babel-plugin-proposal-regexp-modifiers
,babel-plugin-proposal-throw-expressions
,babel-plugin-syntax-async-do-expressions
,babel-plugin-syntax-decimal
,babel-plugin-syntax-decorators
,babel-plugin-syntax-destructuring-private
,babel-plugin-syntax-do-expressions
,babel-plugin-syntax-explicit-resource-management
,babel-plugin-syntax-export-default-from
,babel-plugin-syntax-flow
,babel-plugin-syntax-function-bind
,babel-plugin-syntax-function-sent
,babel-plugin-syntax-import-assertions
,babel-plugin-syntax-import-attributes
,babel-plugin-syntax-import-reflection
,babel-plugin-syntax-jsx
,babel-plugin-syntax-module-blocks
,babel-plugin-syntax-partial-application
,babel-plugin-syntax-pipeline-operator
,babel-plugin-syntax-record-and-tuple
,babel-plugin-syntax-throw-expressions
,babel-plugin-syntax-typescript
,babel-plugin-transform-arrow-functions
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-async-to-generator
,babel-plugin-transform-block-scoped-functions
,babel-plugin-transform-block-scoping
,babel-plugin-transform-class-properties
,babel-plugin-transform-class-static-block
,babel-plugin-transform-classes
,babel-plugin-transform-computed-properties
,babel-plugin-transform-destructuring
,babel-plugin-transform-dotall-regex
,babel-plugin-transform-duplicate-keys
,babel-plugin-transform-dynamic-import
,babel-plugin-transform-exponentiation-operator
,babel-plugin-transform-export-namespace-from
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
,babel-plugin-transform-for-of
,babel-plugin-transform-function-name
,babel-plugin-transform-instanceof
,babel-plugin-transform-jscript
,babel-plugin-transform-json-strings
,babel-plugin-transform-literals
,babel-plugin-transform-logical-assignment-operators
,babel-plugin-transform-member-expression-literals
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-modules-umd
,babel-plugin-transform-new-target
,babel-plugin-transform-nullish-coalescing-operator
,babel-plugin-transform-numeric-separator
,babel-plugin-transform-object-assign
,babel-plugin-transform-object-rest-spread
,babel-plugin-transform-object-set-prototype-of-to-assign
,babel-plugin-transform-object-super
,babel-plugin-transform-optional-catch-binding
,babel-plugin-transform-optional-chaining
,babel-plugin-transform-parameters
,babel-plugin-transform-private-methods
,babel-plugin-transform-private-property-in-object
,babel-plugin-transform-property-literals
,babel-plugin-transform-property-mutators
,babel-plugin-transform-proto-to-assign
,babel-plugin-transform-react-constant-elements
,babel-plugin-transform-react-display-name
,babel-plugin-transform-react-inline-elements
,babel-plugin-transform-react-jsx-compat
,babel-plugin-transform-react-jsx-self
,babel-plugin-transform-react-jsx-source
,babel-plugin-transform-react-pure-annotations
,babel-plugin-transform-regenerator
,babel-plugin-transform-reserved-words
,babel-plugin-transform-runtime
,babel-plugin-transform-shorthand-properties
,babel-plugin-transform-spread
,babel-plugin-transform-sticky-regex
,babel-plugin-transform-strict-mode
,babel-plugin-transform-template-literals
,babel-plugin-transform-typeof-symbol
,babel-plugin-transform-typescript
,babel-plugin-transform-unicode-escapes
,babel-plugin-transform-unicode-property-regex
,babel-plugin-transform-unicode-regex
,babel-plugin-transform-unicode-sets-regex
,babel-preset-env
,babel-preset-flow
,babel-preset-react
,babel-preset-typescript
- #15955 Require exact Babel 8 version in
assertVersion
(@nicolo-ribaudo)
- #15955 Require exact Babel 8 version in
This release does not include any changes specific to Babel 8, but it ports all the recent Babel 7 commits to Babel 8.
babel-node
- #15956 [babel 8] Remove
-d
/-gc
babel-node aliases (@nicolo-ribaudo)
- #15956 [babel 8] Remove
babel-core
babel-code-frame
,babel-highlight
- #15792 [babel 8] Use ESM-based
chalk@5
(@nicolo-ribaudo)
- #15792 [babel 8] Use ESM-based
babel-core
,babel-traverse
- #15759 [babel 8] Reland "Use
NodePath#hub
as part of the paths cache key" (@nicolo-ribaudo)
- #15759 [babel 8] Reland "Use
babel-preset-typescript
babel-helper-create-class-features-plugin
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-class-static-block
,babel-plugin-transform-dynamic-import
,babel-plugin-transform-export-namespace-from
,babel-plugin-transform-json-strings
,babel-plugin-transform-logical-assignment-operators
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-nullish-coalescing-operator
,babel-plugin-transform-numeric-separator
,babel-plugin-transform-object-rest-spread
,babel-plugin-transform-optional-catch-binding
,babel-plugin-transform-optional-chaining
,babel-plugin-transform-private-property-in-object
- #15823 Do not use syntax plugins for syntax enabled by default (@nicolo-ribaudo)
babel-code-frame
,babel-highlight
- #15814 [babel 8] Use
chalk@4
(@nicolo-ribaudo)
- #15814 [babel 8] Use
babel-parser
- #12451 [babel 8] Report a SyntaxError for
}
and>
in JSX text (@nicolo-ribaudo) - #12447 [babel 8] Disallow sequence expressions in JSX expression containers (@nicolo-ribaudo)
- #12451 [babel 8] Report a SyntaxError for
- Other
- #15763 [babel 8] Bump eslint-parser/plugin eslint requirements (@JLHwung)
- #13921 [babel 8] Align
allow*
parser options with ESLint behavior (@nicolo-ribaudo)
- All packages
- #15585 [babel 8] Require Node.js
^16.20.0 || ^18.16.0 || >=20.0.0
(@nicolo-ribaudo) - #14013 [babel 8] Add
"exports"
to every package (@nicolo-ribaudo)
- #15585 [babel 8] Require Node.js
babel-plugin-proposal-decorators
,babel-plugin-proposal-pipeline-operator
,babel-plugin-transform-class-properties
- #15676 [babel 8] Only support
legacy
and2023-05
decorators (@nicolo-ribaudo)
- #15676 [babel 8] Only support
babel-core
,babel-helper-create-class-features-plugin
,babel-plugin-transform-arrow-functions
,babel-plugin-transform-computed-properties
,babel-plugin-transform-for-of
,babel-plugin-transform-regenerator
,babel-plugin-transform-unicode-escapes
,babel-preset-env
,babel-traverse
,babel-types
- #15576 [babel 8] Other Babel 8 misc changes (@nicolo-ribaudo)
babel-core
,babel-helper-builder-binary-assignment-operator-visitor
,babel-helper-create-class-features-plugin
,babel-helper-create-regexp-features-plugin
,babel-helper-environment-visitor
,babel-helper-member-expression-to-functions
,babel-helper-module-transforms
,babel-helper-plugin-utils
,babel-helper-replace-supers
,babel-helper-simple-access
,babel-helper-string-parser
,babel-helper-transform-fixture-test-runner
,babel-helpers
,babel-plugin-transform-modules-commonjs
,babel-preset-env
- #15550 More misc Babel 8 little changes (@nicolo-ribaudo)
babel-cli
,babel-compat-data
,babel-core
,babel-helper-create-class-features-plugin
,babel-helper-environment-visitor
,babel-helper-replace-supers
,babel-helpers
,babel-parser
,babel-plugin-transform-for-of
,babel-plugin-transform-react-jsx
,babel-preset-env
,babel-traverse
,babel-types
babel-types
- #15527 [babel 8] Remove builders present only for backwards-compatibility (@nicolo-ribaudo)
- #14464 [babel 8] Remove
selfClosing
fromjsxElement
builder (@wjw99830)
babel-core
,babel-plugin-syntax-flow
,babel-plugin-syntax-jsx
,babel-plugin-syntax-typescript
,babel-plugin-transform-parameters
,babel-plugin-transform-react-jsx-development
,babel-plugin-transform-spread
,babel-plugin-transform-typescript
,babel-preset-flow
,babel-preset-typescript
,babel-standalone
- #14955 [babel 8] Better file ext handling for TS and Flow presets (@nicolo-ribaudo)
babel-traverse
- #15288 [babel 8] Remove
block
argument fromScope#rename
(@nicolo-ribaudo)
- #15288 [babel 8] Remove
babel-generator
,babel-helper-compilation-targets
,babel-preset-env
,babel-preset-flow
,babel-types
babel-generator
,babel-helper-builder-binary-assignment-operator-visitor
,babel-helper-create-class-features-plugin
,babel-helper-member-expression-to-functions
,babel-helper-skip-transparent-expression-wrappers
,babel-plugin-proposal-function-bind
,babel-plugin-proposal-logical-assignment-operators
,babel-plugin-proposal-optional-chaining
,babel-plugin-proposal-partial-application
,babel-plugin-transform-proto-to-assign
,babel-plugin-transform-spread
,babel-traverse
,babel-types
babel-core
,babel-generator
,babel-helper-create-class-features-plugin
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-decorators
,babel-plugin-proposal-pipeline-operator
,babel-plugin-syntax-decorators
,babel-plugin-transform-function-name
,babel-plugin-transform-typescript
,babel-standalone
- #12712 [babel 8] Remove support for the
2018-09
decorators proposal (@nicolo-ribaudo)
- #12712 [babel 8] Remove support for the
babel-core
,babel-helper-module-imports
,babel-helper-transform-fixture-test-runner
,babel-node
,babel-plugin-proposal-class-static-block
,babel-plugin-syntax-decorators
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-runtime
,babel-standalone
babel-generator
,babel-types
- #14465 [babel 8]
ObjectTypeAnnotation
fields must always be arrays (@danez) - #12361 [babel 8] Remove the
Noop
node type (@sidntrivedi012)
- #14465 [babel 8]
babel-generator
,babel-parser
,babel-types
- #13709 [babel 8] fix properties name for function-like TS nodes (@sosukesuzuki)
- #12829 [babel 8] Use an identifier for
TSTypeParameter.name
(@fedeci)
babel-node
,babel-register
- #14025 [babel 8] Move
@babel/register
transform to a separate worker (@nicolo-ribaudo)
- #14025 [babel 8] Move
babel-parser
- #13919 Improve template tokenizing (@JLHwung)
- #13752 [babel 8] Materialize ESTree's
classFeatures
option (@nicolo-ribaudo)
babel-plugin-transform-react-constant-elements
,babel-preset-env
babel-core
- #13199 [babel 8] Move ESLint parsing to a Worker (@nicolo-ribaudo)
babel-generator
,babel-parser
babel-plugin-transform-block-scoping
,babel-traverse
babel-cli
,babel-core
,babel-helper-module-transforms
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-modules-umd
- #12724 [babel 8] Remove module-specific options from
@babel/core
(@nicolo-ribaudo)
- #12724 [babel 8] Remove module-specific options from
babel-preset-react
babel-preset-flow
babel-core
,babel-helper-compilation-targets
,babel-plugin-proposal-async-generator-functions
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-decorators
,babel-plugin-proposal-object-rest-spread
,babel-plugin-transform-classes
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
,babel-plugin-transform-function-name
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-parameters
,babel-plugin-transform-react-constant-elements
,babel-plugin-transform-regenerator
,babel-plugin-transform-runtime
,babel-preset-env
,babel-standalone
babel-plugin-proposal-dynamic-import
,babel-plugin-transform-modules-systemjs
babel-generator
,babel-plugin-transform-react-jsx
,babel-plugin-transform-template-literals
,babel-plugin-transform-unicode-escapes
babel-code-frame
,babel-highlight
- #12660 [babel 8] Improve syntax highlighting (@nicolo-ribaudo)
babel-node
,babel-plugin-transform-async-to-generator
,babel-plugin-transform-block-scoping
,babel-plugin-transform-classes
,babel-plugin-transform-function-name
,babel-plugin-transform-react-constant-elements
,babel-plugin-transform-react-inline-elements
,babel-plugin-transform-react-jsx
,babel-plugin-transform-regenerator
,babel-preset-react
,babel-preset-typescript
,babel-standalone
- #12630 [babel 8] Use the JSX automatic runtime by default (@nicolo-ribaudo)
babel-helper-builder-react-jsx
,babel-plugin-transform-react-jsx-development
,babel-plugin-transform-react-jsx
,babel-preset-react
- #12593 [babel 8] Remove
useSpread
anduseBuiltIns
jsx options (@nicolo-ribaudo)
- #12593 [babel 8] Remove
babel-preset-env
- #12594 [babel 8] Remove
uglify
target support in preset-env (@nicolo-ribaudo)
- #12594 [babel 8] Remove
babel-plugin-proposal-class-properties
,babel-plugin-transform-typescript
,babel-preset-typescript
- #12461 [babel 8] Enable
allowDeclareFields
option by default with TS (@nicolo-ribaudo)
- #12461 [babel 8] Enable
babel-preset-typescript
babel-generator
- #12477 [babel 8] Remove the
jsonCompatibleStrings
option (@nicolo-ribaudo)
- #12477 [babel 8] Remove the
babel-helper-fixtures
,babel-plugin-transform-flow-strip-types
- #12457 [babel 8] Enable
allowDeclareFields
option by default w/ Flow (@nicolo-ribaudo)
- #12457 [babel 8] Enable
babel-helper-fixtures
,babel-preset-typescript
babel-plugin-transform-runtime
- #15528 [babel 8] regeneratorRuntime helper is always available (@nicolo-ribaudo)
babel-core
- #15526 [babel 8] Remove old error plugin mappings for default syntax (@nicolo-ribaudo)
- Other
- #14949 Fix prepublish build of Babel 8 with ESM (@nicolo-ribaudo)
- #14872 Use the built-in class fields and private methods rules in ESLint 8 (@JLHwung)
babel-plugin-transform-modules-commonjs
,babel-plugin-transform-runtime
- #14120 [babel 8] Remove
@babel/runtime@<=7.13.0
compat check (@nicolo-ribaudo)
- #14120 [babel 8] Remove
babel-cli
- #14119 [babel 8] Remove
@nicolo-ribaudo/chokidar-2
fallback (@nicolo-ribaudo)
- #14119 [babel 8] Remove
babel-cli
,babel-node
,babel-plugin-transform-runtime
,babel-register
- #13828 [babel 8] Remove
make-dir
polyfill forfs.mkdirSync
(@nicolo-ribaudo) - #12458 Use native Node.js functions when available (@nicolo-ribaudo)
- #13828 [babel 8] Remove
babel-parser
- #13768 Store token type as number (@JLHwung)
- #13294 fix(parser): [Babel8] Align error codes between Flow and TypeScript (@sosukesuzuki)
babel-plugin-proposal-partial-application
,babel-types
babel-core
,babel-helper-transform-fixture-test-runner
,babel-register
babel-cli
,babel-plugin-transform-classes
,babel-register
,babel-traverse
- #12656 [babel 8] Update
globals
,find-cache-dir
andslash
(@nicolo-ribaudo)
- #12656 [babel 8] Update
babel-plugin-syntax-typescript