Beta release#51
Open
privatenumber wants to merge 11 commits into
Open
Conversation
BREAKING CHANGE: Flag names with consecutive capitals now convert differently. `getID` maps to `--get-id` instead of `--get-i-d`.
## Summary - Custom type parser errors are now wrapped in a `TypeError` with the flag name for context - Original error preserved via `cause` for programmatic access - Example: `Flag "--port": Invalid number: abc` instead of just `Invalid number: abc` BREAKING CHANGE: Custom type parser errors are now wrapped in a TypeError. Error messages change from `<message>` to `Flag "--<name>": <message>`. Original error available via `.cause`.
Owner
Author
|
🎉 This PR is included in version 5.0.0-beta.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
📊 Package size report -5.16%↓
Unchanged files
🤖 This report was automatically generated by pkg-size-action |
Owner
Author
|
🎉 This PR is included in version 5.0.0-beta.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
BREAKING CHANGE: type-flag is now ESM-only. The dist/index.cjs build and the require export condition have been removed. Consumers must use ESM (import) or a bundler that supports ESM packages.
BREAKING CHANGE: Minimum supported Node.js version is now 22.22.2. Node.js 18 and 20 are no longer supported.
Owner
Author
|
🎉 This PR is included in version 5.0.0-beta.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Owner
Author
|
🎉 This PR is included in version 5.0.0-beta.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Owner
Author
|
🎉 This PR is included in version 5.0.0-beta.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# Conflicts: # README.md # src/index.ts
Owner
Author
|
🎉 This PR is included in version 5.0.0-beta.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.