Skip to content
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

feat(deps): bump github.com/charmbracelet/lipgloss from 0.7.1 to 0.8.0 #372

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 23, 2023

Bumps github.com/charmbracelet/lipgloss from 0.7.1 to 0.8.0.

Release notes

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

v0.8.0

Predictable Tabs

At last: tabs that render the way you want ’em to. With the new Style.TabWidth() method, you can determine exactly how a \t will render.

Before this release, Lip Gloss used to mis-measure a tab (i.e. a \t) at 0 cells wide when they actually render at different widths in different terminals (usually 8 cells, sometimes 4 cells). For these reasons, tabs are almost never what you want when designing layouts for TUIs.

With this release, a tab will get converted to 4 spaces by default—so this is a behavioral change—but you can customize the behavior as well as disable it entirely.

s := lipgloss.NewStyle()        // 4 spaces per tab, the default
s = s.TabWidth(2)               // 2 spaces per tab
s = s.TabWidth(0)               // remove tabs
s = s.TabWidth(-1)              // don't convert tabs to spaces
s = s.TabWidth(NoTabConversion) // alias of the above

You can disable the feature with Style.TabWidth(NoTabConversion) (or Style.TabWidth(-1), if you're the pedantic type).

Bug Fixes

This release also includes a bunch of bug fixes. This includes:


Full Changelog: charmbracelet/lipgloss@v0.7.1...v0.8.0

Commits

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)

Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.7.1 to 0.8.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Commits](charmbracelet/lipgloss@v0.7.1...v0.8.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]>
@codecov
Copy link

codecov bot commented Aug 23, 2023

Codecov Report

Merging #372 (a56f917) into main (050a0d1) will decrease coverage by 0.19%.
Report is 35 commits behind head on main.
The diff coverage is 45.10%.

@@            Coverage Diff             @@
##             main     #372      +/-   ##
==========================================
- Coverage   50.52%   50.34%   -0.19%     
==========================================
  Files         107      133      +26     
  Lines        8209    11265    +3056     
==========================================
+ Hits         4148     5671    +1523     
- Misses       3767     5157    +1390     
- Partials      294      437     +143     
Files Changed Coverage Δ
git/repo.go 50.69% <ø> (+6.71%) ⬆️
server/access/access.go 64.70% <0.00%> (-26.97%) ⬇️
server/backend/hooks.go 0.00% <0.00%> (ø)
server/config/context.go 85.71% <0.00%> (ø)
server/config/file.go 100.00% <ø> (ø)
server/daemon/daemon.go 49.76% <0.00%> (+3.03%) ⬆️
server/db/errors.go 31.57% <ø> (ø)
server/db/logger.go 37.31% <0.00%> (+12.31%) ⬆️
server/db/migrate/migrate.go 32.53% <0.00%> (ø)
server/git/git.go 31.66% <ø> (+5.00%) ⬆️
... and 68 more

... and 4 files with indirect coverage changes

@aymanbagabas aymanbagabas merged commit 62b9fda into main Aug 23, 2023
@aymanbagabas aymanbagabas deleted the dependabot/go_modules/github.com/charmbracelet/lipgloss-0.8.0 branch August 23, 2023 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant