Releases: babel/babel
Releases · babel/babel
v7.21.0
v7.21.0 (2023-02-20)
Thanks @azizghuloum, @ehoogeveen-medweb, @fwienber, and @Lioness100 for your first PRs!
🚀 New Feature
babel-core
,babel-helper-create-class-features-plugin
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-private-methods
,babel-plugin-proposal-private-property-in-object
babel-helper-create-regexp-features-plugin
,babel-plugin-proposal-regexp-modifiers
,babel-standalone
- #15226 feat: Support regexp modifiers proposal (@liuxingbaoyu)
babel-cli
,babel-core
,babel-generator
,babel-plugin-transform-destructuring
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-react-jsx
,babel-traverse
- #15022 feat: Generate sourcemaps of friendly call frames (@liuxingbaoyu)
babel-parser
,babel-types
- #15384 [ts] Support
const
modifier in type parameters (@nicolo-ribaudo)
- #15384 [ts] Support
babel-generator
,babel-helpers
,babel-parser
,babel-plugin-proposal-decorators
,babel-plugin-syntax-decorators
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #15405 Implement decorators as presented at
2023-01
TC39 meeting (@nicolo-ribaudo)
- #15405 Implement decorators as presented at
babel-parser
- #15114 Parser option to allow
new.target
outside functions (@overlookmotel) - #15320 Add
annexb: false
parser option to disable Annex B (@nicolo-ribaudo)
- #15114 Parser option to allow
babel-core
- #15283 feat: Support
.cts
as configuration file (@liuxingbaoyu)
- #15283 feat: Support
babel-generator
,babel-parser
,babel-plugin-transform-typescript
- #15381 [ts] Support
export type * from
(@nicolo-ribaudo)
- #15381 [ts] Support
🐛 Bug Fix
babel-plugin-transform-typescript
- #15379 [ts5.0] Better inlining of constants in enums (@liuxingbaoyu)
babel-core
- #15366 handling circular/shared structures in deep-clone (@azizghuloum)
babel-helper-create-class-features-plugin
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-class-static-block
,babel-plugin-proposal-private-methods
,babel-plugin-transform-classes
,babel-plugin-transform-new-target
babel-parser
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
,babel-types
- #15414 [ts] Fix restrictions for optional parameters (@nicolo-ribaudo)
💅 Polish
🏠 Internal
babel-core
- #15137 Improve CJS compat with ESM-based
@babel/core
(@nicolo-ribaudo)
- #15137 Improve CJS compat with ESM-based
🔬 Output optimization
babel-plugin-transform-typescript
- #15418 [ts] Handle exponentiation operator in constant folding (@ehoogeveen-medweb)
Committers: 11
- Abdulaziz Ghuloum (@azizghuloum)
- Babel Bot (@babel-bot)
- Emanuel Hoogeveen (@ehoogeveen-medweb)
- Frank Wienberg (@fwienber)
- Huáng Jùnliàng (@JLHwung)
- Mateusz Burzyński (@Andarist)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @Lioness100
- @liuxingbaoyu
- @overlookmotel
- fisker Cheung (@fisker)
v7.20.15
v7.20.15 (2023-02-02)
👓 Spec Compliance
babel-parser
babel-generator
,babel-parser
,babel-plugin-proposal-export-namespace-from
🐛 Bug Fix
babel-plugin-transform-block-scoping
- #15398 fix: Loop was converted wrong (@liuxingbaoyu)
babel-parser
- #15377 fix:
new (foo?.bar)()
incorrectly throws exceptionOptionalChainingNoNew
(@liuxingbaoyu)
- #15377 fix:
Committers: 2
- Huáng Jùnliàng (@JLHwung)
- @liuxingbaoyu
v7.20.14
v7.20.14 (2023-01-27)
🐛 Bug Fix
babel-plugin-transform-block-scoping
- #15361 fix: Identifiers in the loop are not renamed (@liuxingbaoyu)
babel-cli
,babel-core
,babel-generator
,babel-helper-transform-fixture-test-runner
,babel-plugin-transform-destructuring
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-react-jsx
,babel-traverse
- #15365 fix: Properly generate source maps for manually added multi-line content (@liuxingbaoyu)
Committers: 2
- Babel Bot (@babel-bot)
- @liuxingbaoyu
v7.20.13
v7.20.13 (2023-01-21)
🐛 Bug Fix
babel-helpers
,babel-plugin-proposal-decorators
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
babel-plugin-transform-typescript
- #15349 fix: Preserve
import {type T} from 'x'
whenonlyRemoveTypeImports:true
(@liuxingbaoyu) - #15344 fix: Properties that are
abstract
should not be initialized. (@liuxingbaoyu)
- #15349 fix: Preserve
babel-parser
↩️ Revert
babel-plugin-transform-react-inline-elements
,babel-plugin-transform-react-jsx-development
,babel-plugin-transform-react-jsx
Committers: 4
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
v7.20.12
v7.20.12 (2023-01-04)
Thanks @cross19xx, @JBYoshi and @nmn for your first PRs!
🐛 Bug Fix
babel-traverse
babel-helper-create-class-features-plugin
,babel-plugin-proposal-class-properties
- #15312 fix:
delete this
in static class properties initialization (@SuperSodaSea)
- #15312 fix:
💅 Polish
Committers: 5
- Jonathan Browne (@JBYoshi)
- Kenneth Kwakye-Gyamfi (@cross19xx)
- Naman Goel (@nmn)
- Nicolò Ribaudo (@nicolo-ribaudo)
- Tianlan Zhou (@SuperSodaSea)
v7.20.11
v7.20.11 (2022-12-23)
👓 Spec Compliance
babel-helper-module-transforms
,babel-plugin-proposal-dynamic-import
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
- #15290 Return rejected promise when stringify import specifier throws (@SuperSodaSea)
🐛 Bug Fix
babel-plugin-transform-block-scoping
- #15309 Fix for binding shadowing outer var with loop closure (@nicolo-ribaudo)
Committers: 2
- Nicolò Ribaudo (@nicolo-ribaudo)
- Tianlan Zhou (@SuperSodaSea)
v7.20.10
v7.20.10 (2022-12-23)
🐛 Bug Fix
babel-traverse
- #15305 fix:
guessExecutionStatusRelativeTo
exception (@liuxingbaoyu)
- #15305 fix:
Committers: 2
- Babel Bot (@babel-bot)
- @liuxingbaoyu
v7.20.9
v7.20.9 (2022-12-23)
🐛 Bug Fix
babel-plugin-transform-block-scoping
- #15303 fix: Do not throw exceptions when scope information is corrupted (@liuxingbaoyu)
Committers: 1
v7.20.8
v7.20.8 (2022-12-22)
🐛 Bug Fix
babel-plugin-transform-block-scoping
- #15301 fix:
transform-block-scoping
accesses properties ofnull
(@liuxingbaoyu)
- #15301 fix:
babel-plugin-proposal-class-properties
,babel-traverse
Committers: 2
- Huáng Jùnliàng (@JLHwung)
- @liuxingbaoyu
v7.20.7
v7.20.7 (2022-12-22)
Thanks @wsypower for your first PR!
👓 Spec Compliance
babel-helper-member-expression-to-functions
,babel-helper-replace-supers
,babel-plugin-proposal-class-properties
,babel-plugin-transform-classes
- #15223 fix: Deleting super property should throw (@SuperSodaSea)
babel-helpers
,babel-plugin-proposal-class-properties
,babel-plugin-transform-classes
,babel-plugin-transform-object-super
- #15241 fix: Throw correct error types from sed ant class TDZ helpers (@SuperSodaSea)
🐛 Bug Fix
babel-parser
,babel-plugin-transform-typescript
- #15209 fix: Support auto accessors with TypeScript annotations (@liuxingbaoyu)
babel-traverse
- #15287 Fix
.parentPath
after rename inSwitchCase
(@nicolo-ribaudo)
- #15287 Fix
babel-plugin-transform-typescript
,babel-traverse
- #15284 fix: Ts import type and func with duplicate name (@liuxingbaoyu)
babel-plugin-transform-block-scoping
- #15278 Fix tdz analysis for reassigned captured for bindings (@nicolo-ribaudo)
babel-plugin-proposal-async-generator-functions
,babel-preset-env
- #15235 fix: Transform
for await
with shadowed variables (@liuxingbaoyu)
- #15235 fix: Transform
babel-generator
,babel-plugin-proposal-optional-chaining
- #15258 fix: Correctly generate
(a ?? b) as T
(@liuxingbaoyu)
- #15258 fix: Correctly generate
babel-plugin-transform-react-jsx
,babel-types
- #15233 fix: Emit correct sourcemap ranges for
JSXText
(@liuxingbaoyu)
- #15233 fix: Emit correct sourcemap ranges for
babel-core
,babel-helpers
,babel-plugin-transform-computed-properties
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #15232 fix: Computed properties should keep original definition order (@SuperSodaSea)
babel-helper-member-expression-to-functions
,babel-helper-replace-supers
,babel-plugin-proposal-class-properties
,babel-plugin-transform-classes
- #15223 fix: Deleting super property should throw (@SuperSodaSea)
babel-generator
- #15216 fix: Print newlines for leading Comments of
TSEnumMember
(@liuxingbaoyu)
- #15216 fix: Print newlines for leading Comments of
💅 Polish
babel-plugin-transform-block-scoping
,babel-traverse
- #15275 Improve relative execution tracking in fn exprs (@nicolo-ribaudo)
🏠 Internal
babel-helper-define-map
,babel-plugin-transform-property-mutators
- #15274 Inline & simplify
@babel/helper-define-map
(@nicolo-ribaudo)
- #15274 Inline & simplify
babel-core
,babel-plugin-proposal-class-properties
,babel-plugin-transform-block-scoping
,babel-plugin-transform-classes
,babel-plugin-transform-destructuring
,babel-plugin-transform-parameters
,babel-plugin-transform-regenerator
,babel-plugin-transform-runtime
,babel-preset-env
,babel-traverse
- #15200 Rewrite
transform-block-scoping
plugin (@nicolo-ribaudo)
- #15200 Rewrite
🏃♀️ Performance
babel-helper-compilation-targets
- #15228 perf: Speed up
getTargets
(@liuxingbaoyu)
- #15228 perf: Speed up
Committers: 6
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- Tianlan Zhou (@SuperSodaSea)
- @liuxingbaoyu
- 魏 (@wsypower)