Skip to content

Commit 0e70056

Browse files
[ci] release (#562)
Co-authored-by: bombshell-bot[bot] <187071675+bombshell-bot[bot]@users.noreply.github.com>
1 parent e1b6ee7 commit 0e70056

8 files changed

Lines changed: 41 additions & 40 deletions

File tree

.changeset/better-hats-start.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

.changeset/calm-feet-lead.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/password-empty-submit.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/ten-vans-stand.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

packages/core/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @clack/core
22

3+
## 1.4.2
4+
5+
### Patch Changes
6+
7+
- [#561](https://github.com/bombshell-dev/clack/pull/561) [`2f2b52f`](https://github.com/bombshell-dev/clack/commit/2f2b52f77cbfa9af618c6d929249ab8395fc37a1) Thanks [@avallete](https://github.com/avallete)! - Fix `password` prompt resolving to `undefined` on empty submit. It now normalizes an empty submission to `""`, matching the `text` prompt behavior and the documented `Promise<string | symbol>` return type.
8+
9+
- [#569](https://github.com/bombshell-dev/clack/pull/569) [`e1b6ee7`](https://github.com/bombshell-dev/clack/commit/e1b6ee71a76e17a3c33ba7ee6e5fb34e886233bb) Thanks [@43081j](https://github.com/43081j)! - fix: only submit multi-line prompt when double-return happens at end of input.
10+
11+
Also fixes two minor things:
12+
13+
- Initial value is used as initial user input for multi-line prompts
14+
- Cursor is placed at the end when there is initial input
15+
316
## 1.4.1
417

518
### Patch Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@clack/core",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
44
"type": "module",
55
"main": "./dist/index.mjs",
66
"module": "./dist/index.mjs",

packages/prompts/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# @clack/prompts
22

3+
## 1.6.0
4+
5+
### Minor Changes
6+
7+
- [#568](https://github.com/bombshell-dev/clack/pull/568) [`f87933f`](https://github.com/bombshell-dev/clack/commit/f87933fb7b3f4c401b9e51a152b95cb8e7200fe5) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Updates default formatter of `note()` to note dim lines anymore
8+
9+
If you want the old behavior, provide a `format()` function:
10+
11+
```diff
12+
import { note } from '@clack/prompts';
13+
+import { styleText } from 'node:util';
14+
15+
note(
16+
'You can edit the file src/index.jsx',
17+
'Next steps.'
18+
+ { format: (text) => styleText('dim', text) }
19+
);
20+
```
21+
22+
- [#567](https://github.com/bombshell-dev/clack/pull/567) [`cc6aab5`](https://github.com/bombshell-dev/clack/commit/cc6aab50186cff8a02dc98e9cfd3897c29a33b15) Thanks [@dreyfus92](https://github.com/dreyfus92)! - Add keyboard instruction footers to `select`, `multiselect`, and `groupMultiselect` in the active state, matching autocomplete. No option — always shown.
23+
24+
### Patch Changes
25+
26+
- Updated dependencies [[`2f2b52f`](https://github.com/bombshell-dev/clack/commit/2f2b52f77cbfa9af618c6d929249ab8395fc37a1), [`e1b6ee7`](https://github.com/bombshell-dev/clack/commit/e1b6ee71a76e17a3c33ba7ee6e5fb34e886233bb)]:
27+
- @clack/core@1.4.2
28+
329
## 1.5.1
430

531
### Patch Changes

packages/prompts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@clack/prompts",
3-
"version": "1.5.1",
3+
"version": "1.6.0",
44
"type": "module",
55
"main": "./dist/index.mjs",
66
"module": "./dist/index.mjs",

0 commit comments

Comments
 (0)