Skip to content

Releases: insin/babel-preset-proposals

v0.4.0

01 Apr 08:04
Compare
Choose a tag to compare
  • Updated plugins to latest versions as of Babel 7.13
  • Added @babel/plugin-proposal-class-static-block and a new classStaticBlock option
  • Updated links to plugin docs in README
  • Require at least Node 10

v0.3.0

06 Mar 05:04
Compare
Choose a tag to compare

Breaking changes

  • Node 8 or greater is now required, as per transitive dependencies

v0.2.0

06 Mar 04:48
Compare
Choose a tag to compare

Breaking changes

  • Removed the following options for proposal plugins which are now handled by @babel/preset-env:

    • jsonStrings
    • nullishCoalescingOperator
    • optionalChaining
  • Options for @babel/plugin-proposal-decorators have changed, so they're no longer defaulted to {legacy: true} - you'll need to change your config to decorators: {legacy: true} if you want to keep the old behaviour.

Changes

  • Updated Babel proposal plugin dependencies from 7.0.0 to ^7.8.3

  • Proposal plugins which take options can now be configured, this affects the following preset options:

    • classProperties
    • decorators
    • pipelineOperator
  • Proposal plugins which require options will use the following defaults if they're enabled by a true option or all: true:

    • decorators: {decoratorsBeforeExport: false}
    • pipelineOperator: {proposal: 'minimal'}
  • This preset will validate the proposal option for @babel/plugin-proposal-pipeline-operator, as the plugin isn't currently validating the presence or value of this option.

v0.1.0

28 Aug 08:15
Compare
Choose a tag to compare

First release for Babel 7