babel/CHANGELOG.md
2020-07-30 21:31:37 +00:00

379 KiB

Changelog

Tags:

  • 💥 [Breaking Change]
  • 👓 [Spec Compliance]
  • 🚀 [New Feature]
  • 🐛 [Bug Fix]
  • 📝 [Documentation]
  • 🏠 [Internal]
  • 💅 [Polish]

Note: Gaps between patch versions are faulty, broken or test releases.

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.11.0 (2020-07-30)

👓 Spec Compliance

  • babel-parser
  • babel-plugin-proposal-optional-chaining

🚀 New Feature

  • babel-cli, babel-core
  • babel-compat-data, babel-preset-env
  • babel-parser
  • babel-generator, babel-parser, babel-types
  • babel-core, babel-generator, babel-parser, babel-plugin-syntax-decimal, babel-standalone, babel-types
  • babel-core

🐛 Bug Fix

  • Other
    • #11896 update: hardcode @babel/eslint-parser min supported version check (@kaicataldo)
  • babel-helper-skip-transparent-expression-wrappers, babel-plugin-proposal-optional-chaining, babel-plugin-transform-spread
    • #11404 Skip TSAsExpression when transforming spread in CallExpression (@oliverdunk)
  • babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-logical-assignment-operators
    • #11702 add support for logical assignments with private properties (@ryzokuken)
  • babel-plugin-transform-typescript
  • babel-plugin-transform-runtime
    • #11893 Fix incorrect module path when absoluteRuntime is specified (@sz-coder)
  • babel-parser
    • #11862 Correctly check reserved word for PropertyDefinition: IdentifierReference (@JLHwung)
    • #11847 fix: correctly set innerEndPos in CoverParenthesizedExpressionAndArrowParameterList (@JLHwung)
  • babel-generator, babel-parser, babel-plugin-transform-typescript
  • babel-generator

💅 Polish

  • babel-traverse

🏠 Internal

  • Other
  • babel-standalone
  • babel-compat-data, babel-helper-compilation-targets, babel-preset-env
    • #11838 refactor: replace caniuse-db by mdn-browser-compat-data (@JLHwung)
  • babel-compat-data, babel-core, babel-helper-module-transforms, babel-helper-split-export-declaration, babel-parser, babel-plugin-proposal-object-rest-spread, babel-plugin-transform-classes, babel-preset-env, babel-traverse, babel-types
  • babel-types
    • #11843 refactor: reorganize babel types definitions structure (@JLHwung)
  • babel-compat-data
    • #11837 chore: use repository HEAD when pulling third party repos (@JLHwung)

v7.10.5 (2020-07-14)

🐛 Bug Fix

  • babel-helper-builder-react-jsx-experimental, babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-helper-module-transforms, babel-helper-transform-fixture-test-runner, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-decorators, babel-plugin-proposal-function-bind, babel-plugin-proposal-partial-application, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-block-scoping, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-systemjs, babel-plugin-transform-parameters, babel-plugin-transform-react-jsx-source, babel-plugin-transform-runtime, babel-plugin-transform-template-literals, babel-plugin-transform-typescript
  • babel-parser
    • #11814 fix: add optional: false to chained optional call expression (@JLHwung)
    • #11774 fix: throw expect jsx plugin error when an idStart or > is seen (@JLHwung)
  • babel-plugin-transform-typescript
  • babel-plugin-transform-block-scoping
  • babel-generator, babel-plugin-transform-typescript, babel-types
  • babel-compat-data

📝 Documentation

🏠 Internal

  • babel-cli, babel-compat-data, babel-core, babel-helper-define-map, babel-helper-fixtures, babel-helper-module-transforms, babel-helper-regex, babel-helper-transform-fixture-test-runner, babel-node, babel-plugin-transform-proto-to-assign, babel-register, babel-traverse, babel-types
  • babel-helper-fixtures, babel-traverse
  • babel-helper-fixtures, babel-helper-transform-fixture-test-runner
  • babel-plugin-transform-block-scoping
  • babel-generator, babel-plugin-transform-typescript, babel-types
  • babel-cli, babel-generator, babel-helper-transform-fixture-test-runner, babel-traverse, babel-types
    • #11790 Reduce dependency on lodash functions: includes, uniq, repeat, isinteger (@jayaddison)
  • Other
  • babel-register
    • #11780 test: add console warn spy on babel-register tests (@JLHwung)
    • #11776 chore: remove babel-register generated test artifacts (@JLHwung)

v7.10.4 (2020-06-30)

👓 Spec Compliance

  • babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties
  • babel-parser, babel-types

🐛 Bug Fix

  • babel-types
  • babel-plugin-proposal-do-expressions, babel-types

💅 Polish

🏠 Internal

  • babel-core, babel-helper-fixtures, babel-standalone, babel-traverse
    • #11758 Replace non-inclusive "whitelist" and "blacklist" terms with "allowlist" etc. (@wojtekmaj)
  • babel-parser
  • babel-core

v7.10.3 (2020-06-19)

👓 Spec Compliance

  • babel-parser
    • #11676 Properly parse export default from when exportDefaultFrom is not enabled (@JLHwung)
  • babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-optional-chaining
    • #11662 refactor: do not rely on AST extra properties in plugins (@JLHwung)
  • babel-plugin-proposal-logical-assignment-operators
    • #11658 Perform NamedEvaluation of Anonymous Functions in Logical Assignment (@jridgewell)
  • babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-optional-chaining

🐛 Bug Fix

  • babel-parser, babel-plugin-transform-flow-comments
  • babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties
  • babel-template
  • babel-types
    • #11687 improve node type definitions to avoid any's in generated types (@zxbodya)
  • babel-plugin-transform-react-pure-annotations
    • #11685 Add React.createContext to @babel/plugin-transform-react-pure-annotat… (@jessethomson)
  • babel-parser
    • #11676 Properly parse export default from when exportDefaultFrom is not enabled (@JLHwung)
  • babel-helper-create-class-features-plugin, babel-plugin-proposal-class-properties, babel-plugin-proposal-private-methods

💅 Polish

🏠 Internal

  • Other
  • babel-helper-plugin-utils
  • babel-plugin-proposal-class-properties, babel-plugin-proposal-private-property-in-object, babel-preset-env

v7.10.2 (2020-05-30)

🚀 New Feature

🐛 Bug Fix

  • babel-helper-compilation-targets
    • #11648 fix: don't mutate InputTarget's passed to @babel/helper-compilation-targets (@fivetanley)
  • babel-helper-create-class-features-plugin, babel-preset-env
  • babel-generator
  • babel-generator, babel-types
  • babel-plugin-syntax-module-attributes, babel-standalone
    • #11631 Fix moduleAttributesVersion errors with stage-0 preset in babel standalone (@hamlim)

💅 Polish

  • babel-core
    • #11643 fix: add new plugin names to missing plugin helpers (@JLHwung)

🏠 Internal

  • babel-parser
    • #11653 refactor: split locationParser into ParserErrors and error message (@JLHwung)

v7.10.1 (2020-05-27)

🐛 Bug Fix

  • babel-preset-env
  • babel-standalone

🏠 Internal

v7.10.0 (2020-05-26)

👓 Spec Compliance

  • babel-plugin-proposal-logical-assignment-operators
    • #11370 logical-assignment: Do not assign names to anonymous functions (@arku)

🚀 New Feature

  • babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-helper-optimise-call-expression, babel-helper-replace-supers, babel-parser, babel-plugin-proposal-class-properties
  • babel-standalone
    • #11593 feat: add privatePropertyInObject to babel-standalone (@JLHwung)
    • #11466 Support data-type="module" to generate native