fix(deps): update module github.com/charmbracelet/huh to v2#21
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
fix(deps): update module github.com/charmbracelet/huh to v2#21renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
Contributor
Author
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.6.0→v2.0.1Release Notes
charmbracelet/huh (github.com/charmbracelet/huh)
v2.0.1Compare Source
This patch release includes upgrading the minimum Go version, upgrade our Bubble Tea and Lip Gloss libraries to use that latest and greatest patches. Enjoy!
Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.
v2.0.0Compare Source
Huh? v2?
We're thrilled to announce the second major release of Huh!
❤️ Charm Land Import Path
We've updated our import paths to use vanity domains and use our domain to import Go packages.
🍵 Bubble Tea v2 & Lip Gloss v2
Huh v2 is built on the all-new Bubble Tea v2 and Lip Gloss v2, bringing all their improvements along for the ride:
All these improvements come for free. Just upgrade and enjoy the performance and stability benefits.
🎨 Simpler Theming
Themes are now passed by value instead of pointer. This makes theme handling more straightforward and predictable.
All built-in themes now take a
boolparameter to indicate whether the terminal has a dark background. Huh will automatically detect your terminal's background color, but you can also provide your own custom theme function:🔍 View Hooks
Want to modify your form's view before it hits the screen? Now you can with
WithViewHook:This is perfect for dynamically controlling terminal features, applying custom view transformations, or integrating Huh forms with larger Bubble Tea applications.
♿ Simplified Accessible Mode
The separate
accessibilitypackage is gone. Accessible mode is now built directly into Huh and controlled exclusively at the form level:This makes accessible mode simpler and more consistent — one setting controls the entire form.
🗂️ Better Model Handling
The internal
Modeltype is now exposed, making it easier to work with Huh forms in Bubble Tea applications. This improves type safety and makes composition patterns more natural.🧹 Cleaner Dependencies
Huh v2 benefits from the simplified dependency tree of Bubble Tea v2 and Lip Gloss v2. This means faster builds, smaller binaries, and fewer potential version conflicts.
🌈 More on Huh v2
Ready to migrate? Head over to the Upgrade Guide for the full migration checklist.
Changelog
New!
Fixed
Docs
Other stuff
Feedback
Have thoughts on Huh v2? We'd love to hear about it. Let us know on…
Part of Charm.
Charm热爱开源 • Charm loves open source • نحنُ نحب المصادر المفتوحة
v1.0.0Compare Source
v0.8.0Compare Source
Fields aren’t just for farmers
Hi! This big feature in this release is that you can now create and maintain your own
Fieldtypes asField.RunAccessibleis now public. Check out theFieldinterface and go crazy.We also fixed a handful of bugs in the release. Special thanks to @pashpashpash for nudging us to cut a release.
Changelog
New!
Fixed
Other Stuff
New Contributors
Full Changelog: charmbracelet/huh@v0.7.0...v0.8.0
v0.7.0Compare Source
Less bugs, more feats
This is a quality-of-life release which fixes a handful of behavioral and rendering issues, and adds a few of useful features.
Accessible mode: now more accessible
We made several updates to accessible mode, and it should now work better with
screen readers.
It will also now respect
WithInputandWithOutput.Focused? Hovered Filtered?
Useful when integrating with an existing Bubble Tea app, you can now get the
currently focused field, as well as the which option the cursor is pointing at, which we’re calling "hover":
You can also use
GetFilteringto check if the user is currently filtering.Spinning, but not out of control
Spinnerwas revamped and now properly handles context cancellations,interrupts, and more. You can also use the new
ActionWithErrorto set an action that might error.Other improvements
FilePickergot a couple of improvements: you can now set theCursor, and the UI has received a bit of extra polish.Groupnow properly renders theirTitleandDescription.Textcan now be configured to not allow opening the external editor.SelectandMultiSelectnow properly handle multi-line options, as well as automatically wrap long options so they are properly rendered.TitleandDescriptionof all components now properly wrap, fixing many rendering issues.ColumnandGridlayouts received bug fixes and improvements.SIGINT) are now properly handled.Changelog
WithButtonAlignmentfunction for button positioning by @bashbunni in #427New Contributors
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: 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 was generated by Mend Renovate. View the repository job log.