v7.12.0 (2020-10-14)
Thanks @akphi, @Amareis, @barronwei, @iamfotx, @mischnic, @overlookmotel, @ryanrhee, @snitin315, @sosukesuzuki, @timgates42, @zweimach for their first PRs.
👓 Spec Compliance
babel-core
,babel-helper-module-transforms
,babel-parser
,babel-plugin-proposal-export-namespace-from
,babel-plugin-syntax-module-string-names
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-modules-umd
,babel-types
babel-parser
- #12111 [ts] Throw a syntax error for index signature with
declare
(@sosukesuzuki)
- #12111 [ts] Throw a syntax error for index signature with
🚀 New Feature
babel-core
,babel-generator
,babel-parser
,babel-plugin-syntax-import-assertions
,babel-plugin-syntax-module-attributes
,babel-standalone
,babel-types
babel-core
,babel-helper-create-class-features-plugin
,babel-helper-module-transforms
,babel-helper-replace-supers
,babel-plugin-proposal-class-static-block
,babel-plugin-transform-modules-commonjs
,babel-standalone
,babel-traverse
,babel-types
babel-generator
,babel-parser
,babel-plugin-syntax-class-static-block
,babel-types
babel-generator
,babel-parser
,babel-types
- #12129 Support TypeScript mapped type 'as' clauses (@existentialism)
- #12147 [ts] Add support for the "intrinsic" keyword (@nicolo-ribaudo)
babel-parser
,babel-types
- #12131 [ts] Add support for template interpolations in types (@nicolo-ribaudo)
babel-plugin-transform-modules-systemjs
- #12163 SystemJS top-level await support (@guybedford)
babel-plugin-transform-typescript
,babel-preset-typescript
babel-core
,babel-helper-module-transforms
,babel-parser
,babel-plugin-proposal-export-namespace-from
,babel-plugin-syntax-module-string-names
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-modules-umd
,babel-types
babel-core
- #11907 Return a list of files that were read from loadPartialConfig (@devongovett)
🐛 Bug Fix
babel-parser
- #12167 [ts] Add
asserts: false
toTSTypePredicate
node (@sosukesuzuki) - #12161 Move check for TSTypeCastExpression to catch another case (@existentialism)
- #12120 Throw a recoverable error for missing initializer in const declaration (@sosukesuzuki)
- #12108 Improve syntax error for class fields in ambient context (@sosukesuzuki)
- #12088 Throw a syntax error for empty type parameter/argument (@sosukesuzuki)
- #12093 Throw an error for a declare class field that have an initializer (@sosukesuzuki)
- #12085 Do not throw an error for optional binding pattern params in function declaration (@sosukesuzuki)
- #12076 Fix invalid
setter
parse (@fisker) - #12054 Throw a syntax error for a declare function with a body (@sosukesuzuki)
- #12065 Throw a syntax error for a constructor with type parameters (@sosukesuzuki)
- #12167 [ts] Add
babel-plugin-transform-typescript
babel-helper-member-expression-to-functions
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-nullish-coalescing-operator
,babel-plugin-proposal-optional-chaining
babel-helper-builder-react-jsx-experimental
,babel-plugin-transform-react-jsx-development
,babel-plugin-transform-react-jsx
,babel-preset-react
babel-traverse
,babel-types
babel-generator
- #12114 Fix printing TSTypeOperator (@existentialism)
- #12082 Ensure expressions wrapped in parens (@overlookmotel)
- #12081 Fix
@babel/generator
does not print decorators of private properties (@zweimach) - #12086 Add sourcemap markings for each line of a string (@jridgewell)
babel-plugin-transform-modules-systemjs
babel-helper-module-transforms
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-umd
,babel-plugin-transform-runtime
babel-helper-create-regexp-features-plugin
,babel-plugin-transform-unicode-regex
- #12077 Bump regexpu-core (@existentialism)
babel-plugin-proposal-do-expressions
,babel-traverse
- #11728 fix(do-expr): SwitchStatement with IfStatement cases (@barronwei)
💅 Polish
babel-parser
- #12072 [parser] Better error message for missing number exponent (@iamfotx)
- #12061 Throw a syntax error for a parameter properties in not constructor (@sosukesuzuki)
babel-helper-compilation-targets
,babel-helper-validator-option
,babel-preset-env
🏠 Internal
babel-cli
,babel-helper-transform-fixture-test-runner
,babel-traverse
- #11797 Replace lodash 'defaults' usage with ES6 Spread initializer (@jayaddison)
babel-plugin-transform-runtime
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
babel-core
- #11689 Instantiate presets before plugins (@nicolo-ribaudo)
babel-plugin-proposal-logical-assignment-operators
,babel-plugin-proposal-numeric-separator
,babel-plugin-syntax-import-meta
,babel-plugin-syntax-logical-assignment-operators
,babel-plugin-syntax-numeric-separator
,babel-plugin-transform-modules-systemjs
,babel-preset-env
,babel-standalone
- Other
- #12154 chore: bump gulp-cli to 2.3.0 (@JLHwung)
- #12134 Yarn 2.3 (@nicolo-ribaudo)
- #12099 fix: apply terser plugin only on *.min.js (@JLHwung)
- #12098 docs: update build required node version (@JLHwung)
- #12078 Bump Babel deps (@existentialism)
- #12070 chore: pin browserslist version to 4.12.0 (@JLHwung)
- #12063 chore: add git-blame-ignore-revs (@JLHwung)
- #12049 chore: use latest node on ci workflow when possible (@JLHwung)
babel-compat-data
,babel-preset-env
babel-parser
- #12103 Add missing tests for TypeScript syntax errors (@sosukesuzuki)
babel-core
,babel-plugin-transform-runtime
- #12102 docs: Fix simple typo, preprelease -> pre-release (@timgates42)
babel-compat-data
Committers: 21
- An Phi (@akphi)
- Ananda Umamil (@zweimach)
- Barron Wei (@barronwei)
- Brian Ng (@existentialism)
- Devon Govett (@devongovett)
- Guy Bedford (@guybedford)
- Huáng Jùnliàng (@JLHwung)
- James Addison (@jayaddison)
- Justin Ridgewell (@jridgewell)
- Luna Ruan (@lunaruan)
- Nicolò Ribaudo (@nicolo-ribaudo)
- Niklas Mischkulnig (@mischnic)
- Nitin Kumar (@snitin315)
- Ryan Rhee (@ryanrhee)
- Sosuke Suzuki (@sosukesuzuki)
- Sven Sauleau (@xtuc)
- Tim Gates (@timgates42)
- @overlookmotel
- fisker Cheung (@fisker)
- iamfotx (@iamfotx)
- Иван Плесских (@Amareis)