Update module github.com/charmbracelet/lipgloss to v0.13.1 #27
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.10.0
->v0.13.1
Release Notes
charmbracelet/lipgloss (github.com/charmbracelet/lipgloss)
v0.13.1
Compare Source
Table improvements, on stream
@bashbunni went to town in this release and fixed a bunch of bugs, mostly around table. Best of all, she did most of it on stream.
Changelog
Table
Other Stuff
Bonus
New Contributors
Full Changelog: charmbracelet/lipgloss@v0.13.0...v0.13.1
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.13.0
Compare Source
Woodn’t you know, Lip Gloss has trees!
Lip Gloss ships with a tree rendering sub-package.
Define a new tree.
Print the tree.
Trees have the ability to nest.
Print the tree.
Trees can be customized via their enumeration function as well as using
lipgloss.Style
s.Print the tree.
The predefined enumerators for trees are
DefaultEnumerator
andRoundedEnumerator
.If you need, you can also build trees incrementally:
There’s more where that came from
See all the tree examples.
Changelog
New Features
0618c73
: feat(test): add test forJoinHorizontal
(#346) (@aditipatelpro)feb42a9
: feat: move tree to root (#342) (@caarlos0)Bug fixes
8a0e640
: fix: remove unnecessary if (@aymanbagabas)Documentation updates
bc0de5c
: docs(README): make tree example match output (@bashbunni)bb3e339
: docs(README): match tree example alignment with list examples (@bashbunni)185fde3
: docs(README): update tree images (@bashbunni)ed7f56e
: docs: fixCompleteColor
example (#345) (@bashbunni)cf0a7c6
: docs: fix tree screenshot (@caarlos0)Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.12.1
Compare Source
This release fixes a regression with regard to border calculations introduced in Lip Gloss v0.11.1.
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.12.0
Compare Source
Lists, Check ✓
This release adds a new sub-package for rendering trees and lists.
Define a new list.
Print the list.
Lists have the ability to nest.
Print the list.
Lists can be customized via their enumeration function as well as using
lipgloss.Style
s.Print the list.
In addition to the predefined enumerators (
Arabic
,Alphabet
,Roman
,Bullet
,Tree
),you may also define your own custom enumerator:
Print the list:
If you need, you can also build lists incrementally:
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.11.1
Compare Source
This release is a small patch release to fix text truncation in table cells. For details see: https://github.com/charmbracelet/lipgloss/issues/324.
Other stuff
Full Changelog: charmbracelet/lipgloss@v0.11.0...v0.11.1
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.
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 - 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.