Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING: Stop exporting core APIs from @inquirer/prompts #1384

Merged
merged 1 commit into from Apr 12, 2024

Conversation

SBoudrias
Copy link
Owner

Breaking change to @inquirer/prompts to stop exporting the core APIs from it.

This was proposed earlier by a PR, but it's been causing issue. Any breaking change to @inquirer/core becomes a breaking change to @inquirer/prompts, and for most users they'll only rely on prompts that receive UX upgrade.

So, I'm feeling pretty strongly about keeping both packages separated going forward.

  1. Breaking changes to @inquirer/core are more frequent (larger API surface.) So they'll just be exposed to prompt authors. (as a proof, we're at v7 of @inquirer/core, vs v2 of most prompts)
  2. Breaking changes to @inquirer/prompts means there's been a non-backward compatible change to a prompt public interface. Those are rare, so most of the time it'll be patch/minor updates to the UX that users will be able to bump worry free.

Leaving open a short while for review, but planning to release next week along #1381 (which introduce a breaking core change, but simple UX upgrade to all prompts.)

@SBoudrias SBoudrias force-pushed the breaking/prompts-without-core branch from 23ffe11 to 36c183b Compare April 12, 2024 18:56
@SBoudrias SBoudrias merged commit fedcd16 into master Apr 12, 2024
14 of 15 checks passed
@SBoudrias SBoudrias deleted the breaking/prompts-without-core branch April 12, 2024 18:57
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.

None yet

1 participant