Releases: babel/babel
Releases 路 babel/babel
v8.0.0-alpha.0
Super early pre-release of Babel 8 :)
It's currently known to not work with:
It is known to work with:
@rollup/plugin-babel
peerDependencies
are all incorrect, so use the npm flag --legacy-peer-deps
if you want to test it.
For the full Babel 8 migration guide, see https://next.babeljs.io/docs/v8-migration
v8.0.0-alpha.0 (2023-07-20)
馃憮 Spec Compliance
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
馃挜 Breaking Change
- 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
7.22.9
v7.22.9 (2023-07-12)
馃悰 Bug Fix
babel-plugin-transform-typescript
- #15774 fix:
Infinity
in enums (@liuxingbaoyu)
- #15774 fix:
babel-helper-module-transforms
,babel-helper-remap-async-to-generator
,babel-helper-replace-supers
,babel-helper-wrap-function
馃拝 Polish
babel-generator
- #15757
recordAndTupleSyntaxType
defaults to"hash"
(@coderaiser)
- #15757
馃彔 Internal
- #15748 Migrate to
eslint.config.js
(@JLHwung) - #15758 Use Prettier 3 stable (@nicolo-ribaudo)
Committers: 5
- Babel Bot (@babel-bot)
- Hu谩ng J霉nli脿ng (@JLHwung)
- Nicol貌 Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
- coderaiser (@coderaiser)
v7.22.8
v7.22.8 (2023-07-06)
This release reverts a commit that caused all new angular installations to fail: angular/angular-cli#25496
鈫╋笍 Revert
babel-core
,babel-traverse
- #15754 Revert "Use
NodePath#hub
as part of the paths cache key" (@nicolo-ribaudo)
- #15754 Revert "Use
Committers: 1
- Nicol貌 Ribaudo (@nicolo-ribaudo)
v7.22.7
v7.22.7 (2023-07-06)
馃悰 Bug Fix
babel-generator
- #15719 fix: Avoid internally generating negative source maps columns (@liuxingbaoyu)
babel-core
,babel-traverse
- #15725 Use
NodePath#hub
as part of the paths cache key (@nicolo-ribaudo)
- #15725 Use
- Other
馃彔 Internal
babel-core
,babel-traverse
- #15702 Refactor visitors merging (@nullableVoidPtr)
Committers: 4
- Avery (@nullableVoidPtr)
- Hu谩ng J霉nli脿ng (@JLHwung)
- Nicol貌 Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
v7.22.6
v7.22.6 (2023-07-04)
馃悰 Bug Fix
babel-compat-data
,babel-helper-compilation-targets
,babel-preset-env
babel-plugin-transform-optional-chaining
- #15739 Fix transform of
delete a?.b
in function params (@nicolo-ribaudo)
- #15739 Fix transform of
babel-helper-split-export-declaration
,babel-plugin-transform-modules-commonjs
- #15736 fix: Default export for duplicate names (@liuxingbaoyu)
babel-compat-data
,babel-preset-env
babel-helpers
,babel-plugin-proposal-explicit-resource-management
,babel-runtime-corejs3
,babel-runtime
- #15705 Fix handling of sync error in
@@asyncDispose
(@nicolo-ribaudo)
- #15705 Fix handling of sync error in
babel-standalone
- #15707 fix: Support transforming Explicit Resource Management in
stage-2
(@liuxingbaoyu)
- #15707 fix: Support transforming Explicit Resource Management in
babel-core
- #15626 fix: Works correctly with
--frozen-intrinsics
(@liuxingbaoyu)
- #15626 fix: Works correctly with
馃彔 Internal
babel-helper-create-class-features-plugin
,babel-plugin-transform-classes
馃敩 Output optimization
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-transform-class-properties
,babel-plugin-transform-optional-chaining
,babel-plugin-transform-typescript
- #15740 Compress output for optional chain with multiple
?.
(@nicolo-ribaudo)
- #15740 Compress output for optional chain with multiple
babel-plugin-proposal-destructuring-private
,babel-plugin-proposal-do-expressions
,babel-plugin-proposal-pipeline-operator
,babel-plugin-transform-class-properties
,babel-plugin-transform-nullish-coalescing-operator
,babel-plugin-transform-optional-chaining
,babel-plugin-transform-private-property-in-object
,babel-traverse
- #15741 Inject tmp vars in the params list of IIFEs when possible (@nicolo-ribaudo)
Committers: 5
- Babel Bot (@babel-bot)
- Hu谩ng J霉nli脿ng (@JLHwung)
- Joe Maffei (@joemaffei)
- Nicol貌 Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
v7.22.5
v7.22.5 (2023-06-08)
馃悰 Bug Fix
babel-preset-env
,babel-standalone
- #15675 Fix using
syntax-unicode-sets-regex
in standalone (@nicolo-ribaudo)
- #15675 Fix using
馃拝 Polish
babel-core
- #15683 Suggest
-transform-
when resolving missing plugins (@nicolo-ribaudo)
- #15683 Suggest
Committers: 4
- Avery (@nullableVoidPtr)
- Babel Bot (@babel-bot)
- Nicol貌 Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
v7.22.4
v7.22.4 (2023-05-29)
馃悰 Bug Fix
babel-traverse
- #15649 Set
shorthand: false
when renaming an identifier inside an object property (@coderaiser)
- #15649 Set
馃彔 Internal
babel-types
- #15666 Add missing
attributes
/assertions
toVISITOR_KEYS
(@nicolo-ribaudo)
- #15666 Add missing
babel-parser
- #15667 Mark
assert
attributes withextra.deprecatedAssertSyntax
(@nicolo-ribaudo)
- #15667 Mark
Committers: 3
- Hu谩ng J霉nli脿ng (@JLHwung)
- Nicol貌 Ribaudo (@nicolo-ribaudo)
- coderaiser (@coderaiser)
v7.22.3
v7.22.2
v7.22.2 (2023-05-26)
馃悰 Bug Fix
babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs2
- #15660 Fix importing symbol polyfill in
@babel/runtime-corejs2
(@nicolo-ribaudo)
- #15660 Fix importing symbol polyfill in
Committers: 1
- Nicol貌 Ribaudo (@nicolo-ribaudo)
v7.22.1
v7.22.1 (2023-05-26)
馃悰 Bug Fix
babel-preset-env
- #15658 Workaround for broken babel-preset-react-app (@nicolo-ribaudo)
Committers: 2
- Nicol貌 Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu