npm @babel/preset-typescript 7.0.0-beta.5
v7.0.0-beta.5

latest releases: 8.0.0-alpha.11, 7.24.7, 8.0.0-alpha.10...
6 years ago

v7.0.0-beta.5 (2017-10-30)

Lots of changes in this release, will make a blog post for it! (Still need to update integrations like babel-loader though)

Note: don't use ^ in your dependencies when using a beta. It can still break between (we should try not to do it but it can), so pin all the packages like "@babel/cli" : "7.0.0-beta.4"

👓 Spec Compliancy

  • babel-plugin-transform-optional-chaining
    • #6525 Optional Chaining: Account for document.all. (@azz)
  • babel-preset-env, babel-helper-remap-async-to-generator, babel-helpers, babel-plugin-transform-async-generator-functions, babel-plugin-transform-async-to-generator, babel-plugin-transform-function-sent
    • #6452 Adhering to async generator yield behavior change. (@Andarist)

💥 Breaking Change

  • babel-*
    • #6575 remove es20xx prefixes from plugins and rename folders. (@hzoo)
  • babel-plugin-transform-async-to-generator, babel-plugin-transform-async-to-module-method, babel-standalone
    • #6573 Merge transform-async-to-module-method into transform-async-to-generator. (@hzoo)
  • babel-*
  • babel-preset-env, babel-helper-remap-async-to-generator, babel-helpers, babel-plugin-transform-async-generator-functions, babel-plugin-transform-async-to-generator, babel-plugin-transform-function-sent
    • #6452 Adhering to async generator yield behavior change. (@Andarist)
  • babel-helper-module-transforms, babel-helper-remap-async-to-generator, babel-helpers, babel-plugin-transform-class-properties, babel-plugin-transform-es2015-classes, babel-plugin-transform-es2015-for-of, babel-plugin-transform-es2015-modules-amd, babel-plugin-transform-es2015-modules-commonjs, babel-plugin-transform-es2015-modules-systemjs, babel-plugin-transform-es2015-parameters, babel-template, babel-types
  • babel-core
  • babel-*
    • #6495 Rename everything: use scoped packages. (@hzoo)

🚀 New Feature

  • babel-helper-builder-react-jsx, babel-plugin-transform-react-jsx, babel-types
    • #6563 Add a 'throwIfNamespace' option for JSX transform. (@jukben)
  • babel-*
    • #6549 Add peerDep on specific babel-core version in transform plugins, pres…. (@hzoo)
  • babel-plugin-transform-es3-member-expression-literals, babel-plugin-transform-es3-property-literals, babel-plugin-transform-es3-reserved-words, babel-types
  • babel-preset-env, babel-plugin-transform-unicode-property-regex, babel-preset-stage-3, babel-standalone
  • babel-plugin-syntax-nullish-coalescing-operator, babel-plugin-transform-nullish-coalescing-operator, babel-preset-stage-1, babel-types
    • #6483 Implement transform for nullish-coalescing operator. (@azz)

🐛 Bug Fix

  • babel-plugin-proposal-unicode-property-regex, babel-template
    • #6646 fixup places that aren not scoped [skip ci]. (@hzoo)
  • babel-plugin-proposal-class-properties, babel-traverse
    • #6530 Fixed incorrect static class field initialization order. (@Andarist)
  • babel-*
  • babel-core
  • babel-plugin-transform-react-jsx
  • babel-plugin-transform-class-properties
    • #6517 Cloning reused node in class properties transform. (@Andarist)
  • babel-plugin-transform-pipeline-operator

💅 Polish

  • babel-plugin-transform-es2015-parameters
    • #6581 Fix hasRest to not try to load "-1" from params array.. (@bmeurer)
  • babel-code-frame
    • #6550 Make syntax highlighting for @ and # nicer. (@lydell)

📝 Documentation

  • Other
    • #6579 remove warning (still applies but don't need it there) [skip ci]. (@hzoo)
  • babel-*
    • #6569 Fix readmes to use @babel/ [skip ci]. (@hzoo)
  • babel-preset-env
  • babel-helper-get-function-arity
    • #6532 docs - Add helper-get-function-arity readme [skip ci]. (@athomann)
  • babel-helper-bindify-decorators
    • #6533 Add API to helper-bindify-decorators README [skip ci]. (@athomann)
  • babel-helper-hoist-variables
    • #6534 Add API to babel-helper-hoist-vars README [skip ci]. (@athomann)

🏠 Internal

  • babel-core, babel-generator, babel-template, babel-traverse, babel-types
  • babel-preset-env
  • Other
  • babel-plugin-transform-unicode-property-regex
    • #6548 Remove stale emoji tests in plugin-transform-unicode-property-regex. (@syldlb)
  • babel-preset-env, babel-preset-es2017
  • babel-runtime
  • babel-core, babel-helpers, babel-plugin-transform-es2015-block-scoping, babel-runtime
  • babel-core
  • babel-register

Committers: 21

Don't miss a new preset-typescript release

NewReleases is sending notifications on new releases.