Releases: babel/babel
Releases · babel/babel
v7.22.13
v7.22.13 (2023-08-28)
🏠 Internal
babel-helper-fixtures
,babel-plugin-proposal-function-bind
,babel-plugin-transform-modules-commonjs
,babel-preset-env
↩️ Revert
babel-parser
- #15901 Revert "Do not record trailing comma pos when
maybeAsyncArrow: false
" (@nicolo-ribaudo)
- #15901 Revert "Do not record trailing comma pos when
Committers: 2
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
v7.22.12
v7.22.12 (2023-08-25)
🐛 Bug Fix
babel-plugin-transform-optional-chaining
- #15888 Fix optional chain optimization in sequence expression (@nicolo-ribaudo)
Committers: 2
- Babel Bot (@babel-bot)
- Nicolò Ribaudo (@nicolo-ribaudo)
v7.22.11
v7.22.11 (2023-08-24)
Thanks @0o001 and @yangguansen for your first PRs!
🐛 Bug Fix
babel-plugin-transform-typescript
- #15882 Fix: fully remove TS nested type-only exported namespaces (@yangguansen)
babel-types
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-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
babel-core
- #15850 Support configuring cache in ESM configs (@nicolo-ribaudo)
🏠 Internal
babel-parser
babel-core
,babel-helper-compilation-targets
,babel-parser
,babel-plugin-proposal-destructuring-private
,babel-plugin-syntax-decorators
,babel-preset-env
,babel-preset-react
,babel-register
,babel-traverse
,babel-types
babel-core
,babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-regenerator
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- Other
🔬 Output optimization
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-transform-class-properties
,babel-plugin-transform-classes
,babel-plugin-transform-optional-chaining
,babel-preset-env
- #15871 Simplify
?.
output when chain result is ignored (@nicolo-ribaudo)
- #15871 Simplify
Committers: 7
- Babel Bot (@babel-bot)
- Daniel Tschinder (@danez)
- Huáng Jùnliàng (@JLHwung)
- Mustafa Ateş Uzun (@0o001)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
- sanmu (@yangguansen)
v8.0.0-alpha.2
v8.0.0-alpha.2 (2023-08-09)
🐛 Bug Fix
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
💅 Polish
babel-preset-typescript
🏠 Internal
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
v7.22.10
v7.22.10 (2023-08-07)
Thanks @DimitriPapadopoulos, @FabianWarnecke, @JoshuaKGoldberg, and @YYvanYang for your first pull requests!
🐛 Bug Fix
babel-plugin-transform-typescript
- #15799 [ts] Strip type-only namespaces (@nicolo-ribaudo)
- #15798 [ts] Fix compiling extended exported nested namespace (@nicolo-ribaudo)
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
,babel-plugin-proposal-destructuring-private
,babel-plugin-transform-class-properties
,babel-plugin-transform-class-static-block
,babel-plugin-transform-new-target
,babel-plugin-transform-private-methods
,babel-preset-env
💅 Polish
babel-cli
babel-traverse
,babel-types
- #15661 Improve the type definition of
path.isX
(@liuxingbaoyu)
- #15661 Improve the type definition of
babel-generator
,babel-types
🏠 Internal
- Other
babel-cli
,babel-core
,babel-generator
,babel-helper-builder-react-jsx
,babel-preset-env
,babel-standalone
babel-helper-compilation-targets
- #15811 Remove
@babel/core
peerDep fromhelper-compilation-targets
(@nicolo-ribaudo)
- #15811 Remove
babel-parser
babel-plugin-transform-runtime
,babel-traverse
,babel-types
- #15716 chore: Use
typescript-eslint@v6
with reworked configs (@JoshuaKGoldberg)
- #15716 chore: Use
🔬 Output optimization
babel-plugin-transform-block-scoping
,babel-plugin-transform-parameters
,babel-plugin-transform-regenerator
- #15746 Reduce
transform-block-scoping
loops output size (@liuxingbaoyu)
- #15746 Reduce
Committers: 9
- Babel Bot (@babel-bot)
- Dimitri Papadopoulos Orfanos (@DimitriPapadopoulos)
- Huáng Jùnliàng (@JLHwung)
- Josh Goldberg ✨ (@JoshuaKGoldberg)
- Nicolò Ribaudo (@nicolo-ribaudo)
- Tianlan Zhou (@SuperSodaSea)
- @FabianWarnecke
- @YYvanYang
- @liuxingbaoyu
v8.0.0-alpha.1
v8.0.0-alpha.1 (2023-07-24)
NOTE: We had to re-generate this git tag, but the release has been published two weeks ago
This releases fixes @babel/cli
and compatibility with babel-loader
. It also some of the peer dependencies warning.
💥 Breaking Change
babel-types
- #15802 Numeric literals must be finite and non-negative (@nicolo-ribaudo)
babel-highlight
,babel-code-frame
- #15812 Remove
getChalk
function (@nicolo-ribaudo)
- #15812 Remove
🐛 Bug Fix
babel-cli
- #15806 Make
@babel/cli
bin work with ESM (@nicolo-ribaudo)
- #15806 Make
babel-core
- #15809 Make
.version
directly available in cjs proxy (@nicolo-ribaudo)
- #15809 Make
🏠 Internal
babel-preset-env
- #15810 Remove default syntax plugins from preset-env (@nicolo-ribaudo)
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