Skip to content

chore(deps): bump github.com/charmbracelet/lipgloss from 0.12.1 to 1.1.0#3300

Closed
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/go_modules/github.com/charmbracelet/lipgloss-1.1.0
Closed

chore(deps): bump github.com/charmbracelet/lipgloss from 0.12.1 to 1.1.0#3300
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/go_modules/github.com/charmbracelet/lipgloss-1.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 14, 2025

Copy link
Copy Markdown
Contributor

Bumps github.com/charmbracelet/lipgloss from 0.12.1 to 1.1.0.

Release notes

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

v1.1.0

Tables, Improved

In this release, the inimitable @​andreynering and @​bashbunni majorly overhauled on the table sizing and content wrapping algorithms. Tables will now be much smarter on deciding the ideal width of each column, and contents now wraps by default inside cells.

// Table content wraps by default.
t := table.New().
    Headers(someHeaders...).
    Rows(someRows...).
    Width(80)
fmt.Println(t)

// Actually, let's not wrap the content.
t := table.New().
    Headers(someHeaders...).
    Rows(someRows...).
    Width(80).
    Wrap(false)
fmt.Println(t)

New Border Styles

Also, we added two new border styles that you can use to generate tables in Markdown and ASCII styles.

Markdown Tables

To render tables correctly for Markdown you'll want to use lipgloss.MarkdownBorder and disable the top and bottom borders.

t := table.New().
    Headers(someHeaders...).
    Rows(someRows).
    Border(lipgloss.MarkdownBorder()).
    BorderTop(false).
    BorderBottom(false)
fmt.Println(t)

... (truncated)

Commits
  • f0e4547 chore: fix lint
  • fb0d757 chore(taskfile): delete lint:all and lint:soft tasks
  • 1209cf0 ci: sync golangci-lint config (#490)
  • c454a0a feat(tables): add markdown and ascii border style for tables (#480)
  • 341996d chore: update charmbracelet/x/cellbuf
  • 1f1209e feat(table): use cellbuf to preserve styles for wrapped content
  • 2aa2eb0 test(table): test wrapping cell styles
  • 9500f10 fix(table): ensure we're passing the right row index to styleFunc
  • 7b191c5 fix(test): make table wrapping tests use golden files
  • 9cfb7dd test(table): check truncation logic for overflow and nowrap
  • 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 <dependency name> 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 dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 14, 2025
@dependabot
dependabot Bot requested a review from a team as a code owner March 14, 2025 04:19
@coveralls

coveralls commented Mar 14, 2025

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 14119668901

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage remained the same at 51.045%

Files with Coverage Reduction New Missed Lines %
internal/storage/rm/rm.go 2 89.53%
Totals Coverage Status
Change from base Build 14119653266: 0.0%
Covered Lines: 6960
Relevant Lines: 13635

💛 - Coveralls

@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/charmbracelet/lipgloss-1.1.0 branch 6 times, most recently from dfdd092 to 453d358 Compare March 21, 2025 22:17
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/charmbracelet/lipgloss-1.1.0 branch from 453d358 to ecc14fb Compare March 28, 2025 00:57
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.12.1 to 1.1.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Changelog](https://github.com/charmbracelet/lipgloss/blob/master/.goreleaser.yml)
- [Commits](charmbracelet/lipgloss@v0.12.1...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/lipgloss
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/charmbracelet/lipgloss-1.1.0 branch from ecc14fb to 71b905e Compare March 28, 2025 04:20
@sweatybridge

Copy link
Copy Markdown
Contributor

superseded by #3347

@dependabot @github

dependabot Bot commented on behalf of github Mar 28, 2025

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/charmbracelet/lipgloss-1.1.0 branch March 28, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants