fix(deps): update module github.com/charmbracelet/huh to v2#70
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
fix(deps): update module github.com/charmbracelet/huh to v2#70renovate[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.8.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
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.