Update module github.com/charmbracelet/lipgloss to v0.11.0 #27
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: abs3nt/gospt#27
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/github.com-charmbracelet-lipgloss-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v0.9.1
->v0.11.0
Release Notes
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: https://github.com/charmbracelet/lipgloss/compare/v0.10.0...v0.11.0
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.
v0.10.0
Compare Source
String Transforms 💄
Lip Gloss
v0.10.0
features a brand newTransform
function for Styles to alter strings at render time. As well as some bug fixes, like ANSI-aware table cell truncation. 🧹Simply define a
Transform
function asfunc (string) string
and apply it to any style:Or, if you prefer:
What's Changed?
Style.Transform
for altering strings at render time by @meowgorithm in https://github.com/charmbracelet/lipgloss/pull/232New Contributors
Full Changelog: https://github.com/charmbracelet/lipgloss/compare/v0.9.1...v0.10.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 has been generated by Renovate Bot.
ℹ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the
go get
command, which resulted in the following additional change(s):Details:
github.com/rivo/uniseg
v0.4.6
->v0.4.7
638e9f104f
to18e355d36c