fix(deps): update charmbracelet in go.mod #55
Merged
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.3.0
->v0.4.2
v0.10.0
->v0.11.0
Release Notes
charmbracelet/huh (github.com/charmbracelet/huh)
v0.4.2
Compare Source
Your favourite files 📁
Huh?
v0.4.0
(v0.4.2
) introduces the File Picker to forms ✨Prompt users to select a file in just a few lines of code, you know the drill :)
Field Interface
Zoom
File pickers introduce a new
Zoom
method to theField
interface.Zoom
tells the form whether this field should be the only visible field.Notice how the
FilePicker
field zooms in when selecting a file and zooms out when the file is selected, showing only the selected file.Skip
Notes introduce a new
Skip
method to theField
interface.Skip indicates to the form whether or not to skip this field, i.e. don't let the user interact with it. This is useful for notes to be purely informational.
What else?
height
inWithHeight
by @ardnew in https://github.com/charmbracelet/huh/pull/122EchoMode
forInput
by @caarlos0 in https://github.com/charmbracelet/huh/pull/131FilePicker
by @maaslalani in https://github.com/charmbracelet/huh/pull/133Select
by @maaslalani in https://github.com/charmbracelet/huh/pull/136Select
by @caarlos0 in https://github.com/charmbracelet/huh/pull/143ValidationFunc
s by @anirudhaCodes in https://github.com/charmbracelet/huh/pull/140PrevField
andNextField
public by @KevM in https://github.com/charmbracelet/huh/pull/175TERM=dumb
by @maaslalani in https://github.com/charmbracelet/huh/pull/188WithOutput
API by @maaslalani in https://github.com/charmbracelet/huh/pull/201Bug Fixes
field_note
by @anirudhaCodes in https://github.com/charmbracelet/huh/pull/112MultiSelect
limit in Accessible Mode by @anirudhaCodes in https://github.com/charmbracelet/huh/pull/125Text
field in Accessible mode by @anirudhaCodes in https://github.com/charmbracelet/huh/pull/126Text
field by @auvred in https://github.com/charmbracelet/huh/pull/154tea.Program
errors by @clowder in https://github.com/charmbracelet/huh/pull/237New Contributors
A special thanks to everyone who made this release of Huh? possible! 🤗
Full Changelog: charmbracelet/huh@v0.3.0...v0.4.0
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Slack.
v0.4.1
Compare Source
v0.4.0
Compare Source
charmbracelet/lipgloss (github.com/charmbracelet/lipgloss)
v0.11.0
Compare Source
Immutable Styles and Raw Speed, Baby
So! The big news in this release is:
Style
methods will now always return new stylesStyle
and ANSI operations under the hood are fasterThere are also a handful of great lil' bug fixes. Read on for more.
Immutable Styles
Every
Style
method now returns a completely new style with its own underlying data structure no matter what. This means working with Styles is a lot easier. No more need forCopy()
!Okay, but why are styles easier to work with now? Consider this:
It might seem small, but eliminating the risk of mutations in persistent styles in an enormous usability improvement.
How to upgrade
There's nothing to do, however
Style.Copy()
is now deprecated and only returns itself, so you can just removeStyle.Copy()
calls. If you need to just copy a style without any changes to it you can simplyb := a
.Faster ANSI
Sometimes watch companies brag about their "in-house" watch movement. Well, now we're bragging about our in-house-amazing
x/ansi
library by our own @aymanbagabas. It's a fine-tuned, low-level way to manage ANSI sequencing and, because we're pretty nerdy, we’re super excited about it.What's Changed
New!
Changed
Fixed
New Contributors
Full Changelog: charmbracelet/lipgloss@v0.10.0...v0.11.0
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.
Configuration
📅 Schedule: Branch creation - "* */8 * * *" (UTC), Automerge - At any time (no schedule defined).
🚦 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.