Skip to content

[Babel 8]: partial-application plugin requires "version" option#17760

Merged
nicolo-ribaudo merged 4 commits intobabel:mainfrom
JLHwung:require-partial-application-version
Jan 31, 2026
Merged

[Babel 8]: partial-application plugin requires "version" option#17760
nicolo-ribaudo merged 4 commits intobabel:mainfrom
JLHwung:require-partial-application-version

Conversation

@JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Jan 30, 2026

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

In this PR we require a version option to be specified in the partial-application plugin. Currently the only supported version is "2018-07", when the proposal was discussed during the 65th meeting of TC39, which is also the version that we have implemented in #9343.

I plan to add another version "2021-10" targeted to Babel 8.1 and 8.2. Before that happens the only breaking change that we need for Babel 8 is to require users specifying this options.

The partial application transform has not been added to the babel-standalone. I will open a new PR to add it to standalone once this gets merged.

@JLHwung JLHwung added PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release PR: Needs Docs Spec: Partial Application labels Jan 30, 2026
@babel-bot
Copy link
Collaborator

babel-bot commented Jan 30, 2026

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 30, 2026

Open in StackBlitz

commit: 7b36f7d

@nicolo-ribaudo nicolo-ribaudo merged commit 208abb0 into babel:main Jan 31, 2026
55 checks passed
@nicolo-ribaudo nicolo-ribaudo deleted the require-partial-application-version branch January 31, 2026 13:43
This was referenced Feb 17, 2026
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 Spec: Partial Application

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants