|
1 | | -# 1.16.0 |
| 1 | +# v1.16.0 (Apr 21, 2022) |
2 | 2 |
|
3 | 3 | * feat: Add support for extension CLIs with multiple exported entrypoints that do not use cli-kit. |
4 | 4 | Fixes [#97](https://github.com/cb1kenobi/cli-kit/issues/97). |
| 5 | + * chore: Updated dependencies. |
5 | 6 |
|
6 | | -# 1.15.0 (Apr 10, 2022) |
| 7 | +# v1.15.0 (Apr 10, 2022) |
7 | 8 |
|
8 | 9 | * feat: Moved internal `banner` value into state object to allow banner to be modified during |
9 | 10 | command execution when `autoHideBanner` is enabled (default). |
10 | 11 | * chore: Updated dependencies. |
11 | 12 |
|
12 | | -# 1.14.1 (Aug 23, 2021) |
| 13 | +# v1.14.1 (Aug 23, 2021) |
13 | 14 |
|
14 | 15 | * fix: Fixed bug when adding a command using an absolute path to a js file. |
15 | 16 | * chore: Minor dependency updates. |
16 | 17 |
|
17 | | -# 1.14.0 (Jul 27, 2021) |
| 18 | +# v1.14.0 (Jul 27, 2021) |
18 | 19 |
|
19 | 20 | * feat: Added `redact` flag to arguments and options so advanced implementations can know if an |
20 | 21 | argument/option may contain sensitive information. Redact flag is `true` by default, but can |
|
28 | 29 | * style(help): Render warnings using yellow. |
29 | 30 | * chore: Updated dependencies. |
30 | 31 |
|
31 | | -# 1.13.0 (Apr 26, 2021) |
| 32 | +# v1.13.0 (Apr 26, 2021) |
32 | 33 |
|
33 | 34 | * feat(help): Added required options to usage on help screen. |
34 | 35 | * feat(ansi): Added `trim()`, `trimStart()`, and `trimEnd()` functions. |
|
39 | 40 | * build: Improved `watch` task to not hang on a lint or build error. |
40 | 41 | * chore: Updated dev dependencies. |
41 | 42 |
|
42 | | -# 1.12.0 (Apr 15, 2021) |
| 43 | +# v1.12.0 (Apr 15, 2021) |
43 | 44 |
|
44 | 45 | * feat(extension): Allow extension exports values in its `package.json` to be the `main` path. |
45 | 46 | * fix(command): Fixed regression introduced when fixing the custom help content for extensions. |
46 | 47 |
|
47 | | -# 1.11.4 (Apr 15, 2021) |
| 48 | +# v1.11.4 (Apr 15, 2021) |
48 | 49 |
|
49 | 50 | * fix(command): Fixed custom help content for extensions. |
50 | 51 |
|
51 | | -# 1.11.3 (Apr 14, 2021) |
| 52 | +# v1.11.3 (Apr 14, 2021) |
52 | 53 |
|
53 | 54 | * fix(command): Only consider command name to be a file if it is an absolute path. |
54 | 55 |
|
55 | | -# 1.11.2 (Apr 13, 2021) |
| 56 | +# v1.11.2 (Apr 13, 2021) |
56 | 57 |
|
57 | 58 | * fix(cli): Set `json` flag on errors when the executing context or its parent contexts has a |
58 | 59 | `jsonMode` flag set. |
59 | 60 | * chore: Updated dev dependencies. |
60 | 61 |
|
61 | | -# 1.11.1 (Apr 8, 2021) |
| 62 | +# v1.11.1 (Apr 8, 2021) |
62 | 63 |
|
63 | 64 | * fix: Don't override default value for boolean options. |
64 | 65 | * chore: Updated dev dependencies. |
65 | 66 |
|
66 | | -# 1.11.0 (Mar 26, 2021) |
| 67 | +# v1.11.0 (Mar 26, 2021) |
67 | 68 |
|
68 | 69 | * feat: Mix custom command, argument, option, and extension constructor parameters into each |
69 | 70 | instance. Only works for non-existing properties. |
70 | 71 | * fix: Execute command actions using command's context. |
71 | 72 |
|
72 | | -# 1.10.0 (Mar 25, 2021) |
| 73 | +# v1.10.0 (Mar 25, 2021) |
73 | 74 |
|
74 | 75 | * feat(command): Support command name to be a path to command file. |
75 | 76 | * feat(extension): Added support for defining extension contexts. |
76 | 77 | * fix(option): Allow aliases to be negated. |
77 | 78 | * fix(argument): Use correct `datatype` property when transforming argument value. |
78 | 79 | * chore: Updated dependencies. |
79 | 80 |
|
80 | | -# 1.9.3 (Jan 8, 2021) |
| 81 | +# v1.9.3 (Jan 8, 2021) |
81 | 82 |
|
82 | 83 | * fix(extension): Strip the package scope name from an extension name, but still add it as a |
83 | 84 | hidden alias. |
84 | 85 | * chore: Updated dependencies. |
85 | 86 |
|
86 | | -# 1.9.2 (Jan 5, 2021) |
| 87 | +# v1.9.2 (Jan 5, 2021) |
87 | 88 |
|
88 | 89 | * chore: Updated dependencies. |
89 | 90 |
|
90 | | -# 1.9.1 (Nov 30, 2020) |
| 91 | +# v1.9.1 (Nov 30, 2020) |
91 | 92 |
|
92 | 93 | * chore: Updated dependencies. |
93 | 94 |
|
94 | | -# 1.9.0 (Nov 27, 2020) |
| 95 | +# v1.9.0 (Nov 27, 2020) |
95 | 96 |
|
96 | 97 | * feat(extension): Added support actions. |
97 | 98 | * fix(terminal): One time keypress listener was not removing sigint handler after firing causing |
|
100 | 101 | * style(help): Prefix the error with an 'x' symbol. |
101 | 102 | * chore: Updated dependencies. |
102 | 103 |
|
103 | | -# 1.8.9 (Nov 15, 2020) |
| 104 | +# v1.8.9 (Nov 15, 2020) |
104 | 105 |
|
105 | 106 | * fix(cli): Fixed bug where banner was rendered twice if `autoHideBanner` is enabled and an the |
106 | 107 | executed command throws an error. |
107 | 108 |
|
108 | | -# 1.8.8 (Nov 14, 2020) |
| 109 | +# v1.8.8 (Nov 14, 2020) |
109 | 110 |
|
110 | 111 | * fix(cli): Force banner to be rendered on error. |
111 | 112 | * fix(cli): Render banner, but don't fire the banner hook on error. |
112 | 113 |
|
113 | | -# 1.8.7 (Nov 14, 2020) |
| 114 | +# v1.8.7 (Nov 14, 2020) |
114 | 115 |
|
115 | 116 | * fix(cli): Fixed banner hook from being fired more than once. |
116 | 117 |
|
117 | | -# 1.8.6 (Nov 13, 2020) |
| 118 | +# v1.8.6 (Nov 13, 2020) |
118 | 119 |
|
119 | 120 | * fix(cli): Fixed banner from being displayed more than once. |
120 | 121 |
|
121 | | -# 1.8.5 (Nov 11, 2020) |
| 122 | +# v1.8.5 (Nov 11, 2020) |
122 | 123 |
|
123 | 124 | * fix(extension): Removed node-pty support since it has never worked properly. On Windows, it |
124 | 125 | would clear the screen and cause the parent to never exit. On macOS, it would not allow |
125 | 126 | child processes to prompt for input. |
126 | 127 | * fix(extension): Switched non-cli-kit based extensions to be `required()`'d instead of spawned. |
127 | 128 | * chore: Updated dependencies. |
128 | 129 |
|
129 | | -# 1.8.4 (Nov 10, 2020) |
| 130 | +# v1.8.4 (Nov 10, 2020) |
130 | 131 |
|
131 | 132 | * fix(cli): Fixed rendering of banner if `autoHideBanner` is disabled. |
132 | 133 | * refactor(cli): Switched the banner event to a hook to allow banner event handlers to tie into |
133 | 134 | the banner event before and after the banner is rendered. |
134 | 135 | * chore: Updated dependencies. |
135 | 136 |
|
136 | | -# 1.8.3 (Nov 6, 2020) |
| 137 | +# v1.8.3 (Nov 6, 2020) |
137 | 138 |
|
138 | 139 | * fix(cli): Unify arguments to the banner event handler. |
139 | 140 | * style(help): Align descriptions based on longest command, argument, and option label. |
140 | 141 | * style(help): Removed `=` between option label and value. |
141 | 142 | * chore: Updated dependencies. |
142 | 143 |
|
143 | | -# 1.8.2 (Aug 26, 2020) |
| 144 | +# v1.8.2 (Aug 26, 2020) |
144 | 145 |
|
145 | 146 | * fix(parser): Fixed bug where context tree rev change was not updating the local rev before |
146 | 147 | re-parsing causing unnecessary nested re-parses. |
147 | 148 |
|
148 | | -# 1.8.1 (Aug 26, 2020) |
| 149 | +# v1.8.1 (Aug 26, 2020) |
149 | 150 |
|
150 | 151 | * fix(parser): Fixed bug where if the context tree changed, the last argument would never be |
151 | 152 | re-parsed. |
152 | 153 |
|
153 | | -# 1.8.0 (Aug 25, 2020) |
| 154 | +# v1.8.0 (Aug 25, 2020) |
154 | 155 |
|
155 | 156 | * feat(parser): Added `finalize` event hook that is emitted before applying defaults and filling |
156 | 157 | `argv` and `_`. |
|
169 | 170 | * chore: Updated dependencies. |
170 | 171 | * test(keys): Added unit tests for `generateKey()`. |
171 | 172 |
|
172 | | -# 1.7.0 (Aug 13, 2020) |
| 173 | +# v1.7.0 (Aug 13, 2020) |
173 | 174 |
|
174 | 175 | * feat(ansi): Added `ansi.split()` to break a string up by ANSI escape sequences. |
175 | 176 | * feat(ansi): Added `ansi.toLowerCase()` and `ansi.toUpperCase()`. |
176 | 177 | * chore: Updated dependencies. |
177 | 178 |
|
178 | | -# 1.6.2 (Aug 11, 2020) |
| 179 | +# v1.6.2 (Aug 11, 2020) |
179 | 180 |
|
180 | 181 | * fix(cli): Only show help on errors caused by parsing and validation, not command execution. |
181 | 182 |
|
182 | | -# 1.6.1 (Aug 5, 2020) |
| 183 | +# v1.6.1 (Aug 5, 2020) |
183 | 184 |
|
184 | 185 | * fix(cli): Fixed regression introduced in v1.6.0 that broke missing argument validation. |
185 | 186 | * fix(argument): Added missing argument `callback` and `hint`. |
186 | 187 | * chore: Updated dev dependencies. |
187 | 188 |
|
188 | | -# 1.6.0 (Aug 3, 2020) |
| 189 | +# v1.6.0 (Aug 3, 2020) |
189 | 190 |
|
190 | 191 | * feat(help): Added `CLI` instanced styles to help template rendering. |
191 | 192 | * fix(terminal): Only wire up keypress on stdin when added to `Terminal` and not if some other |
|
194 | 195 | callbacks such as `--version` to work properly. |
195 | 196 | * chore: Updated dependencies. |
196 | 197 |
|
197 | | -# 1.5.2 (Jul 24, 2020) |
| 198 | +# v1.5.2 (Jul 24, 2020) |
198 | 199 |
|
199 | 200 | * fix(terminal): Fixed bug where `keypress` event listeners were not properly being wired up to |
200 | 201 | `stdin` resulting in the listener not being removed after being fired once. |
201 | 202 |
|
202 | | -# 1.5.1 (Jul 23, 2020) |
| 203 | +# v1.5.1 (Jul 23, 2020) |
203 | 204 |
|
204 | 205 | * fix(context): Fixed circular reference introduced when fixing the `generateHelp` hook event in |
205 | 206 | v1.3.0 when generated JSON object is stringified. |
206 | 207 |
|
207 | | -# 1.5.0 (Jul 23, 2020) |
| 208 | +# v1.5.0 (Jul 23, 2020) |
208 | 209 |
|
209 | 210 | * feat(cli): Added `showHelp` flag on thrown errors to override `showHelpOnError`. Defaults to |
210 | 211 | `true`. This still requires `help` to be enabled. |
|
213 | 214 | * fix(help): Allow non-Error objects to be thrown and rendered on the help screen. |
214 | 215 | * chore(dep): Replaced `fast-levenshtein` with `fastest-levenshtein`. |
215 | 216 |
|
216 | | -# 1.4.0 (Jul 21, 2020) |
| 217 | +# v1.4.0 (Jul 21, 2020) |
217 | 218 |
|
218 | 219 | * feat(cli): Added support for user-defined in `styles` passed into the `CLI` constructor as well |
219 | 220 | as the `exec()` method. |
|
225 | 226 | * fix(cli): Fixed rendering of errors to debug log when server connection executes a command that |
226 | 227 | throws an exception. |
227 | 228 |
|
228 | | -# 1.3.0 (Jul 21, 2020) |
| 229 | +# v1.3.0 (Jul 21, 2020) |
229 | 230 |
|
230 | 231 | * feat(cli): Added `exec` hook event. |
231 | 232 | * feat(context): Added `ctx` property to `generateHelp` hook event. |
|
235 | 236 | `Command` and `Extension` objects were passed by reference. |
236 | 237 | * chore: Updated dependencies. |
237 | 238 |
|
238 | | -# 1.2.4 (Jun 24, 2020) |
| 239 | +# v1.2.4 (Jun 24, 2020) |
239 | 240 |
|
240 | 241 | * fix(cli): Server-side output streams extend TTY `WriteStream` to improve compatibility with |
241 | 242 | packages that check `isTTY` and terminal helper functions such as `cursorTo()` and |
242 | 243 | `clearLine()`. |
243 | 244 | * chore: Updated dev dependencies. |
244 | 245 |
|
245 | | -# 1.2.3 (Jun 19, 2020) |
| 246 | +# v1.2.3 (Jun 19, 2020) |
246 | 247 |
|
247 | 248 | * feat(cli): Added `timeout` option to `CLI.connect()` with default of 5 seconds. |
248 | 249 | * fix(cli): `CLI.connect()` now waits for terminal resize handshake to complete before resolving. |
249 | 250 | * fix(cli): Set the remote terminal size on the stdout/stderr streams. |
250 | 251 |
|
251 | | -# 1.2.2 (Jun 17, 2020) |
| 252 | +# v1.2.2 (Jun 17, 2020) |
252 | 253 |
|
253 | 254 | * fix(cli): Fixed issue where extension banner was not overriding parent context's banner. |
254 | 255 | * fix(terminal): Fixed issue where banner was not being displayed if output occurred before banner |
255 | 256 | callback was registered. |
256 | 257 |
|
257 | | -# 1.2.1 (Jun 15, 2020) |
| 258 | +# v1.2.1 (Jun 15, 2020) |
258 | 259 |
|
259 | 260 | * fix: Force all options after an extension is found to be an argument. |
260 | 261 | * fix: Sort commands and extensions alphabetically in the help output. |
261 | 262 | * chore: Updated dependencies. |
262 | 263 |
|
263 | | -# 1.2.0 (Jun 3, 2020) |
| 264 | +# v1.2.0 (Jun 3, 2020) |
264 | 265 |
|
265 | 266 | * feat(commands): Added syntactic sugar for declaring commands with aliases and arguments. |
266 | 267 | * feat(help): Added command aliases to the help screen. |
|
269 | 270 | * style(cli): Capitalized `--version` description. |
270 | 271 | * chore: Updated dev dependencies. |
271 | 272 |
|
272 | | -# 1.1.1 (May 26, 2020) |
| 273 | +# v1.1.1 (May 26, 2020) |
273 | 274 |
|
274 | 275 | * fix(cli): On error, print the error stack instead of the error object to prevent infinite |
275 | 276 | loops when JSON stringifying error objects during error the printing. |
276 | 277 | * fix(cli): Improved server eval exit code handling. |
277 | 278 | * fix(help): Highlight format for missing options. |
278 | 279 | * chore: Updated dev dependencies. |
279 | 280 |
|
280 | | -# 1.1.0 (May 15, 2020) |
| 281 | +# v1.1.0 (May 15, 2020) |
281 | 282 |
|
282 | 283 | * feat(cli): Added new `keypress` ansi sequence for improved raw input handling in server mode. |
283 | 284 | * feat(cli): Added new `exec` ansi sequence to explicitly run a command and differentiate between |
|
292 | 293 | * fix(help): Trim the rendered help output to avoid excess whitespace. |
293 | 294 | * chore: Updated dependencies. |
294 | 295 |
|
295 | | -# 1.0.1 (May 8, 2020) |
| 296 | +# v1.0.1 (May 8, 2020) |
296 | 297 |
|
297 | 298 | * fix(cli): Added support for 'parentContextNames' when a remote CLI instance is unaware of the |
298 | 299 | local CLI's parent hierarchy. |
|
301 | 302 | * fix(cli): Added banner to CLI schema object. |
302 | 303 | * chore: Updated dependencies. |
303 | 304 |
|
304 | | -# 1.0.0 (May 1, 2020) |
| 305 | +# v1.0.0 (May 1, 2020) |
305 | 306 |
|
306 | 307 | * BREAKING CHANGE: Require Node.js 10 or newer. |
307 | 308 | * fix(cli): Fixed bug where `--version` callback would show version if `next()` returned a truthy |
|
0 commit comments