Releases: clercjs/clerc
Releases · clercjs/clerc
v1.3.0-beta.1
🚀 Features
- parser: Add
unknownRaw- by @so1ve (75455) - plugin-help: Allow hiding flags from text - by @so1ve (e526f)
🐞 Bug Fixes
- plugin-help:
🧹 Chore
- Fix typecheck - by @so1ve (c3d31)
- Bump deps - by @so1ve (253bb)
- Fix typecheck - by @so1ve (ad036)
- Rename
unknownRawtorawUnknown- by @Copilot and so1ve in #338 (178b4) - Release v1.3.0-beta.1 - by @so1ve (068f5)
- deps:
🧪 Test
- Add
FORCE_COLOR=1to produce consistent output in snapshots - by @WuMingDao in #336 (6ef4a)
View changes on GitHub
v1.2.1
v1.2.0
🚀 Features
- parser:
- plugin-help:
🐞 Bug Fixes
- Use
Object.prototype.hasOwnPropertyinstead ofObject.hasOwnto improve compatibility - by @so1ve (5613c) - core:
- parser:
- plugin-completions:
- plugin-help:
🏎 Performance
- Improve performance by caching
camelCaseresult and remove use of regexs - by @so1ve (b2675) - Use charcodes in
camelCasefunction as possible - by @so1ve (d96a9) - parser: Use string comparison instead of
BUILTIN_DELIMITERS_REin config validation - by @so1ve (eda2e)
🧹 Chore
- Format
camelCasejsdoc - by @so1ve (9c4bf) - Fix typo - by @so1ve (8bde9)
- Fix comment description - by @so1ve (28a4f)
- Release v1.2.0 - by @so1ve (c3d48)
🧪 Test
🔨 Refactor
View changes on GitHub
v1.1.1
v1.1.0
🚀 Features
🐞 Bug Fixes
🏎 Performance
- Bundle several dependencies to minimum space size - by @so1ve (dac27)
- plugin-not-found: Drop
didyoumean2to reduce package size and get better customizability - by @so1ve (28992)
👷 CI
🧹 Chore
- Update deps and format - by @so1ve (72253)
- Update deps and format - by @so1ve (b5561)
- Release v1.1.0 - by @so1ve (0685f)
🧪 Test
- Should call
awaitonnext- by @so1ve (942e4) - Remove
tsconfigPathsplugin - by @so1ve (cf9a7) - Migrate to
vite-plugin-simple-tsconfig-alias- by @so1ve (332f2) - Fix typecheck - by @so1ve (6b547)
🔨 Refactor
- Enable
fixedExtension- by @so1ve (71f1a) - Use asterisk for tsconfig path aliases - by @so1ve (183f0)
View changes on GitHub
v1.0.3
🐞 Bug Fixes
🏎 Performance
🧹 Chore
- Remove
clean: truebecause this is turned on by default - by @so1ve (02efe) - Release v1.0.3 - by @so1ve (0471d)
View changes on GitHub
v1.0.2
v1.0.1
v1.0.0
🚨 Breaking Changes
- Move argv to
ParseOptions- by @so1ve (93c4e) - clerc:
- core:
- core, parser:
- core, plugin-help:
- parser:
- plugin-help:
🚀 Features
- A complete rewrite - by @so1ve in #320 (f4dc9)
- Rename
NoCommandGivenErrortoNoCommandSpecifiedError- by @so1ve (0ccbc) - Add generics to
Choices- by @so1ve (7382b) - Use
@uttr/tintinstead ofyoctocolors- by @so1ve (b0e23) - clerc:
- core:
- Support space-separated parameters - by @so1ve (b1ced)
- Re-export parser constants - by @so1ve (3a2ca)
- Allow extending flag options - by @so1ve (ea6fd)
- Re-export parser types - by @so1ve (42c0f)
- Provide a shared
storestate to communicate between plugins - by @so1ve (262b7) - Command constraints - by @so1ve (4c258)
- Allow extending parameter option types - by @so1ve (1bb8a)
- Support registering multiple commands in one array - by @so1ve (f44db)
- core, plugin-help:
- parser:
- parser, plugin-help:
- plugin-completions:
- Allow hiding certain commands in completion result - by @so1ve (29a42)
- Use types to restrict input values - by @so1ve (e1739)
- Replace
@pnpm/tabtabwith@bomb.sh/tab- by @so1ve in #323 (205f9) - Allow hiding flags in completion result - by @so1ve (faf3c)
- Allow passing custom handlers for flags - by @so1ve (a1bbf)
- Allow user passing custom command handler - by @so1ve (c1917)
- Allow passing custom handlers for parameters - by @so1ve (3b701)
- plugin-core:
- plugin-help:
- Allow hiding certain commands in help text, close #262 - by @so1ve in #262 (6723b)
- Support customize flag formatter - by @so1ve (80484)
- Re-export default formatters - by @so1ve (db812)
- Grouping commands, flags and globalFlags - by @so1ve (25c65)
- Add line breaks between groups - by @so1ve (d40d1)
- Add back
<COMMAND>placeholder - by @so1ve (39b48) - Put commands/flags in default group at top - by @so1ve (24928)
- Put root command at top - by @so1ve (65c62)
- Display subcommands - by @so1ve (72efd)
- Throw errors when command not found and let other handlers handle it - by @so1ve (f07e3)
- Display parameter constraints - by @so1ve (ecfef)
- Reorder sections in a more readable way - by @so1ve (bb50f)
- Print available subcommands - by @so1ve (57d2e)
- Remaster colors - by @so1ve (67d2c)
- Dim cli name - by @so1ve (d4c51)
- Make
[flags]and[command]dimmed - by @so1ve (7c8ca)
- plugin-not-found:
- plugin-store:
🐞 Bug Fixes
- Use
console.loginstead ofprocess.stdout.write- by @so1ve (59ed5) - Correctly inline @clerc/utils - by @so1ve (9e12e)
- Remove default value for Flags in command definitions to help autocompletion - by @so1ve (364f7)
- clerc:
- core:
- Rename
maybeMissingParameterstomissingParametersand it's not optional - by @so1ve (c1ac0) - Should return promise instead of ignore it during error handling - by @so1ve (5f67b)
- Should accept a stricter
readonly string[]as Parameters - by @so1ve (dfb83) - Should accept readonly parameters in
defineCommandas well - by @so1ve (25e29) - Should resolve al...
- Rename
v1.0.0-beta.30
🐞 Bug Fixes
- plugin-help:
🧹 Chore
- Pin tsgo to temporarily fix hang issue - by @so1ve (dd3cf)
- Release v1.0.0-beta.30 - by @so1ve (1bf61)
🧪 Test
🔨 Refactor
- plugin-completions: Create a new
RootCommandinstance instead of using the global one - by @so1ve (08b3b) - test-utils: Use
vi.mocked- by @so1ve (edc8f)