teler-proxy
                                
                                
                                
                                    teler-proxy copied to clipboard
                            
                            
                            
                        build(deps): bump github.com/charmbracelet/lipgloss from 0.9.1 to 0.11.0
Bumps github.com/charmbracelet/lipgloss from 0.9.1 to 0.11.0.
Release notes
Sourced from github.com/charmbracelet/lipgloss's releases.
v0.11.0
Immutable Styles and Raw Speed, Baby
So! The big news in this release is:
Stylemethods will now always return new stylesStyleand ANSI operations under the hood are fasterThere are also a handful of great lil' bug fixes. Read on for more.
Immutable Styles
Every
Stylemethod 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()!// Before s := lipgloss.NewStyle().Bold(true) newStyle := s.Copy()// After s := lipgloss.NewStyle().Bold(true) newStyle := s // this is a true copy
Okay, but why are styles easier to work with now? Consider this:
// Before baseStyle := lipgloss.NewStyle().Background(lipgloss.Color("59")) styleAtRuntime := baseStyle.Copy().Width(m.Width)// After baseStyle := lipgloss.NewStyle().Padding(1, 2) styleAtRuntime := baseStyle.Width(m.Width)
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/ansilibrary 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
... (truncated)
Commits
5cd858cfix: respect UnderlineSpaces and StrikethroughSpaces (#299)c91ab3echore(ci): enable gofumpt83fa9bechore: use x/ansi instead of exp/termce5323echore(deps): bump golangci/golangci-lint-action from 5 to 6 (#290)e3596aechore(ci): test for different GOOS & GOARCH2fe044afix: Change the propkeys from int to int643ee5dcachore(docs): doc updates with regard to style.Copy() deprecation517b1a1fix: remove unused typed2795c7refactor: replace props map with struct fields (#276)c986440chore(lint): remove deprecated ifshort linting option- Additional commits viewable in compare view
 
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
72fd1ec) to head (681b2d4).
Additional details and impacted files
@@            Coverage Diff            @@
##            master       #70   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           29        29           
=========================================
  Hits            29        29           
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Superseded by #75.