v7.9.0 (2020-03-20)
Thanks to @andrewdotn, @clshortfuse, @lunaruan, @oliverdunk, @rickbutton, @Taym95 and @Wetinee for their first PRs!
Blog post: https://babeljs.io/blog/2020/03/16/7.9.0
🚀 New Feature
babel-generator
,babel-helper-builder-react-jsx-experimental
,babel-helper-builder-react-jsx
,babel-plugin-transform-block-scoping
,babel-plugin-transform-classes
,babel-plugin-transform-function-name
,babel-plugin-transform-react-constant-elements
,babel-plugin-transform-react-inline-elements
,babel-plugin-transform-react-jsx-development
,babel-plugin-transform-react-jsx
,babel-plugin-transform-regenerator
,babel-preset-react
,babel-preset-typescript
,babel-standalone
- #11126 Mark transpiled JSX elements as pure (@nicolo-ribaudo)
babel-helper-builder-react-jsx-experimental
,babel-helper-builder-react-jsx
,babel-plugin-transform-react-jsx-development
,babel-plugin-transform-react-jsx-self
,babel-plugin-transform-react-jsx
,babel-preset-react
,babel-standalone
babel-compat-data
,babel-preset-env
- #11083 Include preset modules (@nicolo-ribaudo)
- #10971 Add numeric separator to
shippedProposals
(@Wetinee)
babel-core
,babel-helpers
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-decorators
,babel-plugin-transform-classes
,babel-plugin-transform-function-name
,babel-plugin-transform-parameters
,babel-plugin-transform-react-jsx
,babel-plugin-transform-runtime
,babel-plugin-transform-typescript
,babel-preset-env
- #8656 Allow extending untranspiled classes (@nicolo-ribaudo)
babel-core
,babel-helper-module-transforms
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-modules-umd
- #11194 Allow defining the moduleIds-related option in the transform plugins (@nicolo-ribaudo)
babel-core
,babel-generator
,babel-parser
,babel-plugin-syntax-record-and-tuple
,babel-types
- #10865 Added support for record and tuple syntax. (@rickbutton)
babel-generator
,babel-parser
,babel-plugin-transform-flow-strip-types
,babel-preset-flow
- #11178 Implement support for
declare
on class fields with Flow (@nicolo-ribaudo)
- #11178 Implement support for
babel-types
babel-generator
- #11028 Added jsescOptions to Numeric Literals (@sidntrivedi012)
babel-generator
,babel-parser
,babel-types
- #11077 Add support for flow's SymbolTypeAnnotation (@existentialism)
babel-parser
- #11117 Parse BigInts by default (@nicolo-ribaudo)
- #11254 Add estree parsing support for
export * as A
(@existentialism) - #11246 feat: align ID_Start/ID_Continue regex to Unicode 13.0.0 (@JLHwung)
babel-plugin-transform-react-jsx-source
,babel-preset-react
babel-generator
,babel-parser
,babel-plugin-transform-typescript
,babel-preset-typescript
,babel-types
- #11171 Add
import type
andexport type
support to TypeScript (@nicolo-ribaudo)
- #11171 Add
🐛 Bug Fix
babel-helper-builder-react-jsx-experimental
,babel-helper-builder-react-jsx
,babel-helper-validator-identifier
,babel-highlight
,babel-parser
,babel-types
babel-plugin-proposal-optional-chaining
- #11261 Memoize call expressions in optional chains in loose mode (@oliverdunk)
babel-plugin-transform-react-jsx-self
,babel-preset-react
- #11290 Pass the correct
this
to JSX's__self
with the old plugin (@nicolo-ribaudo)
- #11290 Pass the correct
babel-helper-builder-react-jsx-experimental
,babel-plugin-transform-react-jsx-development
,babel-plugin-transform-react-jsx
- #11288 Use the correct
this
in__self
for JSX elements in arrows (@nicolo-ribaudo)
- #11288 Use the correct
babel-compat-data
,babel-preset-env
babel-helpers
,babel-plugin-transform-for-of
,babel-preset-env
- #11285 Allow for-of on polyfilled or builtin iterables without
Symbol
support (@nicolo-ribaudo) - #11263 Add for-of fallback for arrays in browsers without symbol support (@nicolo-ribaudo)
- #11285 Allow for-of on polyfilled or builtin iterables without
babel-plugin-proposal-object-rest-spread
babel-register
- #11249 Add path separator to
@babel/register
sourceRoot (@andrewdotn)
- #11249 Add path separator to
babel-core
,babel-helpers
,babel-plugin-transform-runtime
babel-helpers
,babel-plugin-transform-modules-commonjs
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime
- #11268 Allow rest/spread on polyfilled or builtin iterables without
Symbol
support (@nicolo-ribaudo)
- #11268 Allow rest/spread on polyfilled or builtin iterables without
babel-parser
babel-helpers
,babel-plugin-proposal-object-rest-spread
,babel-runtime-corejs2
,babel-runtime
- #9794 fix(rest-spread): Do not require
Symbol.iterator
for strings (@clshortfuse)
- #9794 fix(rest-spread): Do not require
babel-generator
- #11255 Fix printing edge cases in Nullish Coalescing and Optional Chaining (@jridgewell)
💅 Polish
babel-parser
babel-helpers
,babel-plugin-transform-destructuring
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-spread
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime
- #11264 Throw better errors for non-iterables when Symbol doesn't exist. (@nicolo-ribaudo)
🏠 Internal
babel-helper-builder-react-jsx-experimental
,babel-helper-builder-react-jsx
,babel-helper-validator-identifier
,babel-highlight
,babel-parser
,babel-types
babel-compat-data
,babel-preset-env
- #11277 Update compat-data (@existentialism)
babel-core
babel-types
- #11250 Add stricter Optional Chain node validation (@jridgewell)
- #11267 Update Purish aliases (@jridgewell)
babel-helpers
,babel-plugin-transform-block-scoping
,babel-plugin-transform-for-of
,babel-plugin-transform-parameters
,babel-plugin-transform-runtime
,babel-preset-env
- #11262 Extract for-of iterator handling to a helper (@nicolo-ribaudo)
babel-core
,babel-plugin-proposal-decorators
,babel-plugin-proposal-logical-assignment-operators
,babel-plugin-proposal-object-rest-spread
,babel-plugin-proposal-partial-application
,babel-plugin-proposal-pipeline-operator
,babel-plugin-transform-parameters
,babel-traverse
- #11260 Support more node types in generateUidBasedOnNode (@jridgewell)
- Other
- #11259 Remove unused
gulp-rename
(@existentialism)
- #11259 Remove unused
Committers: 15
- Andrew Neitsch (@andrewdotn)
- Arun Kumar Mohan (@arku)
- Brian Ng (@existentialism)
- Carlos Lopez (@clshortfuse)
- Guy Bedford (@guybedford)
- Huáng Jùnliàng (@JLHwung)
- Justin Ridgewell (@jridgewell)
- Luna Ruan (@lunaruan)
- Moti Zilberman (@motiz88)
- Nicolò Ribaudo (@nicolo-ribaudo)
- Oliver Dunk (@oliverdunk)
- Rick Button (@rickbutton)
- Siddhant N Trivedi (@sidntrivedi012)
- Taym Haddadi (@Taym95)
- Ye Wei (@Wetinee)