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

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

v7.0.0-beta.48 (2018-05-24)

Summary

  • Renamed babylon to @babel/parser for clarity (I will still commonly refer to it as babylon though!)
  • Add Private Fields implementations (now Stage 3) class A { #a = 1 }
  • Add small Stage 3 (now Stage 4) Subsume JSON change babel/proposals#43
  • Fix IE10 class regression
  • Various fixes, many TS fixes

πŸ‘“ Spec Compliancy

  • babel-parser, babel-plugin-proposal-json-strings, babel-plugin-syntax-json-strings, babel-preset-stage-3

πŸ’₯ Breaking Change

  • babel-core, babel-helper-fixtures, babel-helper-transform-fixture-test-runner, babel-plugin-syntax-flow, babel-plugin-syntax-jsx, babel-plugin-syntax-typescript, babel-plugin-transform-typescript, babel-preset-react, babel-preset-typescript, babel-standalone
    • #7955 Verify that files are .ts/.tsx before treating as Typescript files.. (@loganfsmyth)
  • babel-cli, babel-core, babel-plugin-transform-react-jsx-source, babel-preset-react
    • #7956 Make the filename option, as exposed to the plugins, consistently relative to the working directory. (@loganfsmyth)
  • babel-traverse, babel-types
    • #7900 Re-add support for local Flow bindings (TypeAlias, OpaqueTypeAlias and Interface). (@rubennorte)

πŸš€ New Feature

  • babel-node
    • #8010 Add more of babel-cli's options to babel-node too for consistency.. (@loganfsmyth)
  • babel-cli, babel-node
    • #5621 Add no-babelrc option in babel-node. (@xtuc)
  • babel-core, babel-generator, babel-parser, babel-types, babylon
    • #7928 Create InterpreterDirective AST node type and use to replace babel/core File's 'shebang' handling. (@loganfsmyth)
  • babel-parser, babel-plugin-proposal-json-strings, babel-plugin-syntax-json-strings, babel-preset-stage-3
  • babel-generator, babel-plugin-syntax-flow, babel-plugin-transform-flow-strip-types, babel-types, babylon
    • #7934 Add support for explicit type arguments in new and call expressions. (@samwgoldman)
  • babel-generator, babel-types, babylon
  • babylon

πŸ› Bug Fix

  • babel-parser
  • babel-core, babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-exponentiation-operator, babel-plugin-transform-function-name, babel-plugin-transform-object-super, babel-plugin-transform-parameters, babel-plugin-transform-react-jsx, babel-plugin-transform-runtime, babel-preset-env
  • babel-types
  • babel-generator, babel-plugin-syntax-bigint, babel-types
  • babel-core, babel-generator, babel-parser, babel-types, babylon
    • #7928 Create InterpreterDirective AST node type and use to replace babel/core File's 'shebang' handling. (@loganfsmyth)
  • babel-cli, babel-core, babel-plugin-transform-react-jsx-source, babel-preset-react
    • #7956 Make the filename option, as exposed to the plugins, consistently relative to the working directory. (@loganfsmyth)
  • babel-preset-typescript
    • #7990 passes the jsxPragma options from preset-typescript to plugin-transform-typescript. (@malbernaz)
  • babel-types, babylon
    • #7967 TypeScript: Fix TSInferType .typeParameter type.. (@benjamn)
  • babel-helpers, babel-plugin-transform-classes, babel-preset-env
  • babel-register
    • #7930 Ensure that calling register() fully resets the extension state.. (@loganfsmyth)

πŸ’… Polish

πŸ“ Documentation

  • babel-preset-env
    • #8020 Fix include/exclude syntax in preset-env README. (@taion)
  • babel-parser

🏠 Internal

  • babel-parser
  • babel-plugin-proposal-decorators
  • babel-cli, babel-core
    • #7929 Refactor babel-cli to use async functions for async handling, and centralize option loading. (@loganfsmyth)
  • babel-helper-transform-fixture-test-runner

Committers: 15

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

NewReleases is sending notifications on new releases.