v0.15.1

charmbracelet/gumv0.15.1Jan 23, 2025by github-actions[bot]

AI Summary

A bug fix release addressing regressions introduced in v0.15.0, including issues with table printing, confirm exit behavior, and filter highlighting.

Key Highlights

  • Reverts a table print fix that caused issues
  • Fixes confirm command to not print 'not confirmed' on exit 1
  • Fixes filter highlight for options containing grapheme clusters
  • Fixes spinner title not clearing after completion

Full Release Notes

This is a small release fixing some bugs introduced in v0.15.0.

## Changelog
### Bug fixes
* 2846d19b70b0141cdb18e4611c4859f11971808a: Revert "feat(table): set --print if stdout is not a terminal (#762)" (#811) (@caarlos0)
* 30bc180679cf3c9139783af7c95eab953af60fb3: fix(confirm): do not print 'not confirmed' on exit 1 (#814) (@caarlos0)
* 37456557c454a97a66454597c26d1dc2156a9f15: fix(filter): wrong highlight when option has grapheme clusters (#799) (@caarlos0)
* 2da952756f2ecc7d2a09528fe9a863ac49c359dc: fix(spin): clear title after finished (#815) (@caarlos0)
* 7e3216e2c8e10df991703bf4e05ffbceb9841a30: fix(viewport): remove extra line in viewport help (#816) (@caarlos0)
* c11af42c1b438bac62c7ece0271f450770da6e07: fix(write): ctrl+j not making new line (#819) (@caarlos0)
* 05c4bb98687db82647419c849f2da626c19b1b0c: fix: spin when not a tty (#813) (@caarlos0)

---

<details>
<summary>Verifying the artifacts</summary>

First, download the [`checksums.txt` file](https://github.com/charmbracelet/gum/releases/download/0.15.1/checksums.txt), for example, with `wget`:

```bash
wget 'https://github.com/charmbracelet/gum/releases/download/v0.15.1/checksums.txt'
```

Then, verify it using [`cosign`](https://github.com/sigstore/cosign):

```bash
cosign verify-blob \
  --certificate-identity 'https://github.com/charmbracelet/meta/.github/workflows/goreleaser.yml@refs/heads/main' \
  --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
  --cert 'https://github.com/charmbracelet/gum/releases/download/v0.15.1/checksums.txt.pem' \
  --signature 'https://github.com/charmbracelet/gum/releases/download/v0.15.1/checksums.txt.sig' \
  ./checksums.txt
```

If the output is `Verified OK`, you can safely use it to verify the checksums of other artifacts you downloaded from the release using `sha256sum`:

```bash
sha256sum --ignore-missing -c checksums.txt
```

Done! You artifacts are now verified!

</details>

<a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a>

Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.technology/@charm), or on [Discord](https://charm.sh/chat).