v7.0.0-beta.52 (2018-07-06)
Summary
-
Deprecating the yearly/stage presets in v7 (will remove next beta). Ran
npm deprecate
on@babel/preset-es2015
,@babel/preset-es2016
,@babel/preset-es2017
,@babel/preset-stage-0
,@babel/preset-stage-1
,@babel/preset-stage-2
,@babel/preset-stage-3
only for versions>v7.0.0-beta.52
. This means this will only break your build if you are using^
in Babel v7 beta (which we have recommended against each release). (It is unfortunate that the default behavior of npm is to use^
when usingnpm install
though; haven't made an RFC for it yet). -
The pipeline plugin must be configured with the
minimal
option. This is so people explicitly know the implementation that is being used, and someone will be able to implement and test out the other proposal options. After all, this proposal is in Stage 1 still and the semantics are being figured out: this is a great opportunity to specify via the config what people are using.
{
"plugins": [["@babel/plugin-proposal-pipeline-operator", { "proposal": "minimal" }]]
}
💥 Breaking Change
babel-core
- #8198 Prefer explicit object maps, and properly load relative maps.. (@loganfsmyth)
babel-plugin-proposal-class-properties
,babel-plugin-proposal-decorators
,babel-plugin-proposal-pipeline-operator
,babel-plugin-syntax-pipeline-operator
,babel-preset-stage-0
,babel-preset-stage-1
- #8196 Require proposal flag for pipeline plugin. (@mAAdhaTTah)
🐛 Bug Fix
babel-types
- #8273 Add visitor key for Flow typeArguments in call expressions. (@rubennorte)
babel-core
- #8198 Prefer explicit object maps, and properly load relative maps.. (@loganfsmyth)
- #8197 Allow @foo/babel-plugin as an unexpanded plugin name, and @foo as a shorthand for it.. (@loganfsmyth)
babel-plugin-transform-typescript
💅 Polish
babel-cli
,babel-preset-env
- #8250 remove emojis from cli output. (@johnbuffington)
🏠 Internal
babel-core
,babel-helpers
,babel-plugin-transform-async-to-generator
,babel-plugin-transform-react-constant-elements
,babel-preset-env
- #8267 Optimize async to generator. (@jridgewell)
babel-core
,babel-parser
- #8259 upgrades eslint v5 (major), babel-eslint, eslint-plugin-flowtype, eslint-plugin-prettier. (@dnalborczyk)
babel-plugin-transform-modules-commonjs
,babel-plugin-transform-runtime
- #8265 Rename some test fixtures so they run properly.. (@loganfsmyth)
babel-helper-fixtures
,babel-plugin-proposal-class-properties
,babel-plugin-transform-classes
- #8208 Ensure that we don't get unexpected output files for tests that throw.. (@loganfsmyth)
babel-helper-transform-fixture-test-runner
- Other
- #8158 Compile against beta 51. (@existentialism)
babel-parser
- #8176 babel/parser: use charCodes throughout for improved sourcecode readability in tokenizer/parser.. (@GerHobbelt)
- #8177 babel/parser: remove dead code: constant condition. (@GerHobbelt)
Committers: 12
- Ben Newman (benjamn)
- Brian Ng (existentialism)
- Ger Hobbelt (GerHobbelt)
- James DiGioia (mAAdhaTTah)
- John Buffington (johnbuffington)
- Justin Ridgewell (jridgewell)
- Logan Smyth (loganfsmyth)
- Mateusz Burzyński (Andarist)
- Pierre-Marie Dartus (pmdartus)
- Rubén Norte (rubennorte)
- Soumya Himanish Mohapatra (himanish-star)
- dnalborczyk