Changelog
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 frm v7.0.0.
See CHANGELOG - v7 prereleases for v7.0.0-alpha.1 to v7.0.0-rc.4 changes.
See CHANGELOG - v4, CHANGELOG - v5, and CHANGELOG - v6 for v4.x-v6.x changes.
See CHANGELOG - 6to5 for the pre-4.0.0 version changelog.
See Babylon's CHANGELOG for the Babylon pre-7.0.0-beta.29 version changelog.
See babel-eslint
's releases for the changelog before @babel/eslint-parser
7.8.0.
See eslint-plugin-babel
's releases for the changelog before @babel/eslint-plugin
7.8.0.
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
v7.20.12 (2023-01-04)
🐛 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
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)
v7.20.10 (2022-12-23)
🐛 Bug Fix
babel-traverse
- #15305 fix:
guessExecutionStatusRelativeTo
exception (@liuxingbaoyu)
- #15305 fix:
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)
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
v7.20.7 (2022-12-22)
👓 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
v7.20.6 (2022-11-28)
🐛 Bug Fix
babel-helpers
- #15231 Update
checkInRHS
helper min version (@nicolo-ribaudo)
- #15231 Update
v7.20.5 (2022-11-28)
👓 Spec Compliance
babel-helpers
,babel-plugin-transform-destructuring
,babel-plugin-transform-modules-commonjs
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
,babel-traverse
- #15183 Improve array destructuring spec compliance (@SuperSodaSea)
babel-cli
,babel-helpers
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-class-static-block
,babel-plugin-transform-classes
,babel-plugin-transform-runtime
,babel-preset-env
babel-helper-create-class-features-plugin
,babel-helpers
,babel-plugin-proposal-decorators
,babel-plugin-proposal-private-property-in-object
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
🐛 Bug Fix
babel-parser
babel-helper-wrap-function
,babel-preset-env
,babel-traverse
- #15181 fix: Edge cases for async functions and
noNewArrow
assumption (@liuxingbaoyu)
- #15181 fix: Edge cases for async functions and
babel-plugin-transform-arrow-functions
,babel-plugin-transform-parameters
,babel-traverse
- #15163 fix: Throw error when compiling
super()
in arrow functions with default / rest parameters (@SuperSodaSea)
- #15163 fix: Throw error when compiling
babel-helpers
,babel-node
,babel-plugin-proposal-async-generator-functions
,babel-plugin-transform-regenerator
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #15194 fix: Bump
regenerator
and add tests (@SuperSodaSea)
- #15194 fix: Bump
babel-helper-create-regexp-features-plugin
- #15192 fix: Update
regjsparser
for@babel/standalone
(@liuxingbaoyu)
- #15192 fix: Update
babel-parser
,babel-types
- #15109 fix: Babel 8 types (@liuxingbaoyu)
babel-generator
- #15143 Don't print inner comments as leading when wrapping in
(``)
(@nicolo-ribaudo)
- #15143 Don't print inner comments as leading when wrapping in
babel-plugin-transform-block-scoping
,babel-traverse
- #15167 Register
switch
'sdiscriminant
in the outer scope (@nicolo-ribaudo)
- #15167 Register
💅 Polish
babel-generator
- #15173 Improve generator behavior when
comments:false
(@liuxingbaoyu)
- #15173 Improve generator behavior when
babel-plugin-transform-block-scoping
- #15164 Only extract IDs for TDZ checks in assign when necessary (@nicolo-ribaudo)
🏠 Internal
v7.20.4 (2022-11-08)
🐛 Bug Fix
babel-generator
- #15160 Fix printing of comments before
=>
(@nicolo-ribaudo)
- #15160 Fix printing of comments before
babel-generator
,babel-plugin-transform-typescript
- #15144 Falback to printing inner comments as trailing (@nicolo-ribaudo)
v7.20.3 (2022-11-07)
🐛 Bug Fix
babel-generator
- #15135 Don't convert line comments containing
*/
to block comments (@liuxingbaoyu)
- #15135 Don't convert line comments containing
babel-plugin-transform-parameters
- #15146 Fix compilation of parameters in async generators (@nicolo-ribaudo)
babel-parser
v7.20.2 (2022-11-04)
🐛 Bug Fix
babel-core
,babel-helper-create-class-features-plugin
,babel-helper-module-transforms
,babel-helper-plugin-utils
,babel-helper-simple-access
,babel-node
,babel-plugin-transform-block-scoping
,babel-plugin-transform-classes
,babel-plugin-transform-react-constant-elements
,babel-preset-env
,babel-standalone
,babel-types
- #15124 fix:
@babel/node
repl and enableno-use-before-define
rule (@liuxingbaoyu)
- #15124 fix:
babel-plugin-transform-typescript
- #15121 fix:
tsSatisfiesExpression
check with different duplicated@babel/types
versions (@liuxingbaoyu)
- #15121 fix:
babel-parser
- #15094 fix:
parser
typings for plugins (@liuxingbaoyu)
- #15094 fix:
babel-generator
- #15118 Improve printing of [no LineTerminator here] with comments (@nicolo-ribaudo)
babel-plugin-proposal-decorators
,babel-plugin-proposal-object-rest-spread
,babel-plugin-transform-jscript
babel-plugin-transform-destructuring
- #15104 fix: Destructuring exceptions
for ( let { } = 0 ; 0 ; )
(@liuxingbaoyu)
- #15104 fix: Destructuring exceptions
v7.20.1 (2022-11-01)
🐛 Bug Fix
babel-plugin-proposal-async-generator-functions
- #15103 fix: Compile re-declare var in
init
andbody
offor await
(@liuxingbaoyu)
- #15103 fix: Compile re-declare var in
babel-plugin-proposal-class-properties
,babel-traverse
- #15106 Do not mark
in
andinstanceof
as constant expressions (@nicolo-ribaudo)
- #15106 Do not mark
babel-helpers
,babel-plugin-proposal-duplicate-named-capturing-groups-regex
,babel-plugin-transform-named-capturing-groups-regex
babel-parser
- #15102 fix: Parse re-declare var in class static body (@liuxingbaoyu)
- #15096 fix:
a satisfies b
as lval (@liuxingbaoyu)
babel-helpers
,babel-plugin-proposal-duplicate-named-capturing-groups-regex
babel-plugin-transform-async-to-generator
,babel-plugin-transform-parameters
,babel-preset-env
- #15081 Move the generator body to a gen IIFE when compiling its params (@nicolo-ribaudo)
🏠 Internal
babel-generator
- #15080 Automatically print inner comments (@nicolo-ribaudo)
v7.20.0 (2022-10-27)
🚀 New Feature
babel-compat-data
,babel-helper-compilation-targets
,babel-preset-env
babel-plugin-syntax-typescript
- #14923 Expose
dts
option in@babel/plugin-syntax-typescript
(@oceandrama)
- #14923 Expose
babel-generator
,babel-parser
,babel-plugin-syntax-explicit-resource-management
,babel-plugin-transform-block-scoping
,babel-plugin-transform-destructuring
,babel-standalone
,babel-traverse
,babel-types
babel-generator
,babel-parser
,babel-plugin-syntax-import-reflection
,babel-standalone
,babel-types
babel-generator
,babel-helper-skip-transparent-expression-wrappers
,babel-parser
,babel-plugin-transform-typescript
,babel-traverse
,babel-types
- #14211 [ts] Add support for
expr satisfies Type
expressions (@nicolo-ribaudo)
- #14211 [ts] Add support for
🐛 Bug Fix
babel-generator
,babel-parser
- #15032 Fix handling of comments with decorators before
export
(@nicolo-ribaudo)
- #15032 Fix handling of comments with decorators before
babel-generator
🏠 Internal
babel-helpers
,babel-node
,babel-plugin-proposal-async-generator-functions
,babel-plugin-transform-regenerator
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #15078 Update
regenerator-runtime
(@nicolo-ribaudo)
- #15078 Update
v7.19.6 (2022-10-20)
👓 Spec Compliance
babel-plugin-proposal-decorators
🐛 Bug Fix
babel-parser
- #15062 Fix parsing of block comments nested in flow comments (@nicolo-ribaudo)
- #15052 fix: improve module block program location tracking (@JLHwung)
babel-plugin-transform-runtime
,babel-runtime-corejs2
,babel-runtime-corejs3
babel-preset-env
,babel-traverse
- #15043 fix: preserve this for
super.*
template tags (@liuxingbaoyu)
- #15043 fix: preserve this for
💅 Polish
babel-generator
,babel-plugin-transform-flow-comments
- #15037 Improve generation of comments without location (@liuxingbaoyu)
📝 Documentation
🏠 Internal
babel-parser
- #15056 Use
startLoc.index
instead of carrying aroundstart
(@nicolo-ribaudo)
- #15056 Use
- Other
- #15035 chore: Update yarn 3.2.4 (@liuxingbaoyu)
🏃♀️ Performance
babel-core
,babel-standalone
- #15023 Don't bundle unnecessary plugins in
@babel/standalone
(@nicolo-ribaudo)
- #15023 Don't bundle unnecessary plugins in
v7.19.5 (2022-10-10)
🐛 Bug Fix
babel-generator
- #15031 Fix "Cannot read properties of undefined" regression (@farewell-zy)
v7.19.4 (2022-10-10)
👓 Spec Compliance
babel-plugin-transform-block-scoping
- #15019 fix: check constant violation inside loops (@nicolo-ribaudo)
babel-helpers
,babel-plugin-proposal-destructuring-private
,babel-plugin-proposal-object-rest-spread
,babel-plugin-transform-destructuring
- #14985 Disallow rest object destructuring of null/undefined (@nicolo-ribaudo)
🐛 Bug Fix
babel-plugin-transform-react-jsx-development
,babel-plugin-transform-typescript
,babel-types
- #14109 Fix: properly scope variables in TSModuleBlock (@The-x-Theorist)
babel-plugin-transform-destructuring
,babel-plugin-transform-react-constant-elements
,babel-traverse
- #15027 fix: mark
var
declarations in loops as not constant (@nicolo-ribaudo)
- #15027 fix: mark
babel-helper-string-parser
,babel-parser
,babel-types
- #14964 Never throw for invalid escapes in tagged templates (@nicolo-ribaudo)
babel-generator
,babel-parser
babel-plugin-transform-destructuring
- #14984 Fix holes handling in optimized array destructuring (@nicolo-ribaudo)
💅 Polish
babel-cli
,babel-core
,babel-generator
,babel-helper-create-class-features-plugin
,babel-helper-fixtures
,babel-helper-simple-access
,babel-helper-transform-fixture-test-runner
,babel-helpers
,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-async-generator-functions
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-class-static-block
,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-dynamic-import
,babel-plugin-proposal-function-bind
,babel-plugin-proposal-function-sent
,babel-plugin-proposal-json-strings
,babel-plugin-proposal-logical-assignment-operators
,babel-plugin-proposal-nullish-coalescing-operator
,babel-plugin-proposal-object-rest-spread
,babel-plugin-proposal-optional-chaining
,babel-plugin-proposal-partial-application
,babel-plugin-proposal-pipeline-operator
,babel-plugin-proposal-private-methods
,babel-plugin-proposal-private-property-in-object
,babel-plugin-proposal-record-and-tuple
,babel-plugin-syntax-typescript
,babel-plugin-transform-arrow-functions
,babel-plugin-transform-async-to-generator
,babel-plugin-transform-block-scoping
,babel-plugin-transform-classes
,babel-plugin-transform-computed-properties
,babel-plugin-transform-destructuring
,babel-plugin-transform-duplicate-keys
,babel-plugin-transform-exponentiation-operator
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
,babel-plugin-transform-for-of
,babel-plugin-transform-function-name
,babel-plugin-transform-jscript
,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-object-super
,babel-plugin-transform-parameters
,babel-plugin-transform-proto-to-assign
,babel-plugin-transform-react-constant-elements
,babel-plugin-transform-react-inline-elements
,babel-plugin-transform-react-jsx-development
,babel-plugin-transform-react-jsx-self
,babel-plugin-transform-react-jsx
,babel-plugin-transform-react-pure-annotations
,babel-plugin-transform-regenerator
,babel-plugin-transform-runtime
,babel-plugin-transform-shorthand-properties
,babel-plugin-transform-spread
,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-preset-env
,babel-preset-react
,babel-preset-typescript
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
,babel-traverse
- #14979 Improve comments generation (@liuxingbaoyu)
babel-cli
,babel-core
,babel-generator
,babel-helper-fixtures
,babel-helper-transform-fixture-test-runner
,babel-plugin-transform-destructuring
,babel-plugin-transform-modules-commonjs
,babel-traverse
- #14967 Improve source map generation (@liuxingbaoyu)
🏠 Internal
- Other
- #15001 Run test262 again (@nicolo-ribaudo)
babel-compat-data
,babel-preset-env
- #14976 Internally rename
proposal-*
totransform-*
in preset-env (@nicolo-ribaudo)
- #14976 Internally rename
v7.19.3 (2022-09-27)
🐛 Bug Fix
babel-plugin-proposal-decorators
- #8566 Correctly update bindings of decorated class declarations (@nicolo-ribaudo)
babel-parser
- #14974 fix: Normal parsing of
JSXText
followingJSXSpreadChild
(@liuxingbaoyu) - #14941 fix: Support local exports in TS
declare module
s (@liuxingbaoyu) - #14940 fix: allow ts redeclaration with
import =
andvar
(@liuxingbaoyu)
- #14974 fix: Normal parsing of
babel-generator
- #14962 Fix printing of Flow internal slot functions (@liuxingbaoyu)
babel-cli
- #14950 Emit
@babel/cli
source maps based on configuration files (@liuxingbaoyu)
- #14950 Emit
babel-plugin-transform-typescript
- #14946 fix: ts exported vars are shadowed by
declare
(@liuxingbaoyu)
- #14946 fix: ts exported vars are shadowed by
💅 Polish
babel-core
- #14954 Optional filename when preset uses fn test/include/exclude (@nicolo-ribaudo)
🏠 Internal
babel-helper-compilation-targets
,babel-helper-transform-fixture-test-runner
,babel-parser
,babel-preset-env
,babel-traverse
- #14961 chore: use
c8
for coverage testing (@liuxingbaoyu)
- #14961 chore: use
🔬 Output optimization
babel-plugin-transform-typescript
- #14952 [ts] remove nested
declare namespace
(@liuxingbaoyu)
- #14952 [ts] remove nested
v7.19.2 (2022-09-15)
🐛 Bug Fix
v7.19.1 (2022-09-14)
🐛 Bug Fix
babel-core
- #14930 Avoid fancy stack traces size computation (@nicolo-ribaudo)
babel-traverse
- Other
babel-parser
- #14920 [estree] attach comments after directives at the end of file (@hegemonic)
- #14900 [ts] allow redeclaring a var/type with the same name as import (@liuxingbaoyu)
babel-plugin-transform-typescript
v7.19.0 (2022-09-05)
👓 Spec Compliance
babel-parser
babel-helpers
,babel-plugin-proposal-async-generator-functions
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #14877 Remove one promise tick in yield* (tc39/ecma262#2819) (@nicolo-ribaudo)
🚀 New Feature
babel-generator
,babel-helpers
,babel-parser
,babel-plugin-proposal-decorators
,babel-plugin-syntax-decorators
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #14836 Add 2022-03 decorators version (stage 3) (@nicolo-ribaudo)
babel-parser
- #14695 [parser] Make
decoratorsBeforeExport
default tofalse
(@nicolo-ribaudo)
- #14695 [parser] Make
babel-generator
,babel-parser
- #14744 Default to hash syntax for Record&Tuple (@nicolo-ribaudo)
babel-standalone
babel-helper-create-regexp-features-plugin
,babel-helpers
,babel-plugin-proposal-duplicate-named-capturing-groups-regex
,babel-plugin-transform-named-capturing-groups-regex
,babel-standalone
- #14805 Add support for the duplicate named capturing groups proposal (@nicolo-ribaudo)
🐛 Bug Fix
babel-helper-function-name
,babel-helper-wrap-function
,babel-plugin-transform-classes
babel-plugin-transform-typescript
- #14890 fix: TS plugin shouldn't remove
#privateField!
(@liuxingbaoyu)
- #14890 fix: TS plugin shouldn't remove
babel-parser
babel-helper-builder-react-jsx
💅 Polish
babel-core
- #11612 Make error message prefixes more descriptive (@eps1lon)
- #11554 Hide internal
@babel/core
functions in config errors (@nicolo-ribaudo)
📝 Documentation
🏠 Internal
babel-standalone
babel-core
,babel-parser
,babel-traverse
v7.18.13 (2022-08-22)
🐛 Bug Fix
babel-generator
- #14869 fix: jsx with
retainLines
(@liuxingbaoyu)
- #14869 fix: jsx with
babel-core
babel-plugin-transform-destructuring
- #14841 fix: Destructuring exceptions in nested
for
expressions (@liuxingbaoyu)
- #14841 fix: Destructuring exceptions in nested
💅 Polish
babel-traverse
🏠 Internal
- #14846 fix: Print build logs correctly (@liuxingbaoyu)
v7.18.12 (2022-08-05)
🐛 Bug Fix
babel-plugin-transform-react-constant-elements
babel-generator
- #14810 fix: Certain comments cause
generator
exceptions (@liuxingbaoyu)
- #14810 fix: Certain comments cause
babel-plugin-transform-typescript
v7.18.11 (2022-08-04)
🐛 Bug Fix
🏠 Internal
babel-traverse
babel-parser
v7.18.10 (2022-08-01)
🚀 New Feature
babel-helper-string-parser
,babel-types
- #14757 feat: Automatically generate
cooked
fortemplateElement
(@liuxingbaoyu)
- #14757 feat: Automatically generate
🐛 Bug Fix
babel-parser
- #14817 fix(parser): allow TS declare readonly fields with initializers (@Josh-Cena)
babel-helper-string-parser
,babel-parser
- #14798 Fix position of errors in template literals after newlines (@nicolo-ribaudo)
babel-plugin-transform-typescript
- #14774 fix: TS
declare class
in namespace should be removed (@yimingjfe)
- #14774 fix: TS
babel-plugin-transform-react-jsx
babel-generator
- #14762 fix: Types containing comments generate invalid code (@liuxingbaoyu)
babel-helper-wrap-function
,babel-plugin-transform-async-to-generator
,babel-traverse
- #14752 Fix compiling async arrows in uncompiled class fields (@nicolo-ribaudo)
🏠 Internal
- Other
- #14800 chore: Remove
.yarnrc
file (@liuxingbaoyu) - #14802 chore: Fix coverage test (@liuxingbaoyu)
- #14671 feat: Make most
make
commands cross-platform (@liuxingbaoyu) - #14790 enable typescript incremental builds (@zxbodya)
- #14800 chore: Remove
babel-traverse
babel-cli
- #14779 chore: expand prettier-e2e test and update typings/deps (@liuxingbaoyu)
babel-parser
babel-core
,babel-parser
babel-cli
,babel-core
,babel-parser
,babel-plugin-transform-unicode-escapes
,babel-preset-env
,babel-template
,babel-traverse
babel-helper-string-parser
,babel-parser
- #14772 Extract string parsing to a separate package (@nicolo-ribaudo)
babel-cli
,babel-node
- #14765 Enforce type checking on
babel-{cli,node}
(@liuxingbaoyu)
- #14765 Enforce type checking on
🔬 Output optimization
babel-plugin-proposal-export-default-from
- #14768 optimize: Simplify the
export-default-from
transform (@magic-akari)
- #14768 optimize: Simplify the
v7.18.9 (2022-07-18)
🐛 Bug Fix
babel-plugin-transform-modules-systemjs
,babel-types
babel-generator
- #14758 fix:
returnType
with comments generates incorrect code (@liuxingbaoyu)
- #14758 fix:
💅 Polish
babel-cli
- #14748 Print a message when the watcher of
babel-cli
is ready. (@liuxingbaoyu)
- #14748 Print a message when the watcher of
🏠 Internal
babel-core
,babel-helper-remap-async-to-generator
,babel-helpers
,babel-parser
,babel-plugin-transform-block-scoping
,babel-preset-env
- #13414 Prepare for compiling Babel to native ESM (@nicolo-ribaudo)
babel-helper-create-class-features-plugin
,babel-helper-member-expression-to-functions
,babel-helper-remap-async-to-generator
,babel-helper-replace-supers
,babel-helper-wrap-function
,babel-helpers
,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-proposal-decorators
,babel-plugin-proposal-object-rest-spread
,babel-plugin-proposal-optional-chaining
,babel-plugin-transform-block-scoping
,babel-plugin-transform-classes
,babel-traverse
,babel-types
🏃♀️ Performance
babel-generator
- #14701 perf: Improve generator perf (@liuxingbaoyu)
v7.18.8 (2022-07-08)
👓 Spec Compliance
🐛 Bug Fix
babel-plugin-transform-parameters
- #14736 Inject IIFE when variables shadow binding in rest param (@nicolo-ribaudo)
babel-plugin-transform-classes
babel-plugin-transform-for-of
,babel-plugin-transform-spread
,babel-traverse
,babel-types
babel-helper-module-transforms
,babel-plugin-transform-modules-commonjs
- #14708 Unshadow
cjs
exports when transforming mutations (@nicolo-ribaudo)
- #14708 Unshadow
📝 Documentation
- #14486 Fix test debugging instructions for contributors (@conartist6)
🏠 Internal
babel-types
- Other
babel-helper-fixtures
,babel-parser
🔬 Output optimization
babel-plugin-transform-typescript
- #14723 [optimizeConstEnums] Inline const enum if only exported as type (@nicolo-ribaudo)
v7.18.7 (2022-06-28)
🐛 Bug Fix
babel-types
- #14706 fix:
@babel/types
exception in typescript project. (@liuxingbaoyu)
- #14706 fix:
v7.18.6 (2022-06-27)
👓 Spec Compliance
babel-parser
- #14650 [ts] Disallow property access after instantiation expression (@nicolo-ribaudo)
- #14636 [ts] Allow
...<...>
followed by newline or binary operator (@nicolo-ribaudo)
babel-generator
,babel-parser
,babel-preset-env
,babel-template
🐛 Bug Fix
babel-helper-remap-async-to-generator
,babel-plugin-proposal-async-generator-functions
- #14391 Transform
await
in computed class keys (@Yokubjon-J)
- #14391 Transform
babel-plugin-transform-parameters
- #14694 fix: preserve function params type if possible (@magic-akari)
babel-core
- #14583 fix: Memory leak when deep cloning in
babel-core
(@liuxingbaoyu)
- #14583 fix: Memory leak when deep cloning in
babel-core
,babel-helper-check-duplicate-nodes
,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression
,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-proposal-destructuring-private
,babel-plugin-proposal-optional-chaining
,babel-plugin-transform-runtime
- #14663 Fix
import { types } from "@babel/core"
with native ESM (@nicolo-ribaudo)
- #14663 Fix
🏠 Internal
babel-standalone
- #14697 Add
proposal-unicode-sets-regex
to@babel/standalone
(@nicolo-ribaudo)
- #14697 Add
- Other
- #14687 chore: Update bench baselines (@liuxingbaoyu)
babel-generator
,babel-types
babel-code-frame
,babel-core
,babel-generator
,babel-helper-annotate-as-pure
,babel-helper-builder-binary-assignment-operator-visitor
,babel-helper-builder-react-jsx
,babel-helper-check-duplicate-nodes
,babel-helper-compilation-targets
,babel-helper-create-class-features-plugin
,babel-helper-create-regexp-features-plugin
,babel-helper-define-map
,babel-helper-explode-assignable-expression
,babel-helper-fixtures
,babel-helper-function-name
,babel-helper-hoist-variables
,babel-helper-member-expression-to-functions
,babel-helper-module-imports
,babel-helper-module-transforms
,babel-helper-optimise-call-expression
,babel-helper-plugin-test-runner
,babel-helper-plugin-utils
,babel-helper-remap-async-to-generator
,babel-helper-replace-supers
,babel-helper-simple-access
,babel-helper-split-export-declaration
,babel-helper-transform-fixture-test-runner
,babel-helper-validator-option
,babel-helper-wrap-function
,babel-helpers
,babel-highlight
,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-external-helpers
,babel-plugin-proposal-async-generator-functions
,babel-plugin-proposal-class-static-block
,babel-plugin-proposal-decorators
,babel-plugin-proposal-destructuring-private
,babel-plugin-proposal-function-bind
,babel-plugin-proposal-function-sent
,babel-plugin-proposal-json-strings
,babel-plugin-proposal-object-rest-spread
,babel-plugin-proposal-optional-chaining
,babel-plugin-proposal-partial-application
,babel-plugin-proposal-pipeline-operator
,babel-plugin-proposal-private-property-in-object
,babel-plugin-proposal-record-and-tuple
,babel-plugin-syntax-typescript
,babel-plugin-transform-block-scoped-functions
,babel-plugin-transform-block-scoping
,babel-plugin-transform-classes
,babel-plugin-transform-computed-properties
,babel-plugin-transform-destructuring
,babel-plugin-transform-duplicate-keys
,babel-plugin-transform-exponentiation-operator
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
,babel-plugin-transform-for-of
,babel-plugin-transform-function-name
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-modules-umd
,babel-plugin-transform-object-super
,babel-plugin-transform-parameters
,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-source
,babel-plugin-transform-react-jsx
,babel-plugin-transform-runtime
,babel-plugin-transform-typescript
,babel-plugin-transform-unicode-escapes
,babel-preset-env
,babel-preset-typescript
,babel-standalone
,babel-template
,babel-traverse
,babel-types
babel-core
,babel-helper-transform-fixture-test-runner
,babel-plugin-transform-destructuring
- #14659 Run Babel asynchronously in fixtures (@nicolo-ribaudo)
v7.18.5 (2022-06-13)
🐛 Bug Fix
babel-plugin-transform-new-target
- #14611 fix:
new.target
with shadowed class name (@liuxingbaoyu)
- #14611 fix:
babel-plugin-transform-modules-systemjs
📝 Documentation
- #14332 docs: eslint-parser requireConfigFile behaviour (@JLHwung)
- #14619 Move v7 prereleases changelog to a separate file (@nicolo-ribaudo)
🏠 Internal
babel-traverse
- #14649 Rely on the call stack to clean up cache in
_guessExecutionStatusRelativeTo
(@nicolo-ribaudo)
- #14649 Rely on the call stack to clean up cache in
babel-core
- Other
- #14627 Speedup e2e test on github (@liuxingbaoyu)
- #14248 chore: automate compat-data update (@tony-go)
babel-parser
- #14592 feat: Automatically generate test results that do not exist (@liuxingbaoyu)
🏃♀️ Performance
babel-traverse
- #14617 Fix
_guessExecutionStatusRelativeToDifferentFunctions
perf (@liuxingbaoyu)
- #14617 Fix
v7.18.4 (2022-05-29)
👓 Spec Compliance
🐛 Bug Fix
babel-plugin-transform-typescript
- #14610 Fix
@babel/transform-typescript
compatibility with Next.js (@nicolo-ribaudo)
- #14610 Fix
babel-parser
- #14604 [ts] FIx parsing of nested
extends
type in arrow type (@nicolo-ribaudo)
- #14604 [ts] FIx parsing of nested
babel-helper-check-duplicate-nodes
,babel-parser
- #14595 fix:
loc.index
of some nodes is wrongly enumerable. (@liuxingbaoyu)
- #14595 fix:
🏠 Internal
babel-plugin-transform-block-scoping
,babel-plugin-transform-classes
,babel-plugin-transform-modules-systemjs
v7.18.3 (2022-05-25)
🐛 Bug Fix
babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
v7.18.2 (2022-05-25)
🐛 Bug Fix
babel-plugin-transform-template-literals
babel-helpers
- #14537 Support frozen built-ins in
@babel/runtime
(@Jack-Works)
- #14537 Support frozen built-ins in
babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #14581 Define the global
regeneratorRuntime
in@babel/runtime/regenerator
(@nicolo-ribaudo)
- #14581 Define the global
babel-helper-environment-visitor
,babel-helper-replace-supers
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-decorators
,babel-traverse
,babel-types
📝 Documentation
🏠 Internal
- #14541 Fix synchronization between main thread and worker (@liuxingbaoyu)
v7.18.1 (2022-05-19)
🐛 Bug Fix
babel-plugin-transform-typescript
- #14566 Fix TypeScript plugin compat with
@babel/types
versions (@nicolo-ribaudo)
- #14566 Fix TypeScript plugin compat with
babel-plugin-transform-for-of
- #14564 fix: Duplicate declaration in transformed for...of (@liuxingbaoyu)
v7.18.0 (2022-05-19)
🚀 New Feature
babel-preset-env
babel-helper-create-class-features-plugin
,babel-helper-define-map
,babel-plugin-proposal-class-static-block
,babel-plugin-proposal-destructuring-private
,babel-plugin-proposal-object-rest-spread
,babel-plugin-syntax-destructuring-private
,babel-plugin-transform-destructuring
,babel-plugin-transform-proto-to-assign
,babel-plugin-transform-typescript
,babel-standalone
,babel-traverse
,babel-types
babel-generator
,babel-parser
,babel-types
- #14359 [ts 4.7] Support optional variance annotations (@magic-akari)
babel-generator
,babel-parser
- #14476 [ts 4.7] Support
extends
constraints forinfer
(@sosukesuzuki)
- #14476 [ts 4.7] Support
babel-generator
,babel-parser
,babel-plugin-transform-typescript
,babel-traverse
,babel-types
- #14457 [ts] Add support for instantiation expressions (@nicolo-ribaudo)
babel-helper-module-transforms
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-umd
- #14456 Pass filename to
importInterop
method (@NickHeiner)
- #14456 Pass filename to
🐛 Bug Fix
babel-types
- #14551 Do not create multiple copies of comments when cloning nodes (@liuxingbaoyu)
babel-parser
babel-plugin-transform-react-pure-annotations
💅 Polish
babel-core
,babel-helper-transform-fixture-test-runner
,babel-helpers
,babel-plugin-proposal-async-generator-functions
,babel-plugin-transform-async-to-generator
,babel-plugin-transform-block-scoping
,babel-plugin-transform-classes
,babel-plugin-transform-regenerator
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
,babel-standalone
- #14538 Inline
regeneratorRuntime
as a normal helper (@nicolo-ribaudo)
- #14538 Inline
🏠 Internal
babel-core
,babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
,babel-plugin-transform-modules-systemjs
v7.17.12 (2022-05-16)
🐛 Bug Fix
babel-plugin-transform-react-constant-elements
- #14536 Never hoist JSX elts referencing vars from the current scope (@nicolo-ribaudo)
babel-generator
babel-plugin-transform-destructuring
babel-parser
babel-parser
,babel-plugin-transform-destructuring
,babel-types
- #14500 Fix parsing ts type casts and nested patterns in destructuring (@nicolo-ribaudo)
🏠 Internal
babel-plugin-proposal-decorators
,babel-types
babel-core
babel-core
,babel-generator
,babel-helper-create-class-features-plugin
,babel-helper-create-regexp-features-plugin
,babel-helper-module-transforms
,babel-helper-plugin-utils
,babel-parser
,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-async-generator-functions
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-class-static-block
,babel-plugin-proposal-decorators
,babel-plugin-proposal-export-default-from
,babel-plugin-proposal-export-namespace-from
,babel-plugin-proposal-function-sent
,babel-plugin-proposal-json-strings
,babel-plugin-proposal-logical-assignment-operators
,babel-plugin-proposal-nullish-coalescing-operator
,babel-plugin-proposal-object-rest-spread
,babel-plugin-proposal-optional-chaining
,babel-plugin-proposal-partial-application
,babel-plugin-proposal-pipeline-operator
,babel-plugin-proposal-private-methods
,babel-plugin-proposal-private-property-in-object
,babel-plugin-proposal-record-and-tuple
,babel-plugin-proposal-unicode-property-regex
,babel-plugin-syntax-decorators
,babel-plugin-syntax-destructuring-private
,babel-plugin-syntax-flow
,babel-plugin-syntax-import-assertions
,babel-plugin-syntax-pipeline-operator
,babel-plugin-syntax-record-and-tuple
,babel-plugin-syntax-typescript
,babel-plugin-transform-arrow-functions
,babel-plugin-transform-async-to-generator
,babel-plugin-transform-block-scoping
,babel-plugin-transform-classes
,babel-plugin-transform-computed-properties
,babel-plugin-transform-destructuring
,babel-plugin-transform-duplicate-keys
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
,babel-plugin-transform-for-of
,babel-plugin-transform-instanceof
,babel-plugin-transform-jscript
,babel-plugin-transform-literals
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-modules-umd
,babel-plugin-transform-named-capturing-groups-regex
,babel-plugin-transform-new-target
,babel-plugin-transform-parameters
,babel-plugin-transform-property-mutators
,babel-plugin-transform-proto-to-assign
,babel-plugin-transform-react-constant-elements
,babel-plugin-transform-react-jsx
,babel-plugin-transform-reserved-words
,babel-plugin-transform-runtime
,babel-plugin-transform-spread
,babel-plugin-transform-template-literals
,babel-plugin-transform-typeof-symbol
,babel-plugin-transform-typescript
,babel-preset-env
,babel-preset-flow
,babel-preset-react
,babel-preset-typescript
,babel-traverse
,babel-types
v7.17.11 (2022-04-29)
🐛 Bug Fix
v7.17.10 (2022-04-29)
🐛 Bug Fix
babel-cli
,babel-core
,babel-generator
,babel-helper-transform-fixture-test-runner
- #14479 [cli] Avoid
SourceMapGenerator
for simple map concatenation (@jridgewell)
- #14479 [cli] Avoid
💅 Polish
babel-cli
,babel-core
,babel-generator
,babel-helper-fixtures
,babel-helper-transform-fixture-test-runner
- #14506 Do not add sourcemap markings for indentation (@jridgewell)
babel-plugin-proposal-pipeline-operator
,babel-traverse
🏠 Internal
babel-core
- #14493 Remove git.io shortlinks from repo (@Andoryuuta)
- Other
- #14462 fix: build standalone on windows (@liuxingbaoyu)
🏃♀️ Performance
babel-cli
,babel-core
,babel-generator
- #14497 Switch to
@jridgewell/gen-mapping
for sourcemap generation (@jridgewell)
- #14497 Switch to
v7.17.9 (2022-04-06)
🐛 Bug Fix
babel-parser
,babel-standalone
- #14427 Restore numeric seaprators support in
@babel/standalone
(@nicolo-ribaudo)
- #14427 Restore numeric seaprators support in
babel-traverse
babel-plugin-proposal-decorators
- #14396 [2021-12] Support class decorators in export declarations (@nicolo-ribaudo)
- #14387 fix: forward accessor proxy getter results (@JLHwung)
babel-parser
babel-generator
,babel-parser
babel-plugin-transform-classes
,babel-plugin-transform-modules-commonjs
,babel-preset-env
- #14366 Align named imports behavior in
.mjs
and.js
files (@nicolo-ribaudo)
- #14366 Align named imports behavior in
babel-helper-create-class-features-plugin
,babel-plugin-proposal-class-properties
- #14351 [setPublicClassFields] Use define for static
name
/length
(@nicolo-ribaudo)
- #14351 [setPublicClassFields] Use define for static
💅 Polish
babel-plugin-proposal-decorators
- #14398 Add missing semicolons in 2021-12 decorators output (@nicolo-ribaudo)
📝 Documentation
- #14397 Mention how to report vulns in Babel dependencies (@nicolo-ribaudo)
🏠 Internal
- Other
- #14419 Use
jest-light-runner
from npm (@nicolo-ribaudo)
- #14419 Use
babel-cli
babel-helper-function-name
,babel-helper-get-function-arity
- #14389 Inline
@babel/helper-get-function-arity
package (@nicolo-ribaudo)
- #14389 Inline
babel-helpers
- #14343 Remove unused
@babel/helpers
code (@nicolo-ribaudo)
- #14343 Remove unused
babel-core
,babel-highlight
,babel-parser
- #14377 refactor: replace deprecated String.prototype.substr() (@CommanderRoot)
v7.17.8 (2022-03-18)
👓 Spec Compliance
babel-helpers
,babel-plugin-proposal-decorators
🐛 Bug Fix
babel-plugin-transform-modules-systemjs
- #14057 [systemjs] Fix nested
let
/const
shadowing imported bindings (@The-x-Theorist)
- #14057 [systemjs] Fix nested
babel-parser
- #14362 Allow keywords in TS qualified types (@nicolo-ribaudo)
↩️ Revert
babel-parser
- #14367 Defer
<T>() => {}
TSX error to Babel 8 (@nicolo-ribaudo)
- #14367 Defer
v7.17.7 (2022-03-14)
👓 Spec Compliance
babel-generator
,babel-parser
- #14135 [tsx] raise error on single arrow type argument without comma (@ozanhonamlioglu)
🐛 Bug Fix
babel-helper-compilation-targets
- #14294 Avoid
resolveTargets
call ifbrowsers
is an empty array (@dev-itsheng)
- #14294 Avoid
babel-helper-module-transforms
,babel-helper-simple-access
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-umd
- #14341 Fix update expression for exported bigints (@magic-akari)
babel-parser
- #14344 Allow variable and function with the same name in static blocks (@Yokubjon-J)
- #14327 Remove length restriction from JSX entities, and ignore
Object.prototype
(@nicolo-ribaudo) - #14293 fix(ts): skip func-type param start on parsing (@JLHwung)
babel-helpers
,babel-plugin-proposal-decorators
babel-generator
- #14309 Fix
import type/typeof
printing with no specifiers (@The-x-Theorist)
- #14309 Fix
babel-helper-module-transforms
,babel-plugin-transform-modules-commonjs
- #14313 Fix duplicate exports initialization with many exports (@nicolo-ribaudo)
babel-helper-member-expression-to-functions
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-private-methods
,babel-plugin-transform-classes
,babel-plugin-transform-object-super
- #14311 fix: support bigints in update expressions for private fields (@magic-akari)
babel-register
💅 Polish
babel-parser
- #14338 Report single error for invalid num seps in unicode escapes (@nicolo-ribaudo)
🏠 Internal
babel-generator
,babel-parser
babel-plugin-transform-destructuring
- Other
- #14180 Convert ESLint plugins to CommonJS (@nicolo-ribaudo)
v7.17.6 (2022-02-21)
👓 Spec Compliance
babel-helper-module-transforms
🐛 Bug Fix
🔬 Output optimization
babel-plugin-transform-react-constant-elements
- #12975
allowMutablePropsOnTags
: cache JSX constant elements with function props (@nicolo-ribaudo)
- #12975
babel-plugin-proposal-pipeline-operator
,babel-standalone
- #14278 [hack pipes] Inline topic token when possible (@nicolo-ribaudo)
babel-helper-create-class-features-plugin
,babel-plugin-proposal-class-static-block
,babel-plugin-proposal-decorators
,babel-preset-env
- #14275 Avoid IIFE for single-expression class static blocks (@nicolo-ribaudo)
v7.17.5 (2022-02-17)
🐛 Bug Fix
babel-core
- #14283 Make source maps plain objects for use with
t.valueToNode
(@thebanjomatic) - #14282 Fix merging sourcemaps on Windows (@jridgewell)
- #14283 Make source maps plain objects for use with
v7.17.4 (2022-02-15)
🐛 Bug Fix
babel-core
- #14274 Fix infinite recursion when merge sourcemaps (@jridgewell)
v7.17.3 (2022-02-15)
🐛 Bug Fix
babel-plugin-transform-react-jsx-development
,babel-plugin-transform-react-jsx
babel-plugin-transform-destructuring
- #14240 Fix destructuring with holes in assign pattern (@magic-akari)
🏠 Internal
babel-cli
,babel-core
,babel-generator
,babel-helper-transform-fixture-test-runner
- #14253 Convert all SourceMapConsumers to TraceMaps (@jridgewell)
🔬 Output optimization
babel-plugin-proposal-class-properties
,babel-plugin-proposal-class-static-block
,babel-plugin-proposal-decorators
,babel-plugin-proposal-private-methods
,babel-plugin-proposal-private-property-in-object
,babel-plugin-transform-new-target
,babel-plugin-transform-parameters
,babel-traverse
- #14268 Skip unnecessary temp vars in
path.insertAfter
(@nicolo-ribaudo)
- #14268 Skip unnecessary temp vars in
v7.17.2 (2022-02-08)
🐛 Bug Fix
babel-helpers
,babel-plugin-proposal-decorators
babel-core
- #14241 Fix reinstantiation of inherited plugins (@nicolo-ribaudo)
- #14246 Merge multi-source output sourcemaps (@jridgewell)
v7.17.1 (2022-02-03)
🐛 Bug Fix
babel-helper-create-class-features-plugin
- #14231 Restore class fields transform compat with old
@babel/types
(@nicolo-ribaudo)
- #14231 Restore class fields transform compat with old
v7.17.0 (2022-02-02)
🚀 New Feature
babel-cli
,babel-core
- #14065 Allow plugins/presets to indicate external dependencies (@nicolo-ribaudo)
babel-core
,babel-parser
,babel-traverse
babel-generator
,babel-parser
,babel-plugin-proposal-pipeline-operator
,babel-plugin-syntax-pipeline-operator
babel-traverse
babel-generator
,babel-parser
,babel-plugin-syntax-destructuring-private
,babel-standalone
babel-helper-create-class-features-plugin
,babel-helpers
,babel-plugin-proposal-decorators
,babel-plugin-syntax-decorators
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
,babel-standalone
,babel-types
babel-generator
,babel-parser
,babel-traverse
,babel-types
babel-core
,babel-helper-create-regexp-features-plugin
,babel-plugin-proposal-unicode-sets-regex
,babel-plugin-syntax-unicode-sets-regex
,babel-plugin-transform-dotall-regex
- #14125 Add transform support for the "regexp unicode sets" proposal (@nicolo-ribaudo)
babel-parser
- #14086 Add parser support for the "regexp unicode sets" proposal (@nicolo-ribaudo)
babel-register
- #14087 Expose
@babel/register/experimental-worker
(@nicolo-ribaudo)
- #14087 Expose
🐛 Bug Fix
babel-parser
babel-plugin-transform-runtime
📝 Documentation
- #14223 Remove Babel 6 from SECURITY.md (@nicolo-ribaudo)
🏠 Internal
babel-helper-fixtures
,babel-parser
babel-compat-data
- Other
🏃♀️ Performance
babel-cli
,babel-core
- #14209 Switch to
@ampproject/remapping
to merge source maps (@jridgewell)
- #14209 Switch to
v7.16.12 (2022-01-22)
🐛 Bug Fix
babel-core
- #14192 Avoid dynamic import when it's not needed (@nicolo-ribaudo)
babel-parser
v7.16.10 (2022-01-19)
🐛 Bug Fix
babel-highlight
babel-traverse
- #14164 Handle logical assignment in super property transforms (@magic-akari)
- #14162 Fix the transform of
super.foo--
/super[foo]--
(and prefix) (@magic-akari)
babel-core
- #14110 Respect
package.json#exports
when resolving plugins (@nicolo-ribaudo) - #14153 Disable "Reentrant plugin detected" error in async mode (@nicolo-ribaudo)
- #14110 Respect
🏠 Internal
babel-plugin-transform-runtime
- #14157 Remove workaround for
_typeof
in runtime build script (@nicolo-ribaudo)
- #14157 Remove workaround for
babel-parser
🔬 Output optimization
babel-helper-create-class-features-plugin
,babel-preset-env
- #14169 Skip class fields transform when not necessary for private methods (@nicolo-ribaudo)
v7.16.9 (2022-01-11)
🐛 Bug Fix
babel-register
- #14136 Restore
@babel/register
compat with@babel/core@7.5.x
(@nicolo-ribaudo)
- #14136 Restore
v7.16.8 (2022-01-10)
🐛 Bug Fix
babel-generator
,babel-plugin-syntax-typescript
,babel-plugin-transform-parameters
- #14113 Print trailing comma after a single TS generic in arrow fns (@ozanhonamlioglu)
babel-traverse
babel-register
- #14107 Don't mutate
@babel/register
options (@nicolo-ribaudo)
- #14107 Don't mutate
babel-plugin-transform-modules-commonjs
- #14097 Register binding for newly created vars for commonjs transforms (@The-x-Theorist)
babel-plugin-transform-typescript
- #14093 Fix TypeScript Enum self-references (@magic-akari)
💅 Polish
babel-generator
- #14094 Always print directives with double quotes when minified (@overlookmotel)
🏠 Internal
babel-helper-fixtures
,babel-plugin-proposal-record-and-tuple
,babel-preset-env
- #14118 Always use the plugin/preset name in fixtures options (@nicolo-ribaudo)
🔬 Output optimization
babel-helper-remap-async-to-generator
,babel-helper-wrap-function
,babel-plugin-transform-async-to-generator
- #14122 Optimize
transform-async-to-generator
output (@magic-akari)
- #14122 Optimize
v7.16.7 (2021-12-31)
👓 Spec Compliance
🐛 Bug Fix
babel-plugin-transform-runtime
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
babel-helpers
- #14072 Fix derived classes in Chrome <= 36 (@nicolo-ribaudo)
babel-helper-function-name
,babel-plugin-transform-function-name
- #14047 Fix unicode handling in generated function names (@The-x-Theorist)
💅 Polish
babel-core
- #14067 Allow
$schema
property in json config files (@The-x-Theorist)
- #14067 Allow
v7.16.6 (2021-12-14)
🐛 Bug Fix
v7.16.5 (2021-12-13)
👓 Spec Compliance
babel-cli
,babel-core
,babel-helpers
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-decorators
,babel-plugin-transform-classes
,babel-plugin-transform-jscript
,babel-plugin-transform-parameters
,babel-plugin-transform-runtime
,babel-plugin-transform-spread
,babel-plugin-transform-typescript
,babel-preset-env
🐛 Bug Fix
babel-plugin-transform-parameters
- #14032 Fix: default rest argument array elements as undefined (@The-x-Theorist)
babel-plugin-transform-arrow-functions
,babel-traverse
- #14036 Don't resolve shadowed
arguments
variables from functions (@The-x-Theorist)
- #14036 Don't resolve shadowed
babel-parser
babel-traverse
- #14016 Fix duplicate declaration error on ambient class declarations (@The-x-Theorist)
babel-generator
- #14014 Support flow function type annotation with no parent (@krosenberg)
babel-plugin-transform-react-jsx
- #14012 Fix JSX pragma anywhere in comment (@The-x-Theorist)
babel-helper-create-class-features-plugin
,babel-helper-environment-visitor
,babel-helper-member-expression-to-functions
,babel-helper-module-transforms
,babel-helper-replace-supers
,babel-plugin-transform-classes
,babel-traverse
- #14005 Fix handling of
this
&co in computed keys in arrows transform (@nicolo-ribaudo)
- #14005 Fix handling of
💅 Polish
babel-parser
📝 Documentation
babel-compat-data
,babel-helper-annotate-as-pure
,babel-helper-builder-binary-assignment-operator-visitor
,babel-helper-builder-react-jsx
,babel-helper-compilation-targets
,babel-helper-create-class-features-plugin
,babel-helper-create-regexp-features-plugin
,babel-helper-define-map
,babel-helper-explode-assignable-expression
,babel-helper-fixtures
,babel-helper-function-name
,babel-helper-get-function-arity
,babel-helper-hoist-variables
,babel-helper-member-expression-to-functions
,babel-helper-module-imports
,babel-helper-module-transforms
,babel-helper-optimise-call-expression
,babel-helper-plugin-test-runner
,babel-helper-plugin-utils
,babel-helper-remap-async-to-generator
,babel-helper-replace-supers
,babel-helper-simple-access
,babel-helper-skip-transparent-expression-wrappers
,babel-helper-split-export-declaration
,babel-helper-transform-fixture-test-runner
,babel-helper-validator-identifier
,babel-helper-validator-option
,babel-helper-wrap-function
,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression
,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-proposal-async-do-expressions
,babel-plugin-proposal-record-and-tuple
,babel-plugin-syntax-async-do-expressions
,babel-plugin-syntax-module-blocks
,babel-plugin-transform-react-jsx-development
,babel-plugin-transform-react-pure-annotations
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #14006 Regenerate monorepo READMEs (@nicolo-ribaudo)
🏠 Internal
babel-cli
,babel-code-frame
,babel-core
,babel-generator
,babel-helper-annotate-as-pure
,babel-helper-compilation-targets
,babel-helper-create-class-features-plugin
,babel-helper-create-regexp-features-plugin
,babel-helper-fixtures
,babel-helper-module-imports
,babel-helper-optimise-call-expression
,babel-helper-plugin-test-runner
,babel-helper-transform-fixture-test-runner
,babel-helper-validator-identifier
,babel-helper-validator-option
,babel-helpers
,babel-highlight
,babel-node
,babel-parser
,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-async-generator-functions
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-class-static-block
,babel-plugin-proposal-decorators
,babel-plugin-proposal-do-expressions
,babel-plugin-proposal-dynamic-import
,babel-plugin-proposal-export-default-from
,babel-plugin-proposal-export-namespace-from
,babel-plugin-proposal-function-bind
,babel-plugin-proposal-function-sent
,babel-plugin-proposal-json-strings
,babel-plugin-proposal-logical-assignment-operators
,babel-plugin-proposal-nullish-coalescing-operator
,babel-plugin-proposal-numeric-separator
,babel-plugin-proposal-object-rest-spread
,babel-plugin-proposal-optional-catch-binding
,babel-plugin-proposal-optional-chaining
,babel-plugin-proposal-partial-application
,babel-plugin-proposal-pipeline-operator
,babel-plugin-proposal-private-methods
,babel-plugin-proposal-private-property-in-object
,babel-plugin-proposal-record-and-tuple
,babel-plugin-proposal-throw-expressions
,babel-plugin-proposal-unicode-property-regex
,babel-plugin-syntax-decorators
,babel-plugin-syntax-typescript
,babel-plugin-transform-arrow-functions
,babel-plugin-transform-async-to-generator
,babel-plugin-transform-block-scoped-functions
,babel-plugin-transform-block-scoping
,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-exponentiation-operator
,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-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-named-capturing-groups-regex
,babel-plugin-transform-new-target
,babel-plugin-transform-object-super
,babel-plugin-transform-parameters
,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-development
,babel-plugin-transform-react-jsx-self
,babel-plugin-transform-react-jsx-source
,babel-plugin-transform-react-jsx
,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-regex
,babel-preset-env
,babel-preset-flow
,babel-preset-react
,babel-preset-typescript
,babel-register
,babel-standalone
,babel-template
,babel-traverse
,babel-types
- #13966 Run tests in a native Node.js ESM environment (@nicolo-ribaudo)
babel-parser
babel-helpers
- #13996 Don't use ESM for
require
d files in@babel/helpers
tests (@nicolo-ribaudo)
- #13996 Don't use ESM for
babel-plugin-proposal-object-rest-spread
,babel-traverse
babel-parser
,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression
,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-proposal-optional-chaining
,babel-preset-react
,babel-preset-typescript
- #13978 Only bundle the release build, and don't import
src
in tests (@nicolo-ribaudo)
- #13978 Only bundle the release build, and don't import
- Other
- #13976 Fail CI when
@babel/runtime
ESM tests fail (@nicolo-ribaudo)
- #13976 Fail CI when
🏃♀️ Performance
🔬 Output optimization
babel-helpers
,babel-plugin-proposal-async-generator-functions
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime
- #13837 minify
helpers-generated.ts
(@lightmare)
- #13837 minify
v7.16.4 (2021-11-16)
👓 Spec Compliance
babel-helper-remap-async-to-generator
,babel-plugin-transform-async-to-generator
- #13961 Wait the correct number of ticks on nested
await
(@nicolo-ribaudo)
- #13961 Wait the correct number of ticks on nested
babel-parser
🐛 Bug Fix
babel-parser
- #13957 Add
assertions
toExportNamedDeclaration
withoutfrom
(@sosukesuzuki) - #13951 Throw on duplicate
__proto__
props followed by assignment (@The-x-Theorist)
- #13957 Add
babel-plugin-proposal-async-generator-functions
,babel-plugin-proposal-decorators
,babel-plugin-transform-runtime
,babel-preset-env
💅 Polish
v7.16.3 (2021-11-09)
🐛 Bug Fix
babel-helpers
- #13862 fix(helpers): match
Reflect.get
behaviour (@lightmare)
- #13862 fix(helpers): match
babel-plugin-transform-parameters
,babel-traverse
- #13941 Support transforming params of arrow functions in class fields (@nicolo-ribaudo)
babel-parser
- #13928 fix: incorrect await rejection following arrow function in parameters (Closes #13872) (@The-x-Theorist)
- Other
- #13918 Fix
parserOverride
support in@babel/eslint-parser
(@nicolo-ribaudo)
- #13918 Fix
🏠 Internal
babel-parser
babel-helper-compilation-targets
,babel-preset-env
- #13914 Update browserslist (@nicolo-ribaudo)
v7.16.2 (2021-11-01)
🐛 Bug Fix
babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression
🏠 Internal
babel-parser
- #13905 babel-parser: add missing assertions type (@sosukesuzuki)
v7.16.1 (2021-10-30)
🐛 Bug Fix
babel-plugin-transform-typescript
- #13900 Fix binding access for plugin-transform-typescript (@PeachScript)
🏠 Internal
- #13898 Skip ESLint 8 tests on publish (@nicolo-ribaudo)
v7.16.0 (2021-10-30)
👓 Spec Compliance
babel-helpers
,babel-plugin-proposal-async-generator-functions
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #13824 Await promises from sync iterators with
for-await
(@nicolo-ribaudo)
- #13824 Await promises from sync iterators with
🚀 New Feature
babel-generator
,babel-parser
,babel-plugin-transform-typescript
,babel-types
- #13802 Support TypeScript 4.5 type-only import/export specifiers (@sosukesuzuki)
babel-parser
babel-helper-fixtures
,babel-helper-transform-fixture-test-runner
,babel-parser
,babel-plugin-syntax-typescript
,babel-preset-typescript
- #13838 Handle
.mts
and.cts
files in@babel/preset-typescript
(@nicolo-ribaudo)
- #13838 Handle
- Other
- #13782 Add ESLint 8 support to
@babel/eslint-parser
(@nicolo-ribaudo)
- #13782 Add ESLint 8 support to
babel-generator
,babel-parser
,babel-plugin-proposal-pipeline-operator
,babel-plugin-syntax-pipeline-operator
babel-compat-data
,babel-generator
,babel-parser
,babel-preset-env
,babel-types
- #13713 Enable class static blocks by default (@sosukesuzuki)
babel-helper-skip-transparent-expression-wrappers
,babel-plugin-proposal-optional-chaining
- #13687 add
skipTransparentExprWrapperNodes
helper (@lightmare)
- #13687 add
babel-traverse
,babel-types
- #13666 Add aliases for Standardized, TypeScript, and Flow (@jridgewell)
🐛 Bug Fix
babel-parser
,babel-plugin-transform-typescript
- #13876 [ts] Support private methods overloads (@nicolo-ribaudo)
babel-plugin-transform-typescript
- #13865 fix: allow enum member without initializer after non-literal member (@lightmare)
babel-core
,babel-helper-create-class-features-plugin
,babel-plugin-transform-typescript
babel-compat-data
,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression
,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-transform-react-constant-elements
,babel-preset-env
,babel-traverse
babel-plugin-proposal-async-generator-functions
,babel-traverse
babel-traverse
,babel-types
babel-generator
- #13825 Fix missing inner comments in function expressions (@overlookmotel)
🏠 Internal
- Every package
- #13772 Use
workspace:^
to specify@babel/
dependencies (@nicolo-ribaudo)
- #13772 Use
- Other
- #13856 Update to Yarn 3.1 (@nicolo-ribaudo)
- #13867 Test on Node.js 17 (@nicolo-ribaudo)
babel-helper-fixtures
,babel-plugin-proposal-class-properties
,babel-plugin-transform-runtime
,babel-preset-react
- #13858 Force loading plugins/presets from the monorepo in tests (@nicolo-ribaudo)
babel-types
- #13844 [ts] precise return type on
createTypeAnnotationBasedOnTypeof
(babel-types) (@lightmare)
- #13844 [ts] precise return type on
babel-helpers
- #13841 minor: remove ineffectual helper names filter (@lightmare)
babel-core
,babel-plugin-transform-react-jsx-development
,babel-plugin-transform-react-jsx
,babel-types
🏃♀️ Performance
babel-types
- #13843 Simplify (transpiled) babel-types builder wrappers (@lightmare)
v7.15.8 (2021-10-06)
👓 Spec Compliance
babel-helper-module-transforms
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-umd
babel-parser
🐛 Bug Fix
babel-generator
- #13821 Fix missing inner comments in class expressions (@overlookmotel)
babel-generator
,babel-parser
,babel-plugin-proposal-pipeline-operator
- #13803 Collect comments around parentheses in expressions (@nicolo-ribaudo)
babel-plugin-transform-typescript
💅 Polish
babel-core
babel-node
🏠 Internal
- #13808 Update parser plugins for TypeScript tests (@sosukesuzuki)
- #13795 Fix Gulpfile path separator issue on Windows (@NotWearingPants)
🏃♀️ Performance
v7.15.7 (2021-09-17)
🐛 Bug Fix
babel-parser
- #13771 fix(babel-parser): Allow line break before
assert
return type (@JuniorTour) - #13755 [estree] Fix conversion of
PrivateName
inMemberExpression
(@nicolo-ribaudo)
- #13771 fix(babel-parser): Allow line break before
babel-standalone
- Other
- #13767 Fix
regexpu-core
bundling in@babel/standalone
(@nicolo-ribaudo) - #13751 [eslint-parser] Represent
static
using aKeyword
token (@nicolo-ribaudo)
- #13767 Fix
babel-helper-validator-identifier