Update dependency charmbracelet/gum to v0.17.0 #1282
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:
v0.14.1→v0.17.0Release Notes
charmbracelet/gum (charmbracelet/gum)
v0.17.0Compare Source
Pad Everything
This is a small feature release that adds
--paddingto as many commands as possible. For example:Padding arguments work similarly to CSS values:
--padding="4")--padding="4 10")--padding="4 10")Which commands can be padded? These:
chooseconfirmfilefilterinputpagerspinstyletablewriteSpecial thanks to @caarlos0 for banging this one out in record time, for none other than @dhh. 💎
Changelog
New Features
6045525: feat: adding--paddingto most commands (#960) (@caarlos0)Other work
09940da: ci: sync dependabot config (#956) (@charmcli)8c12c2a: ci: sync golangci-lint config (#946) (@github-actions[bot])Verifying the artifacts
First, download the
checksums.txtfile, for example, withwget:wget 'https://github.com/charmbracelet/gum/releases/download/v0.17.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, Discord, Slack, The Fediverse.
v0.16.2Compare Source
Changelog
Bug fixes
501402c: fix(choose): fix typo in environment variableGUM_CCHOOSE_TIMEOUT(#922) (@sadamczyk)0107dff: fix(filter): text input width is too small (#919) (@caarlos0)8081f74: fix: logic to handle interrupt before timeout in error checking (#918) (@arithmeticmean)Documentation updates
3c972b0: docs: add contributing guidelines (#920) (@bashbunni)Other work
f1e274c: ci: sync golangci-lint config (#911) (@github-actions[bot])Verifying the artifacts
First, download the
checksums.txtfile, for example, withwget:wget 'https://github.com/charmbracelet/gum/releases/download/v0.16.2/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.
v0.16.1Compare Source
Changelog
Bug fixes
e292bbf: fix: detect timeout error and apply default option (#888) (@mikybars)817c4bd: fix: lint issues (#909) (@caarlos0)4fea9a0: fix: make empty line before help consistent (@caarlos0)Documentation updates
39290a0: docs: use$EDITORinstead ofEDITOR(#897) (@haya14busa)Other work
6682e20: ci: sync dependabot config (#896) (@charmcli)a539127: ci: update lint jobs and settings (@caarlos0)Verifying the artifacts
First, download the
checksums.txtfile, for example, withwget:wget 'https://github.com/charmbracelet/gum/releases/download/v0.16.1/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.
v0.16.0Compare Source
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!
Changelog
New Features
Bug fixes
--show-outputshow the right answer (#853) (@andreynering)--show-outputis given (#850) (@andreynering)Verifying the artifacts
First, download the
checksums.txtfile, for example, withwget:wget 'https://github.com/charmbracelet/gum/releases/download/v0.16.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.
v0.15.2Compare Source
Changelog
Bug fixes
d1fc051: fix(pager): memory/cpu usage when using soft-wrap (#827) (@caarlos0)Verifying the artifacts
First, download the
checksums.txtfile, for example, withwget:wget 'https://github.com/charmbracelet/gum/releases/download/v0.15.2/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.
v0.15.1Compare Source
This is a small release fixing some bugs introduced in v0.15.0.
Changelog
Bug fixes
2846d19: Revert "feat(table): set --print if stdout is not a terminal (#762)" (#811) (@caarlos0)30bc180: fix(confirm): do not print 'not confirmed' on exit 1 (#814) (@caarlos0)3745655: fix(filter): wrong highlight when option has grapheme clusters (#799) (@caarlos0)2da9527: fix(spin): clear title after finished (#815) (@caarlos0)7e3216e: fix(viewport): remove extra line in viewport help (#816) (@caarlos0)c11af42: fix(write): ctrl+j not making new line (#819) (@caarlos0)05c4bb9: fix: spin when not a tty (#813) (@caarlos0)Verifying the artifacts
First, download the
checksums.txtfile, for example, withwget:wget 'https://github.com/charmbracelet/gum/releases/download/v0.15.1/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.
v0.15.0Compare 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:
gumnow 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=1m30sChoose
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
--headerset 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
--selectedto preselect choices. You can also use--input-delimiterand--output-delimiterfor more flexibility around input and output.Freeform input
Filter's
--no-strictallows 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
--sortwould sort by score which was causing some confusion for users. To clarify this behaviour,--sortis deprecated in favour of--[no]-fuzzy-sort.Want to sort alphabetically? Leverage the
sortcommand 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-stdoutand--show-stderrto print output:Table
We expanded the
tableAPI to allow users to control more fields incsv.Readerthrough gum. This includes--lazy-quotesand--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.txtfile, 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.
v0.14.5Compare Source
This is a small maintenance release to bump dependencies, update linter config, and adjust GoReleaser configuration.
Changelog
Bug fixes
b9611e1: fix: lint issues (#663) (@caarlos0)Dependency updates
6837ed2: feat(deps): bump github.com/charmbracelet/bubbletea from 0.27.0 to 1.0.0 (#661) (@dependabot[bot])8ab6253: feat(deps): bump github.com/charmbracelet/bubbletea from 1.0.0 to 1.1.0 (#665) (@dependabot[bot])65e46d6: feat(deps): bump github.com/charmbracelet/x/ansi from 0.2.2 to 0.2.3 (#656) (@dependabot[bot])Other work
a30dda5: build: fix goreleaser version (@caarlos0)1917023: ci: fix dependabot config (@caarlos0)Verifying the artifacts
First, download the
checksums.txtfile, for example, withwget:wget 'https://github.com/charmbracelet/gum/releases/download/v0.14.5/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.
v0.14.4Compare Source
Au revoir, bugs
This release fixes a buncha bugs and introduces a nice lil' quality-of-life feature.
Changelog
New!
8422c49: feat(filter): Add cyclic navigation (#483) (@piero-vic)Fixed
e095a91: fix(input): wrong height when using borders in the header (@caarlos0)d722a2f: fix: height 0 by default (#640) (@caarlos0)046a4d3: fix: use 0 as default width (#634) (@caarlos0)9db5c7f: fix: select all keybindings (#639) (@caarlos0)96448e0: fix: show background style help (#641) (@caarlos0)Deps
dd5aa97: feat(deps): bump github.com/charmbracelet/bubbles (#654) (@dependabot[bot])1a91d33: feat(deps): bump github.com/charmbracelet/glamour from 0.7.0 to 0.8.0 (#646) (@dependabot[bot])2ee90c8: feat(deps): bump github.com/charmbracelet/lipgloss (#655) (@dependabot[bot])f55c314: fix(deps): update huh (@caarlos0)Docs
7e56d57: docs: update install instructions (@caarlos0)Other stuff
19a93b0: refactor(input): simplify echoMode (@caarlos0)Verifying the artifacts
First, download the
checksums.txtfile, for example, withwget:wget 'https://github.com/charmbracelet/gum/releases/download/v0.14.4/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.
v0.14.3Compare Source
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.txtfile, for example, withwget:wget 'https://github.com/charmbracelet/gum/releases/download/v0.14.3/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.
v0.14.2Compare Source
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
Changed
Fixed
New Contributors
Full Changelog: charmbracelet/gum@v0.14.1...v0.14.2
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.