v1.0.0-rc.4
BREAKING CHANGES
-
ansi,prompt: remove use of
Deno.isatty()
andrid
(#672) (bcc7552)This commit removes the
rid
property from thereader
option and replaces theisTty
method with theisTerminal
method. -
command: remove support for executable sub-commands (#682) (89475a8)
Features
-
Publish to jsr (#679)
This is the first release on jsr.io and is used for initial testing. Cliffy is still published to deno.land, but as soon as jsr.io becomes stable, cliffy will probably only be published on jsr.io and no longer on deno.land.
Bug Fixes
- command: file type completion not working for first argument in zsh completions (#688) (a5cd35e)
- command: zsh completion for command aliases not working (#688) (2351c77)
- command: arg with no completions followed by args with completions breaks zsh completion (#688) (53551ac)
- command: use ValidationError from command module instead of flags module in upgrade command (#684) (a568c39)
- command: infer option default value as const (#660) (c91ddb6)
- command: command action not triggered for standalone options without action handler (#654) (4e63862)
- command: escape colons in subCommand name for zsh completions (#661) (aa1311f)
- prompt: fix initial page offset for checkbox and select prompt (#689) (da56395)
- table: Wrap ANSI codes for multiline cells (#657) (5118a1c)
Code Refactoring
- command,flags: move some utils functions (#683) (6319a78)
- flags,prompt: remove distance method and use std/text (#681) (181e055)
Chore
- deps: upgrade to [email protected] (#691) (140f250, d337862)