Skip to content

Releases: charmbracelet/gum

v0.14.5

06 Sep 16:52
1917023
Compare
Choose a tag to compare

This is a small maintenance release to bump dependencies, update linter config, and adjust GoReleaser configuration.

Changelog

Bug fixes

Dependency updates

Other work


Verifying the artifacts

First, download the checksums.txt file, for example, with wget:

wget 'https://github.com/charmbracelet/gum/releases/download/v0.14.5/checksums.txt'

Then, verify it using cosign:

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

sha256sum --ignore-missing -c checksums.txt

Done! You artifacts are now verified!

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

v0.14.4

23 Aug 13:56
9c11289
Compare
Choose a tag to compare

Au revoir, bugs

This release fixes a buncha bugs and introduces a nice lil' quality-of-life feature.

Changelog

New!

Fixed

Deps

Docs

Other stuff


Verifying the artifacts

First, download the checksums.txt file, for example, with wget:

wget 'https://github.com/charmbracelet/gum/releases/download/v0.14.4/checksums.txt'

Then, verify it using cosign:

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

sha256sum --ignore-missing -c checksums.txt

Done! You artifacts are now verified!

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

v0.14.3

24 Jul 20:48
v0.14.3
Compare
Choose a tag to compare

Fixin’ more bugs

Hot on the heels of the last release (very hot, in fact), here’s one more quick point release to fix a regression in spinner.


Verifying the artifacts

First, download the checksums.txt file, for example, with wget:

wget 'https://github.com/charmbracelet/gum/releases/download/v0.14.3/checksums.txt'

Then, verify it using cosign:

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

sha256sum --ignore-missing -c checksums.txt

Done! You artifacts are now verified!

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

v0.14.2

24 Jul 19:26
Compare
Choose a tag to compare

Fixin’ bugs

This is a maintenance release to pull in various fixes from huh upstream. As a bonus, macOS binaries are now also signed and notarized courtesy @goreleaser.

Thanks for using Gum!

Changelog

New

  • sign and notarize macos binaries in #612

Changed

  • use in-house utility packages in #616

Fixed

  • drop left padding in choose in #597
  • fix race conditon where spinner could mis-render in #621
  • fix a bug where choose could crash when spacebar is pressed twice #587
  • fix a bug where the foreground color could not be set in choose #614
  • fix a bug where foreground could not be set in write #583
  • fix a bug where keypresses could crash choose #580
  • restore y/n keybindings to confirm #568
  • restore centering to buttons in confirm #566

New Contributors

Full Changelog: v0.14.1...v0.14.2


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.

v0.14.1

25 May 19:05
v0.14.1
657c76e
Compare
Choose a tag to compare

What's Changed

Fixes

New Contributors

Full Changelog: v0.14.0...v0.14.1


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.

v0.14.0

29 Apr 18:29
v0.14.0
295a671
Compare
Choose a tag to compare

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:




Changes

New Contributors

Full Changelog: v0.13.0...v0.14.0


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Slack.

v0.13.0

12 Dec 16:59
v0.13.0
a11d1ff
Compare
Choose a tag to compare

Changelog

New Features

Add --select-if-one flag to gum choose and gum filter.

> gum choose --select-if-one "option"
> option

Bug fixes


Verifying the artifacts

First, download the checksums.txt file, for example, with wget:

wget 'https://github.com/charmbracelet/gum/releases/download/v0.13.0/checksums.txt'

Then, verify it using cosign:

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.13.0/checksums.txt.pem' \
  --signature 'https://github.com/charmbracelet/gum/releases/download/v0.13.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:

sha256sum --ignore-missing -c checksums.txt

Done! You artifacts are now verified!

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

v0.12.0

27 Nov 20:42
v0.12.0
dd557ba
Compare
Choose a tag to compare

Gum Log 🪵

Version 0.12.0 of gum features a brand new log command. Gum log logs messages to the terminal at using different levels and styling using the charmbracelet/log library.

To get started, simply run:

gum log
# Log some debug information.
gum log --structured --level debug "Creating file..." name file.txt
# DEBUG Unable to create file. name=temp.txt

# Log some error.
gum log --structured --level error "Unable to create file." name file.txt
# ERROR Unable to create file. name=temp.txt

See charmbracelet/log for more usage.

Running gum log with debug and error levels

What's Changed

New Contributors

Full Changelog: v0.11.0...v0.12.0


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

v0.11.0

21 Jul 20:55
v0.11.0
f5b09a4
Compare
Choose a tag to compare

Pager Search, Timeouts, and Bug fixes

This release of Gum includes several features and bug fixes to make your Gum usage more smooooth! 🧈

What’s Changed

New

  • Pager search functionality (by @MikaelFangel) in #321
  • Strip ANSI for gum filter and gum choose when output is not a TTY
  • Non-positive widths will cause gum write will use the entire terminal width
  • GUM_FORMAT_THEME / GUM_FORMAT_LANGUAGE environment variables
  • --no-sort flag for gum filter
  • Customizable cursor modes
  • Customizable cursor line text
  • Add --timeout flag to all subcommands (by @deicon)

Fixed

  • Respect file path argument in filepicker

Other stuff

  • Switch to termenv.EnvColorProfile() by @kennyp in #387

New Contributors

Full Changelog: v0.10.0...v0.11.0


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

v0.10.0

27 Mar 16:12
v0.10.0
Compare
Choose a tag to compare

Truecolor Support

Gum historically was limited to ANSI256 colors, but no longer is this the case!

With v0.10.0, gum can now display truecolor if your terminal emulator supports it! 🎨

Try it out with gum style:

gum style --padding "3 10" --margin 2 --background "#6a51ff" --foreground "#ff6dff" "The best colors are true"

image

Windows Support

Windows users rejoice! Gum v0.10.0 solves a variety of issues allowing gum to work on Powershell and Windows. 🪟

Don't believe us? Take a look for yourself:

windows

Context Headers

With Gum v0.10.0, you can add context with --header flags in gum choose and gum filter. To get started:

gum choose --header "Pick your starter Pokémon" "Bulbasaur" "Charmander" "Squirtle"

Made with VHS

New Features

  • Keep order of selected items in gum choose with the --ordered flag.
  • Use page up / down key bindings in gum file
  • gum choose and gum filter can select using ctrl+space
  • --header flags for gum choose and gum filter
  • Pass programming language for gum format --type code

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.