v0.16.0

glanceapp/glancev0.16.0Mar 11, 2025by github-actions[bot]

AI Summary

Adds an item position counter to the help menu and fixes various bugs related to tables, choices, confirmations, and shell completions.

Key Highlights

  • New item position counter added to the help menu
  • Fixed table padding and indicators
  • Fixed choose command ordering issues
  • Fixed confirm command output display
  • Fixed shell completions for Fish

New Features

  • Item position counter in help menu (opt-in for table indicator)

Full Release Notes

# Hey, little counter

This release contains some bug fixes as well as a small feature that adds an item position counter to the help. It's right there on the bottom left!

<img width="674" src="https://github.com/user-attachments/assets/44491322-8146-491f-9ae3-e6121de69444" />

## Changelog
### New Features
* 984c84fbd02e06589928bfa66304f3db1dc76605: feat(table): show indicator on help keybindings (opt-in) (#839) (@raphamorim)
### Bug fixes
* 204d21940eab977fb5ce6bd84742a17c17d404c1: fix(choose): order when using --label-delimiter (#867) (@caarlos0)
* 2b72e8029773e474802b804b97346cdc640a7346: fix(confirm): ensure `--show-output` show the right answer (#853) (@andreynering)
* 93f6857e3dc06e45f3fb2874ea3f798ae342068b: fix(spin): preserve color output when `--show-output` is given (#850) (@andreynering)
* d795b8ab2ffb048f281d0af901d119ff00ebba59: fix(table): padding on item indicator (#841) (@caarlos0)
* 9705aa338448bb7b2b797f09866b7e14247bf0ea: fix: generated completion invalid for fish shell (#837) (@raphamorim)
* bb098b2662682141474ca8398197e8a2e94cfe6a: fix(choose): generated completion invalid for fish shell (choose/options) (#838) (@raphamorim)
* 85a29801d8f6b031a988a3cc1eebacf27a199f9b: fix(filter): wildcard escaping issue  (#862) (@abelcha)
---

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

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

```bash
wget 'https://github.com/charmbracelet/gum/releases/download/v0.16.0/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.16.0/checksums.txt.pem' \
  --signature 'https://github.com/charmbracelet/gum/releases/download/v0.16.0/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).