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
- #7985 Subsume json. (@jridgewell)
π₯ 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
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
- #7985 Subsume json. (@jridgewell)
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
- #7959 Allow internal slot properties to be optional. (@samwgoldman)
- #7947 Internal slot properties. (@samwgoldman)
babylon
- #7869 Add an option to Babylon to have decorators before export. (@nicolo-ribaudo)
π Bug Fix
babel-parser
- #7994 [Babylon] Take the first set of options for plugins. (@nicolo-ribaudo)
- #7968 Set exprAllowed to false when parsing TSNonNullExpression. (@existentialism)
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
- #7969 Fix class inheritance in IE10. (@jridgewell)
babel-types
- #8005 Handle Infinity, -Infinity, NaN, and -0 in t.valueToNode().. (@loganfsmyth)
- #7982 Build InterfaceTypeAnnotation generated type code. (@jridgewell)
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
babel-helpers
,babel-plugin-transform-classes
,babel-preset-env
- #7533 Fix bugs in the _wrapNativeSuper helper. (@nicolo-ribaudo)
babel-register
- #7930 Ensure that calling register() fully resets the extension state.. (@loganfsmyth)
π Polish
babel-parser
- #7986 Better error message for invalid decorators syntax. (@nicolo-ribaudo)
π Documentation
babel-preset-env
babel-parser
π Internal
babel-parser
- #7999 [babylon] Refactor mixin plugins handling & validation. (@nicolo-ribaudo)
- #8002 Fix some flow issues in @babel/parser flow plugin. (@existentialism)
babel-plugin-proposal-decorators
- #7975 Add "legacy" prefix to legacy decorators tests. (@nicolo-ribaudo)
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
- #7931 Test running bug fixing for Node 10. (@loganfsmyth)
Committers: 15
- Ben Newman (benjamn)
- Brian Ng (existentialism)
- Henry Zhu (hzoo)
- Jimmy Jia (taion)
- Justin Ridgewell (jridgewell)
- Lars Willighagen (larsgw)
- Logan Smyth (loganfsmyth)
- Michael Lavina (mlavina)
- Michal Artazov (kytart)
- Miguel Albernaz (malbernaz)
- Mike Nason (nason)
- NicolΓ² Ribaudo (nicolo-ribaudo)
- RubΓ©n Norte (rubennorte)
- Sam Goldman (samwgoldman)
- Sven SAULEAU (xtuc)