Changelog History
Page 20
-
v7.0.0-beta.54 Changes
July 16, 2018Regarding https://github.com/babel/babel/issues/8184, we aren't using
micromatch
for paths, just basic*/**
substitution now. For anything more complicated we will recommend using a regex/.js
config. π > Fixed a bug in the stage presets (https://github.com/babel/babel/issues/8307), so we just removed the requirements for setting options in the meantime for ease of use. We are removing the Stage presets next release. https://github.com/babel/babel/pull/8293:boom: Breaking Change
babel-core
,babel-register
,babel-traverse
- #8327 Treat string ignore/only/test/include/exclude values as paths with only basic pattern matching. (@loganfsmyth)
:bug: Bug Fix
babel-core
,babel-register
,babel-traverse
- #8327 Treat string ignore/only/test/include/exclude values as paths with only basic pattern matching. (@loganfsmyth)
babel-preset-stage-0
,babel-preset-stage-1
- #8317 Fix stage-0/1 import of pipeline proposals array. (@mAAdhaTTah)
- π
babel-helper-module-transforms
,babel-plugin-transform-modules-commonjs
- #8316 Ensure that the wildcard interop is used with re-export + default.. (@loganfsmyth)
babel-core
- #8315 Remove option-filtering options from the final options results.. (@loganfsmyth)
π :memo: Documentation
-
v7.0.0-beta.53 Changes
July 11, 2018- π Fix for regression with paths on windows due to micromatch upgrade, remove yearly presets (not published)
- π (There was an issue with the Stage presets in this release, but it is also deprecated)
:boom: Breaking Change
:rocket: New Feature
- π
babel-generator
,babel-parser
,babel-plugin-transform-typescript
,babel-types
- π
babel-parser
- #8291 Support pipeline proposal flag in
@babel/parser
. (@mAAdhaTTah)
- #8291 Support pipeline proposal flag in
- π
babel-plugin-proposal-object-rest-spread
- π
babel-helpers
,babel-plugin-proposal-object-rest-spread
,babel-plugin-transform-destructuring
,babel-preset-env
:bug: Bug Fix
babel-core
babel-types
- #8165 [babel-types] Fix isNodesEquivalent() behavior for TemplateElements. (@timkendrick)
π :nail_care: Polish
- π
babel-plugin-syntax-pipeline-operator
,babel-preset-stage-0
,babel-preset-stage-1
- #8279 Improve error messages around pipeline option. (@mAAdhaTTah)
π :memo: Documentation
:house: Internal
-
v7.0.0-beta.52 Changes
July 06, 2018π 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).π Also various bugfixes, change to force the pipeline plugin to have an option.
π§ 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" }]] }
:boom: 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: 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
π :nail_care: Polish
babel-cli
,babel-preset-env
- #8250 remove emojis from cli output. (@johnbuffington)
:house: 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)
-
v7.0.0-beta.51 Changes
June 12, 2018π Fixed a peerDep issue
-
v7.0.0-beta.50 Changes
June 12, 2018β‘οΈ Mostly bug fixes and some decorator updates
:eyeglasses: Spec Compliance
- π
babel-plugin-proposal-unicode-property-regex
- #8127 Update plugin-proposal-unicode-property-regex for Unicode v11. (@mathiasbynens)
- π
babel-parser
- #8125 Update identifier parsing per Unicode v11. (@mathiasbynens)
- π
babel-core
,babel-generator
,babel-parser
,babel-plugin-proposal-decorators
,babel-types
- #8037 Remove parser support for decorators optional parentheses. (@nicolo-ribaudo)
:boom: Breaking Change
- π
babel-generator
,babel-parser
,babel-plugin-syntax-decorators
- #8113 Change decoratorsBeforeExport default to false. (@nicolo-ribaudo)
- π
babel-core
,babel-generator
,babel-parser
,babel-plugin-proposal-decorators
,babel-types
- #8037 Remove parser support for decorators optional parentheses. (@nicolo-ribaudo)
- π
babel-core
,babel-plugin-syntax-decorators
- #7938 Update syntax-decorators options. (@nicolo-ribaudo)
- π
babel-helper-builder-react-jsx
,babel-plugin-transform-react-inline-elements
,babel-plugin-transform-react-jsx
:rocket: New Feature
babel-generator
- #8143 add jsesc options support. (@vincentdchan)
babel-preset-env
- π
babel-core
,babel-plugin-syntax-decorators
- #7938 Update syntax-decorators options. (@nicolo-ribaudo)
- π
babel-generator
,babel-plugin-proposal-decorators
- #7948 Add "decoratorsBeforeExport" option to @babel/generator. (@nicolo-ribaudo)
- π
babel-generator
,babel-parser
,babel-types
,babylon
- #7978 Support Flow's proto modifier syntax for declared classes. (@samwgoldman)
:bug: Bug Fix
- π
babel-helper-hoist-variables
,babel-plugin-transform-modules-systemjs
- #8104 System module format hoisting and export refinements. (@guybedford)
- π
babel-plugin-proposal-class-properties
,babel-traverse
- #8051 Don't split an exported class when renaming an inner binding. (@nicolo-ribaudo)
- #8122 isConstantExpression should return true for immuable bindings. (@nicolo-ribaudo)
- π
babel-plugin-transform-typescript
- #7996 Adds JSXFragment to plugin-transform-typescript check for the presence of jsx. (@malbernaz)
- π
babel-plugin-proposal-class-properties
,babel-plugin-transform-typescript
- π
babel-parser
- #8030 Allow ts modifier names to be used as function argument names. (@existentialism)
babel-preset-env
- #8132 Fix Safari TP and regular versions comparison. (@yuri-karadzhov)
- #8138 Ensure regex-dot-all runs before unicode-regex in preset-env. (@existentialism)
- π
babel-helpers
,babel-plugin-transform-classes
- #8100 Fix ReferenceError in the wrapNativeSuper helper. (@chocolateboy)
babel-types
- #8060 make isReferenced() recognise ObjectTypeProperty. (@peter-leonov)
babel-cli
- #8082 Avoid a race condition in CLI directory creation.. (@loganfsmyth)
- π
babel-helper-builder-react-jsx
,babel-plugin-transform-react-inline-elements
,babel-plugin-transform-react-jsx
π :nail_care: Polish
- π
babel-plugin-proposal-class-properties
,babel-plugin-transform-classes
,babel-plugin-transform-parameters
,babel-plugin-transform-react-constant-elements
- #8123 [class-properties] Remove unnecessary return and temp variable. (@nicolo-ribaudo)
- π
babel-parser
- #8074 nit: fix folder name. (@dnalborczyk)
π :memo: Documentation
:house: Internal
- Other
- #8142 Don't regenerate babel-types docs in the readme. (@nicolo-ribaudo)
- #8139 Bump test262-stream and update test262 tests. (@existentialism)
babel-generator
,babel-node
,babel-standalone
,babel-template
- #8144 Add Labels to READMEs Generator & Update README's w. Links To Open Issues (for some pkg's). (@BeniCheni)
babel-node
- #7908 Test on node 10. (@nicolo-ribaudo)
- π
-
v7.0.0-beta.5 Changes
October 30, 2017π¦ > 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"
:eyeglasses: Spec Compliance
- π
babel-plugin-transform-optional-chaining
- π
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
:boom: Breaking Change
babel-*
- π
babel-plugin-transform-async-to-generator
,babel-plugin-transform-async-to-module-method
,babel-standalone
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
- π
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
- #6492 Make babel-template nicer in a bunch of ways. (@loganfsmyth)
babel-core
- #6436 Simplify dirname option in plugins/presets?. (@loganfsmyth)
babel-*
:rocket: New Feature
- π
babel-helper-builder-react-jsx
,babel-plugin-transform-react-jsx
,babel-types
babel-*
- π
babel-plugin-transform-es3-member-expression-literals
,babel-plugin-transform-es3-property-literals
,babel-plugin-transform-es3-reserved-words
,babel-types
- #6479 Rename variables es3 reserved words. (@maurobringolf)
- π
babel-preset-env
,babel-plugin-transform-unicode-property-regex
,babel-preset-stage-3
,babel-standalone
- #6499 Import babel-plugin-transform-unicode-property-regex. (@mathiasbynens)
- π
babel-plugin-syntax-nullish-coalescing-operator
,babel-plugin-transform-nullish-coalescing-operator
,babel-preset-stage-1
,babel-types
:bug: Bug Fix
- π
babel-plugin-proposal-unicode-property-regex
,babel-template
- π
babel-plugin-proposal-class-properties
,babel-traverse
babel-*
babel-core
- #6524 fix(babel-core): add missing extension to package.json dependency. (@alexjoverm)
- #6503 babel-core: Pass the right err to callback in transformFile(). (@robertrossmann)
- π
babel-plugin-transform-react-jsx
- #6519 Fix regression that leaks JSX pragma config between files.. (@loganfsmyth)
- π
babel-plugin-transform-class-properties
- π
babel-plugin-transform-pipeline-operator
- #6515 Fix destructuring in pipeline operator. (@jridgewell)
π :nail_care: Polish
- π
babel-plugin-transform-es2015-parameters
babel-code-frame
π :memo: Documentation
- Other
babel-*
babel-preset-env
- #6527 Update README:
useBuiltins: true
is changed to "entry". (@exarus) - #6508 Update reference from babel- to @babel/ in README.md. (@knittingcodemonkey)
- #6527 Update README:
babel-helper-get-function-arity
babel-helper-bindify-decorators
babel-helper-hoist-variables
:house: Internal
babel-core
,babel-generator
,babel-template
,babel-traverse
,babel-types
babel-preset-env
- #6551 Re-add electron-to-chromium as preset-env devdep. (@existentialism)
- Other
- π
babel-plugin-transform-unicode-property-regex
babel-preset-env
,babel-preset-es2017
- #6513 Remove syntax-trailing-function-commas from Babel presets. (@existentialism)
babel-runtime
- #6509 Updating references to @babel/ and adding dependencies to package.json. (@knittingcodemonkey)
- π
babel-core
,babel-helpers
,babel-plugin-transform-es2015-block-scoping
,babel-runtime
- #6379 Fix helper dependencies in babel runtime. (@nicolo-ribaudo)
babel-core
- #6474 Removed index.js stub from packages/babel-core. (@zacharysang)
babel-register
- π
-
v7.0.0-beta.49 Changes
May 25, 2018π Mostly bugfix release for a regression in decorators, and a quick fix for some new
babel-node
options in the last release that just didn't work right. Also one small addition to the API for official promise-returning versions of our async transform/parsing functions.:rocket: New Feature
babel-core
- #8023 Add a promise-returning *Async version of the transform and parse fns. (@loganfsmyth)
:bug: Bug Fix
babel-node
- #8046 Handle kebab-case args in babel-node.. (@loganfsmyth)
- π
babel-plugin-proposal-decorators
- #8047 Transform decorated classes from the export visitor. (@nicolo-ribaudo)
- π
babel-cli
,babel-core
,babel-plugin-transform-react-jsx-source
,babel-preset-env
,babel-preset-react
- #8044 Expose all filenames as absolute paths, rather than relative.. (@loganfsmyth)
:house: Internal
-
v7.0.0-beta.48 Changes
May 24, 2018- π 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 https://github.com/babel/proposals/issues/43
- π Fix IE10 class regression
- π Various fixes, many TS fixes
:eyeglasses: Spec Compliance
- π
babel-parser
,babel-plugin-proposal-json-strings
,babel-plugin-syntax-json-strings
,babel-preset-stage-3
- #7985 Subsume json. (@jridgewell)
:boom: 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)
:rocket: 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: 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)
π :nail_care: Polish
- π
babel-parser
- #7986 Better error message for invalid decorators syntax. (@nicolo-ribaudo)
π :memo: Documentation
babel-preset-env
- π
babel-parser
:house: 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)
- π Renamed
-
v7.0.0-beta.47 Changes
May 14, 2018- π 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
andbabelrcRoots
in config files - π Various bug fixes
:boom: Breaking Change
- π
babel-generator
,babel-plugin-syntax-decorators
,babylon
- #7821 Rename decorators&decorators2 plugins to decorators-legacy&decorators.. (@nicolo-ribaudo)
- Other
:rocket: New Feature
babel-core
- #7911 Allow 'babelrc' and 'babelrcRoots' in config files (but not .babelrc/extends). (@loganfsmyth)
:bug: Bug Fix
- π
babel-plugin-transform-typescript
babel-core
- #7911 Allow 'babelrc' and 'babelrcRoots' in config files (but not .babelrc/extends). (@loganfsmyth)
babel-cli
- #7875 Fix watch bug with output-dir paths.. (@loganfsmyth)
babel-preset-env
- #7809 Clean up and add some additional polyfill mappings in preset-env. (@existentialism)
- #7884 Fix bug with handling minor versions when parsing compat-data. (@existentialism)
- #7810 Improve useBuiltIns: usage mappins in preset-env. (@existentialism)
- π
babel-plugin-transform-typescript
,babylon
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)
π :nail_care: Polish
- π
babel-plugin-transform-modules-commonjs
,babel-plugin-transform-template-literals
- #7855 Lazy load tagged template literal strings. (@dczombera)
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
- #7777 Use Object Spread Syntax. (@jridgewell)
π :memo: Documentation
babel-node
- #7897 Fix typo [skip-ci]. (@rockymeza)
- π
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
babel-preset-env
- π
babel-plugin-transform-instanceof
:house: Internal
- Other
- #7925 Update test262 and flow tests. (@nicolo-ribaudo)
- #7916 Use the correct Babylon plugins for Test262 tests. (@nicolo-ribaudo)
- #7906 Update @babel/plugin-codemod-object-assign-to-object-spread version. (@nicolo-ribaudo)
- #7851 remove since we have other issue templates [skip ci]. (@hzoo)
- #7839 add lock bot for closed issues [skip ci]. (@hzoo)
- #7811 Upgrade to gulp@4. (@existentialism)
- #7794 add loose to object spread. (@hzoo)
- #7792 Fix indent in .travis.yml. (@shirohana)
babel-core
,babylon
- #7904 Fix typescript decorator test. (@existentialism)
- π
babel-plugin-transform-classes
- #7893 fix typo in a comment. (@aaronabramov)
- π
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
- #7825 Unify
main
property in package.json [ci skip]. (@shirohana)
- #7825 Unify
- β
babel-core
,babel-helper-module-imports
,babel-helper-transform-fixture-test-runner
,babel-plugin-transform-modules-commonjs
,babel-preset-es2015
- #7784 Upgrade Babel to self-host with beta.46. (@loganfsmyth)
- π
babel-plugin-proposal-class-properties
- #7814 Don't fold class property calls. (@jridgewell)
-
v7.0.0-beta.46 Changes
April 23, 2018- π Fix regression by landing #7783