Skip to content

Remove babel 7 conditional docs#3228

Merged
JLHwung merged 4 commits into
babel:mainfrom
JLHwung:remove-babel-7-conditional-docs
Jul 17, 2026
Merged

Remove babel 7 conditional docs#3228
JLHwung merged 4 commits into
babel:mainfrom
JLHwung:remove-babel-7-conditional-docs

Conversation

@JLHwung

@JLHwung JLHwung commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

This PR removes the :::babel7 conditional docs and materialize the :::babel8 docs.

  • replace [ ]*::::babel7\n\n?([\s\S]+?)\n\s*:::: by ""

  • replace [ ]*:::babel7\n\n?([\s\S]+?)\n\s*::: by ""

  • replace [ ]*::::babel8\n\n?([\s\S]+?)\n\s*:::: by $1

  • replace [ ]*:::babel8\n\n?([\s\S]+?)\n\s*::: by $1

We also repurposed the Babel 8 remark plugin for Babel 9.

@netlify

netlify Bot commented Jul 16, 2026

Copy link
Copy Markdown

Deploy Preview for babel-v8 ready!

Name Link
🔨 Latest commit 792bcfb
🔍 Latest deploy log https://app.netlify.com/projects/babel-v8/deploys/6a5920bed1e7960008d8daa9
😎 Deploy Preview https://deploy-preview-3228--babel-v8.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread docs/parser.md Outdated
Comment thread docs/parser.md Outdated
@JLHwung
JLHwung force-pushed the remove-babel-7-conditional-docs branch from 0aa2cfc to 792bcfb Compare July 16, 2026 18:19
@netlify

netlify Bot commented Jul 16, 2026

Copy link
Copy Markdown

Deploy Preview for babel-v9 ready!

Name Link
🔨 Latest commit 792bcfb
🔍 Latest deploy log https://app.netlify.com/projects/babel-v9/deploys/6a5920beca938800087115fc
😎 Deploy Preview https://deploy-preview-3228--babel-v9.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Babel 8 will only support `"2023-11"` and `"legacy"`. If you are using a different decorators version, it's recommended to migrate to `"2023-11"`.
:::

The spec repo provides a brief [summary of the differences between these versions](https://github.com/tc39/proposal-decorators#how-does-this-proposal-compare-to-other-versions-of-decorators).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This paragraph is copied from the removed Babel 7 docs. I think it is still relevant for Babel 8.

@JLHwung
JLHwung merged commit b475320 into babel:main Jul 17, 2026
4 checks passed
@JLHwung
JLHwung deleted the remove-babel-7-conditional-docs branch July 17, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants