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:
v4.2.1
->v4.3.0
v0.0.0-20240306161957-71f31c155b08
->v0.3.0
v0.5.0
->v0.6.0
v1.16.2
->v1.16.3
v1.8.0
->v1.8.1
Release Notes
cenkalti/backoff (github.com/cenkalti/backoff/v4)
v4.3.0
Compare Source
charmbracelet/huh (github.com/charmbracelet/huh/spinner)
v0.3.0
Compare Source
Scrolling, autocomplete, smaller binaries and more!
This is a big release with a tonne of new features.
To upgrade to
huh
v0.3.0:For details read on!
Scrollable forms
If a form is in a small terminal it will automatically resize to fit the available space and the active group will scroll to stay in view. Form heights can also be set manually with the new
WithHeight
method.Select and Multi select Scrolling
Select and Multi select fields can now be restricted to a certain height, allowing their options to be scrollable. This means you can now pack in tonnes of options.
To make a
Select
orMultiSelect
scrollable simply set the height on the field or form through theHeight
method.Autocomplete
Now
Input
s can offer suggestions making it easier for users to fill out inputs. These suggestions can be accepted autocomplete-style with a configurable key binding (which defaults to ctrl+e).Simply provide a
[]string
toSuggestions
to enable this feature.More helpful help
Forms will automatically adjust their help text to indicate to the user whether the form will continue or submit on actions. This works with hidden groups. In the below example, the user will be asked to list their allergies if they select "Yes" otherwise, the form will submit.
Way smaller binaries
Huh now produces way smaller binaries! Thanks to #94 Huh now has a 7x smaller compiled footprint.
Before, using
[email protected]
:After, using
[email protected]
:Thanks, Vitor!
Special thanks to the intrepid @vitor-mariano, one of the earliest
huh
contributors, who came in hot with features, fixes, improvements and good vibes. Thank you, Vitor!Changelog
New
Fixed
Full Changelog: charmbracelet/huh@v0.2.3...v0.3.0
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.2.3
Compare Source
Better Defaults!
Huh?
v0.2.3
fixes some bugs for more consistent behaviour across inputs 🐞Text
inputs now update values on each keystroke rather than onBlur
for consistency.Select
andMultiSelect
read their default values from the initial values set by theValue
variable if provided.A special thanks to @vitor-mariano for all his contributions to this release 🤗
Defaults Example
You can now have preselected options by declaring them in the
Value
variable:In the above example,
Lettuce
andTomatoes
will be preselected by default.What's Changed
Text
value updates by @vitor-mariano in https://github.com/charmbracelet/huh/pull/64Select
andMultiSelect
inputs with default values by @vitor-mariano in https://github.com/charmbracelet/huh/pull/62Full Changelog: charmbracelet/huh@v0.2.2...v0.2.3
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.2.2
Compare Source
Better Wrapping 🎁
Huh?
v0.2.2 improves wrapping of theInput
andText
fields.It applies width set on the form to the inputs to perform wrapping based on the specified or terminal width.
New Contributors
Full Changelog: charmbracelet/huh@v0.2.1...v0.2.2
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.
v0.2.1
Compare Source
New Theme! 😸
huh?
forms can now use Catppuccin themes. (Thanks to the wonderful @sgoudham ✨)Simply add the following to your
huh.Form
s:Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.
v0.2.0
Compare Source
Better Help Styles!
Help
Styles now apply on aTheme
rather than embedded inFieldStyles
. (Thanks to the wonderful @jolheiser ✨)Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.
distribution/reference (github.com/distribution/reference)
v0.6.0
Compare Source
What's Changed
New Contributors
Full Changelog: distribution/reference@v0.5.0...v0.6.0
expr-lang/expr (github.com/expr-lang/expr)
v1.16.3
Compare Source
Expr is a Go-centric expression language designed to deliver dynamic configurations with unparalleled accuracy,
safety, and speed.
In this release:
{(foo + bar): 42}
Expr Editor
The Expr Editor is an embeddable code editor written in JavaScript with full support of Expr language.
Expr Pro
Expr Pro is a set of extensions for Expr for advanced use cases. It includes expressions explanation, performance profiling, and more.
go-sql-driver/mysql (github.com/go-sql-driver/mysql)
v1.8.1
Compare Source
What's Changed
Bugfixes:
Full Changelog: go-sql-driver/mysql@v1.8.0...v1.8.1
Configuration
📅 Schedule: Branch creation - "before 4am" (UTC), Automerge - "before 4am" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.