Skip to content

[Babel 8] Remove smart pipeline support and remove accessor property from Standardized alias#17732

Merged
nicolo-ribaudo merged 5 commits intobabel:mainfrom
JLHwung:types-cleanup
Jan 28, 2026
Merged

[Babel 8] Remove smart pipeline support and remove accessor property from Standardized alias#17732
nicolo-ribaudo merged 5 commits intobabel:mainfrom
JLHwung:types-cleanup

Conversation

@JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Jan 26, 2026

Q                       A
Fixed Issues?
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link babel/website#3157
Any Dependency Changes?
License MIT

In #17641, we have removed parsing support for the obsolete smart pipelines.

As a follow-up, in this PR we remove the smart pipeline AST definitions from babel-types.

Also removed assertions from the visitors of the ExportAllDeclaration.

This PR also removed ClassAccessorProperty from the Standardized alias, aligning with the fact that Decorator node is still experimental. The ClassAccessorProperty was included in Standardized as of Babel 7, and it should be removed given that it is still stage 3 and the implementations are very limited.

@JLHwung JLHwung added the PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release label Jan 26, 2026
@JLHwung JLHwung changed the title [Babel 8] Types cleanup [Babel 8] Remove smart pipeline AST and remove AccessorProperty from Standardized alias Jan 26, 2026
@JLHwung JLHwung changed the title [Babel 8] Remove smart pipeline AST and remove AccessorProperty from Standardized alias [Babel 8] Remove smart pipeline support and remove AccessorProperty from Standardized alias Jan 26, 2026
@JLHwung JLHwung changed the title [Babel 8] Remove smart pipeline support and remove AccessorProperty from Standardized alias [Babel 8] Remove smart pipeline support and remove accessor property from Standardized alias Jan 26, 2026
@babel-bot
Copy link
Collaborator

babel-bot commented Jan 26, 2026

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/60701

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 26, 2026

Open in StackBlitz

commit: ba8aa9c

@JLHwung
Copy link
Contributor Author

JLHwung commented Jan 27, 2026

/cc @fisker Could you update the prettier test cases and remove assertions from ExportAllDeclaration? Thank you.

@nicolo-ribaudo
Copy link
Member

@JLHwung assertions ended up being also removed by #17609, which includes an update in the Prettier e2e file to avoid the problem.

@JLHwung
Copy link
Contributor Author

JLHwung commented Jan 27, 2026

Thanks for the heads-up. I have removed the asseertions change commit and updated the git history.

@JLHwung
Copy link
Contributor Author

JLHwung commented Jan 28, 2026

Docs PR is ready, ptal: babel/website#3157

@nicolo-ribaudo nicolo-ribaudo merged commit f3c8477 into babel:main Jan 28, 2026
54 checks passed
@nicolo-ribaudo nicolo-ribaudo deleted the types-cleanup branch January 28, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants