goharbor / harbor-cli

[Sandbox] Official Harbor CLI
Apache License 2.0
31 stars 37 forks source link

build(deps): bump github.com/charmbracelet/lipgloss from 0.10.0 to 0.11.1 #126

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps github.com/charmbracelet/lipgloss from 0.10.0 to 0.11.1.

Release notes

Sourced from github.com/charmbracelet/lipgloss's releases.

v0.11.1

A small patch release to fix text truncation in table cells charmbracelet/lipgloss#324.

What's Changed

Full Changelog: https://github.com/charmbracelet/lipgloss/compare/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

Immutable Styles and Raw Speed, Baby

So! The big news in this release is:

  • Style methods will now always return new styles
  • Style and ANSI operations under the hood are faster

There 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 for Copy()!

// 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
</tr></table>

... (truncated)

Commits
  • e6edbac chore: bump x/ansi to v0.1.3
  • 5a82e41 chore: update CODEOWNERS
  • 33b3263 fix: Deprecate UnsetBorderTopBackgroundColor in favor of UnsetBorderTopBackgr...
  • bbd02ab chore(ci): also build examples (#310)
  • 7838b4e feat: deprecate Style.ColorWhitespace
  • e54d9dd fix(tree): examples
  • 878d31f fix: sublist example, minor edits
  • 6e07abb refactor: use lipgloss copy for example (#308)
  • 70c908d chore: remove deprecated Copy() calls (#306)
  • 1afeca0 Tree API Changes (#307)
  • Additional commits viewable in compare view


Dependabot compatibility score

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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 month ago

Superseded by #127.