Open
Conversation
c9e5b57 to
f762fd9
Compare
3217832 to
9855c8e
Compare
9855c8e to
7a36cd0
Compare
c984bef to
34ccfb8
Compare
11e80ba to
f763022
Compare
f763022 to
8b5e96d
Compare
8b5e96d to
53dca12
Compare
53dca12 to
df6a0f9
Compare
df6a0f9 to
cd9bc3b
Compare
Contributor
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
cd9bc3b to
d73510d
Compare
d73510d to
7688dd7
Compare
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the
Comment |
7688dd7 to
bd34895
Compare
bd34895 to
1597f27
Compare
1597f27 to
1fdd4b7
Compare
1fdd4b7 to
3dddb5d
Compare
Contributor
Author
|
c6c25b3 to
3e05fa8
Compare
268d448 to
3883d4e
Compare
3883d4e to
ac8c52f
Compare
ac8c52f to
54e1491
Compare
Generated by renovateBot
54e1491 to
d8e0750
Compare
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:
v1.0.0→v2.0.3v1.1.0→v2.0.2v1.9.5→v2.3.0Release Notes
charmbracelet/huh (github.com/charmbracelet/huh)
v2.0.3Compare Source
This patch release fixes two UX issues where multiline options might get cutoff when navigating, and the other is related to ensuring the viewport width is updated after a resize.
Changelog
Fixed
3c0116c: fix(select): ensure cursor visibility when navigating multiline options (#749) (@aymanbagabas)ec53694: fix(select): recompute viewport width on WithWidth (#747) (@SergioChan)Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.
v2.0.2Compare Source
Paste Paste Paste
This patch release fixes an issue where sometimes, a paste event, might get triggered multiple times. Enjoy!
Changelog
Fixed
8ccc9e1: fix: Prevent double paste in focused field (#746) (@ConnorsApps)35e08d4: fix: use keypress events instead of key events to avoid release events (@aymanbagabas)Docs
28dc68f: docs(license): update copyright date (@meowgorithm)4b802ae: docs(readme): update footer (@meowgorithm)Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.
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 • نحنُ نحب المصادر المفتوحة
charmbracelet/lipgloss (github.com/charmbracelet/lipgloss)
v2.0.2Compare Source
Table patch
If you don't know, we made big improvements in table rendering recently shipped in v2.0.0.
@MartinodF made a good job on improving it even further for tricky edge cases, in particular when content wrapping is enabled.
Changelog
Fixed
c289bad: fix(table): height and overflow with wrapping content (#620) (@MartinodF)Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.
v2.0.1Compare Source
A small release to properly set style underline colors, as well as handling partial reads while querying the terminal.
Changelog
Fixed
3044146: fix: add missing underlineColorKey case in getAsColor (#624) (@flux627)Docs
61e734b: docs: Charm logo link in upgrade guide (@aymanbagabas)Other stuff
92b13d8: ci: sync golangci-lint config (#621) (@github-actions[bot])Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.
v2.0.0Compare Source
Do you think you can handle Lip Gloss v2?
We’re really excited for you to try Lip Gloss v2! Read on for new features and a guide to upgrading.
If you (or your LLM) just want the technical details, take a look at Upgrade Guide.
What’s new?
The big changes are that Styles are now deterministic (λipgloss!) and you can be much more intentional with your inputs and outputs. Why does this matter?
Playing nicely with others
v2 gives you precise control over I/O. One of the issues we saw with the Lip Gloss and Bubble Tea v1s is that they could fight over the same inputs and outputs, producing lock-ups. The v2s now operate in lockstep.
Querying the right inputs and outputs
In v1, Lip Gloss defaulted to looking at
stdinandstdoutwhen downsampling colors and querying for the background color. This was not always necessarily what you wanted. For example, if your application was writing tostderrwhile redirectingstdoutto a file, the program would erroneously think output was not a TTY and strip colors. Lip Gloss v2 gives you control over this.Going beyond localhost
Did you know TUIs and CLIs can be served over the network? For example, Wish allows you to serve Bubble Tea and Lip Gloss over SSH. In these cases, you need to work with the input and output of the connected clients as opposed to
stdinandstdout, which belong to the server. Lip Gloss v2 gives you flexibility around this in a more natural way.🧋 Using Lip Gloss with Bubble Tea?
Make sure you get all the latest v2s as they’ve been designed to work together.
# Collect the whole set. go get charm.land/bubbletea/v2 go get charm.land/bubbles/v2 go get charm.land/lipgloss/v2🐇 Quick upgrade
If you don't have time for changes and just want to upgrade to Lip Gloss v2 as fast as possible? Here’s a quick guide:
Use the
compatpackageThe
compatpackage provides adaptive colors, complete colors, and complete adaptive colors:compatworks by looking atstdinandstdouton a global basis. Want to change the inputs and outputs? Knock yourself out:Use the new Lip Gloss writer
If you’re using Bubble Tea with Lip Gloss you can skip this step. If you're using Lip Gloss in a standalone fashion, however, you'll want to use
lipgloss.Println(andlipgloss.Printfand so on) when printing your output:Why? Because
lipgloss.Printlnwill automatically downsample colors based on the environment.That’s it!
Yep, you’re done. All this said, we encourage you to read on to get the full benefit of v2.
👀 What’s changing?
Only a couple main things that are changing in Lip Gloss v2:
🪄 Downsampling colors with a writer
One of the best things about Lip Gloss is that it can automatically downsample colors to the best available profile, stripping colors (and ANSI) entirely when output is not a TTY.
If you're using Lip Gloss with Bubble Tea there's nothing to do here: downsampling is built into Bubble Tea v2. If you're not using Bubble Tea you now need to use a writer to downsample colors. Lip Gloss writers are a drop-in replacement for the usual functions found in the
fmtpackage:🌛 Background color detection and adaptive colors
Rendering different colors depending on whether the terminal has a light or dark background is an awesome power. Lip Gloss v2 gives you more control over this progress. This especially matters when input and output are not
stdinandstdout.If that doesn’t matter to you and you're only working with
stdoutyou skip this viacompatabove, though we encourage you to explore this new functionality.With Bubble Tea
In Bubble Tea, request the background color, listen for a
BackgroundColorMsgin your update, and respond accordingly.Standalone
If you're not using Bubble Tea you simply can perform the query manually:
🥕 Other stuff
Colors are now
color.Colorlipgloss.Color()now produces an idiomaticcolor.Color, whereas before colors were typelipgloss.TerminalColor. Generally speaking, this is more of an implementation detail, but it’s worth noting the structural differences.Changelog
New!
Fixed
Docs
Other stuff
🌈 Feedback
That's a wrap! Feel free to reach out, ask questions, and let us know how it's going. We'd love to know what you think.
Part of Charm.
Charm热爱开源 • Charm loves open source • نحنُ نحب المصادر المفتوحة
pelletier/go-toml (github.com/pelletier/go-toml)
v2.3.0Compare Source
This is the first release built largely with the help of AI coding agents. Highlights include the complete removal of the unsafe package. go-toml is now fully safe Go code, with a geomean overhead of only ~1.4% vs v2.2.4 and zero additional allocations on benchmarks. This release also adds omitzero struct tag support, improves UnmarshalText/Unmarshaler handling for tables and array tables, and fixes several bugs including nil pointer marshaling, leap second handling, and datetime unmarshaling panics.
What's Changed
What's new
omitzerotag support by @NathanBaulch in #998Fixed bugs
Documentation
Other changes
New Contributors
Full Changelog: pelletier/go-toml@v2.2.4...v2.3.0
v2.2.4Compare Source
Highlight
In this release, @mikattack removed the last dependency of go-toml! 🎉 (#981)
What's Changed
Documentation
Other changes
stretchr/testifywith an internal test suite by @mikattack in #981New Contributors
Full Changelog: pelletier/go-toml@v2.2.3...v2.2.4
v2.2.3Compare Source
What's Changed
What's new
int,uint, andfloatas map keys by @daniel-weisse in #958Performance
Fixed bugs
Documentation
Other changes
New Contributors
Full Changelog: pelletier/go-toml@v2.2.2...v2.2.3
v2.2.2Compare Source
What's Changed
Fixed bugs
New Contributors
Full Changelog: pelletier/go-toml@v2.2.1...v2.2.2
v2.2.1Compare Source
What's Changed
Fixed bugs
New Contributors
Full Changelog: pelletier/go-toml@v2.2.0...v2.2.1
v2.2.0Compare Source
What's Changed
What's new
json.Numbertype by @dangra in #923Fixed bugs
Documentation
Other changes
New Contributors
Full Changelog: pelletier/go-toml@v2.1.1...v2.2.0
v2.1.1Compare Source
What's Changed
Fixed bugs
New Contributors
Full Changelog: pelletier/go-toml@v2.1.0...v2.1.1
v2.1.0Compare Source
This new minor release brings back the
commentedstruct field tag from go-toml v1. It makes it easier to generate default or example configuration files. For instance:generates this TOML document:
This feature was often mentioned as a blocker to upgrading from go-toml v1. Hopefully bringing it back in scope will help folks make the transition!
An other noteworthy improvement is on type mismatch errors. They now include the human-readable context, and include the struct field name of the faulty value if applicable.
Before:
After:
What's Changed
What's new
Fixed bugs
Other changes
Go 1.21by @michalbiesek in #885New Contributors
Full Changelog: pelletier/go-toml@v2.0.9...v2.1.0
v2.0.9Compare Source
What's Changed
Fixed bugs
Other changes
New Contributors
Full Changelog: pelletier/go-toml@v2.0.8...v2.0.9
v2.0.8Compare Source
What's Changed
What's new
Fixed bugs
Documentation
New Contributors
Full Changelog: pelletier/go-toml@v2.0.7...v2.0.8
v2.0.7Compare Source
What's Changed
Fixed bugs
Documentation
New Contributors
Full Changelog: pelletier/go-toml@v2.0.6...v2.0.7
v2.0.6Compare Source
What's Changed
What's new
Performance
Other changes
New Contributors
Full Changelog: pelletier/go-toml@v2.0.5...v2.0.6
v2.0.5Compare Source
What's Changed
Fixed bugs
Full Changelog: pelletier/go-toml@v2.0.4...v2.0.5
v2.0.4Compare Source
This version has compatibility issues with Go <= 1.17. Though go-toml doesn't officially support Go less than 2 versions old, a new version has been released with a backward-compatible fix: https://github.com/pelletier/go-toml/releases/tag/v2.0.5.
What's Changed
Fixed bugs
New Contributors
Full Changelog: pelletier/go-toml@v2.0.3...v2.0.4
v2.0.3Compare Source
What's Changed
Fixed bugs
Other changes
Full Changelog: pelletier/go-toml@v2.0.2...v2.0.3
v2.0.2Compare Source
What's Changed
Fixed bugs
Other changes
Configuration
📅 Schedule: (UTC)
🚦 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.