npm @babel/preset-stage-2 7.0.0-beta.47
v7.0.0-beta.47

latest releases: 7.8.3, 7.8.0, 7.0.0...
5 years ago

v7.0.0-beta.47 (2018-05-14)

  • Compile Babel itself to target Node 6 syntax given we dropped Node 4 support to run (this is unrelated to the output code)
  • Allow babelrc and babelrcRoots in config files
  • Various bug fixes

πŸ’₯ Breaking Change

  • babel-generator, babel-plugin-syntax-decorators, babylon
  • Other

πŸš€ New Feature

  • babel-core
    • #7911 Allow 'babelrc' and 'babelrcRoots' in config files (but not .babelrc/extends). (@loganfsmyth)

πŸ› Bug Fix

  • babel-plugin-transform-typescript
    • #7878 Fix handling of different JSX pragmas in Typescript. (@calebeby)
    • #7833 fix(transform-typescript): do not elide injected imports. (@jeysal)
  • babel-core
    • #7911 Allow 'babelrc' and 'babelrcRoots' in config files (but not .babelrc/extends). (@loganfsmyth)
  • babel-cli
  • babel-preset-env
  • babel-plugin-transform-typescript, babylon
    • #7888 TypeScript: Allow non-null and type assertions as lvalues. (Closes #7638). (@mmantel)
  • babel-preset-stage-3
    • #7819 fix(preset-stage-3): pass along loose flag to proposal-object-rest-spread. (@yyx990803)
  • babel-cli, babel-core, babel-helper-fixtures, babel-helper-transform-fixture-test-runner
    • #7761 Reimplement input sourcemap merging using range matching instead of closest-position matching. (@loganfsmyth)

πŸ’… Polish

  • babel-plugin-transform-modules-commonjs, babel-plugin-transform-template-literals
  • babylon
  • babel-plugin-proposal-class-properties
    • #7813 Class Props: Don't rename constructor collisions with static props. (@jridgewell)
  • babel-cli, babel-code-frame, babel-core, babel-helper-member-expression-to-functions, babel-helper-module-imports, babel-helper-plugin-utils, babel-preset-env, babel-register, babel-template, babel-types, babylon

πŸ“ Documentation

  • babel-node
  • babel-plugin-transform-destructuring, babel-plugin-transform-exponentiation-operator, babel-plugin-transform-property-mutators, babel-plugin-transform-proto-to-assign, babel-plugin-transform-reserved-words, babel-plugin-transform-spread
    • #7844 Improve README's for several plugins. [skip ci]. (@mmantel)
  • babel-preset-env
    • #7835 Change babel-preset-env docs according Browserslist best practices. (@ai)
    • #7807 Update shippedProposals in preset-env docs [skip ci]. (@existentialism)
    • #7790 update targets [skip ci]. (@hzoo)
  • babel-plugin-transform-instanceof
    • #7827 Expand README for plugin-transform-instanceof [skip ci]. (@mmantel)

🏠 Internal

  • Other
  • babel-core, babylon
  • babel-plugin-transform-classes
  • babel-core, babel-plugin-proposal-logical-assignment-operators, babel-plugin-proposal-nullish-coalescing-operator, babel-plugin-syntax-logical-assignment-operators, babel-plugin-syntax-nullish-coalescing-operator
  • babel-core, babel-helper-module-imports, babel-helper-transform-fixture-test-runner, babel-plugin-transform-modules-commonjs, babel-preset-es2015
  • babel-plugin-proposal-class-properties

Committers: 21

Don't miss a new preset-stage-2 release

NewReleases is sending notifications on new releases.