Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/v8-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,10 @@ The following plugins are discontinued and their functionality is not available

**Migration**: Remove the option from your config, since it's now enabled by default. Previously `allowDeclareFields` enables transforming the `declare` syntax introduced in Flow 0.120.0, in Babel 8 we support the syntax without such a flag. See also the [compilation changes](#compilation-change-flow) section.

- Remove `enums` option ([#16792](https://github.com/babel/babel/pull/16792))

**Migration**: Remove the option from your config. The `enums` option was used to enable Flow enums, which are now supported by default.

- Type check input options ([#12460](https://github.com/babel/babel/pull/12460))

**Migration**: The preset will also report invalid option names. Refer to the [docs](./preset-flow.md#options) and ensure valid usage.
Expand All @@ -306,6 +310,10 @@ The following plugins are discontinued and their functionality is not available

**Migration**: Remove the option from your config. You will probably be fine with the new behaviour.

- Remove `enums` option ([#16792](https://github.com/babel/babel/pull/16792))

**Migration**: Remove the option from your config. The `enums` option was used to enable Flow enums, which are now supported by default.

### `@babel/parser` {#configuration-change-parser}

![medium](https://img.shields.io/badge/risk%20of%20breakage%3F-medium-yellow.svg)
Expand Down