Skip to content

Beta release#51

Open
privatenumber wants to merge 11 commits into
developfrom
beta
Open

Beta release#51
privatenumber wants to merge 11 commits into
developfrom
beta

Conversation

@privatenumber

Copy link
Copy Markdown
Owner

No description provided.

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`.
@privatenumber

Copy link
Copy Markdown
Owner Author

🎉 This PR is included in version 5.0.0-beta.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions

github-actions Bot commented Mar 2, 2026

Copy link
Copy Markdown

📊 Package size report   -5.16%↓

File Before (Size / Gzip) After (Size / Gzip)
dist/index.cjs 3.7 kB / 1.9 kB
dist/index.d.ts 6.7 kB / 2.4 kB 8%↑7.2 kB / 9%↑2.6 kB
dist/index.mjs 3.7 kB / 1.9 kB 5%↑3.9 kB / 4%↑1.9 kB
package.json 1.4 kB / 636 B -7.13%↓1.3 kB / -3.3%↓615 B
README.md 16.4 kB / 5.6 kB 5%↑17.3 kB / 6%↑5.9 kB
skills/type-flag/SKILL.md 5.6 kB / 2.6 kB 3%↑5.8 kB / 4%↑2.7 kB
Total (Includes all files) 38.6 kB / 15.5 kB -5.16%↓36.7 kB / -7.58%↓14.4 kB
Tarball size 12.9 kB 3%↑13.3 kB
Unchanged files
File Size (Size / Gzip)
LICENSE 1.1 kB / 667 B

🤖 This report was automatically generated by pkg-size-action

@privatenumber

Copy link
Copy Markdown
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.
@privatenumber

Copy link
Copy Markdown
Owner Author

🎉 This PR is included in version 5.0.0-beta.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@privatenumber

Copy link
Copy Markdown
Owner Author

🎉 This PR is included in version 5.0.0-beta.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@privatenumber

Copy link
Copy Markdown
Owner Author

🎉 This PR is included in version 5.0.0-beta.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

@privatenumber

Copy link
Copy Markdown
Owner Author

🎉 This PR is included in version 5.0.0-beta.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant