v0.14.0

charmbracelet/gumv0.14.0Apr 29, 2024by maaslalani

AI Summary

Major refactor integrating the Huh library internally for input commands, accompanied by visual improvements and new error handling for spin.

Key Highlights

  • Refactors internal architecture to use Huh library
  • Visual improvements across choose, confirm, file, input, and write
  • Adds `--show-error` support to the spin command
  • Fixes spin output piping if timeout occurs

New Features

  • Huh library integration
  • --show-error for spin

Full Release Notes

## Gum + Huh?

Gum `v0.14.0` is a major internal refactor which uses `huh?` internally for `choose`, `confirm`, `file`, `input`, `write` inputs!

All functionality remains the same, but you will notice some minor visual changes / improvements.

If you haven't already, check it out:

<a href="https://github.com/charmbracelet/huh">
<img src="https://github.com/charmbracelet/gum/assets/42545625/39cc8110-ef0f-41f6-817b-5947304400cc" width="300">
</a>

<br>
<br>

* https://github.com/charmbracelet/huh

---

## Changes

* Use Huh for Gum Choose by @maaslalani in https://github.com/charmbracelet/gum/pull/521
* Use Huh for Gum Confirm by @maaslalani in https://github.com/charmbracelet/gum/pull/522
* Use Huh for Gum File by @maaslalani in https://github.com/charmbracelet/gum/pull/523
* Use Huh for Gum Input by @maaslalani in https://github.com/charmbracelet/gum/pull/524
* Use Huh for Gum Write by @maaslalani in https://github.com/charmbracelet/gum/pull/525
* fix(spin): Output Pipes if Timeout Occurs by @hopefulTex in https://github.com/charmbracelet/gum/pull/461
* Document `gum log --time`  by @ernstki in https://github.com/charmbracelet/gum/pull/472
* feat(spin): Add support for `--show-error` for the spinner. (rebase #440) by @pingiun in https://github.com/charmbracelet/gum/pull/518

## New Contributors
* @ernstki made their first contribution in https://github.com/charmbracelet/gum/pull/472
* @pingiun made their first contribution in https://github.com/charmbracelet/gum/pull/518
* @dungle-scrubs made their first contribution in https://github.com/charmbracelet/gum/pull/513

**Full Changelog**: https://github.com/charmbracelet/gum/compare/v0.13.0...v0.14.0

* * *

<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 [Slack](https://charm.sh/slack).