chore(deps): update dependency charmbracelet/gum to v0.15.0 #9561
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.14.5
->0.15.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
charmbracelet/gum (charmbracelet/gum)
v0.15.0
Compare Source
No longer a sticky situation
This release contains a small boatload of fixes and quality-of-life features across the board by the great @caarlos0 and some awesome contributors.
Most importantly we detangled Gum and Huh. The two libraries were too tightly coupled creating a difficult environment to maintain. With this separation, Gum much easier to maintain, especially for contributors. Chew on that!
General Stuff
No more weird ANSI:
gum
now strips ANSI sequences by default. Want ‘em back? just add--no-strip-ansi
.We fixed some bugs with existing timeouts + they can now be used in
confirm
,choose
,file
,filter
,input
,pager
, andspin
. You can specify the units, i.e.--timeout=750ms
,--timeout=1m30s
Choose
Sometimes you want the user-facing choice to be different than the outputted value. Now you can do that with
--label-delimiter
:Want to select all options by default? Use
--select='*'
.Confirm
No you can print the chosen value with
--show-output
:File
You can now add a header to your filepickers with the
--header
set of flags.For details see
gum file --help
.Filter
Better delimiters, select all, and so on
Press ctrl+a to select all choices, esc to unfocus the filter field.
Want some defaults? Use
--selected
to preselect choices. You can also use--input-delimiter
and--output-delimiter
for more flexibility around input and output.Freeform input
Filter's
--no-strict
allows you to create a new option if no matches are found; it's essentially a free input field. Go crazy!Sort: we fixed it
Filter's
--sort
would sort by score which was causing some confusion for users. To clarify this behaviour,--sort
is deprecated in favour of--[no]-fuzzy-sort
.Want to sort alphabetically? Leverage the
sort
command in a pipeline:Log
Now you can set a minimum log level with
GUM_LOG_LEVEL
. Valid values aredebug
,info
,warn
,error
, andfatal
.Spin
You can now use
--show-stdout
and--show-stderr
to print output:Table
We expanded the
table
API to allow users to control more fields incsv.Reader
through gum. This includes--lazy-quotes
and--fields-per-record
. This should fix issues with gum struggling to read CSV files properly. For details seegum table --help
.We also made a bunch of rendering improvements such as growing the table rows based on
--columns
, settings sane defaults widths, ignoring BOMs (byte order marks), and so on.Changelog
New!
Fixed
Other Stuff
New Contributors
Full Changelog: charmbracelet/gum@v0.14.5...v0.15.0
Verifying the artifacts
First, download the
checksums.txt
file, for example, withwget
:wget 'https://github.com/charmbracelet/gum/releases/download/v0.15.0/checksums.txt'
Then, verify it using
cosign
:If the output is
Verified OK
, you can safely use it to verify the checksums of other artifacts you downloaded from the release usingsha256sum
:Done! You artifacts are now verified!
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.