Skip to content

Bump github.com/charmbracelet/lipgloss from 1.0.0 to 1.1.0 #3847

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 28, 2025

Bumps github.com/charmbracelet/lipgloss from 1.0.0 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

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 28, 2025
@dependabot dependabot bot requested review from a team as code owners March 28, 2025 02:54
@dependabot dependabot bot requested review from ademidoff, BupycHuk, idoqo and JiriCtvrtka and removed request for a team March 28, 2025 02:54
@github-actions github-actions bot enabled auto-merge (squash) March 28, 2025 02:55
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/lipgloss-1.1.0 branch 2 times, most recently from d3ac9f6 to e1058c4 Compare April 8, 2025 23:22
@JiriCtvrtka
Copy link
Contributor

@dependabot rebase

Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 1.0.0 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@v1.0.0...v1.1.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/lipgloss-1.1.0 branch from e1058c4 to 343d1ac Compare June 17, 2025 09:05
@github-actions github-actions bot merged commit 2a91f19 into main Jun 17, 2025
25 checks passed
@github-actions github-actions bot deleted the dependabot/go_modules/github.com/charmbracelet/lipgloss-1.1.0 branch June 17, 2025 09:18
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