SpatiumPortae / portal

Portal is a quick and easy command-line file transfer utility from any computer to another 🌌 ✨
https://portal.spatiumportae.com
MIT License
1.47k stars 38 forks source link

chore(deps): bump github.com/charmbracelet/lipgloss from 0.6.0 to 0.7.1 #81

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

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

Release notes

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

v0.7.1

This bugfix release fixes a problem introduced in v0.7.0 where applications could freeze or hang on start-up.

What's Changed

Full Changelog: https://github.com/charmbracelet/lipgloss/compare/v0.7.0...v0.7.1

v0.7.0

Custom Renderers

We're pleased to introduce custom renders for Lip Gloss! Custom renderers allow you to render to a specific outputs, which is particularly important when you want to detect the color profile and dark background status for multiple different outputs at runtime, such as in a server-client situation.

Here's what it looks like:

func myLittleHandler(sess ssh.Session) {
    // Create a renderer for the client.
    renderer := lipgloss.NewRenderer(sess)
// Create a new style on the renderer.
style := renderer.NewStyle().Background(lipgloss.AdaptiveColor{Light: "63", Dark: "228"})

// Render. The color profile and dark background state will be correctly detected.
io.WriteString(sess, style.Render("Heyyyyyyy"))

}

For a full example on using a custom renderer over SSH with Wish see the SSH example.

New API Stuff

  • type Renderer struct
  • NewRenderer(io.Writer)
  • DefaultRenderer()
  • SetDefaultRenderer(*lipgloss.Renderer)
  • style.Renderer(*lipgloss.Renderer) Style

What's Changed

New

Fixed

... (truncated)

Commits
  • c43b22e chore: bump termenv to v0.15.1
  • 7f47f0b fix(renderer): use termenv default renderer
  • 19ca9a3 docs: renderer documentation (#175)
  • b3440ac feat(go): bump termenv to v0.15
  • c5382b3 ref(renderer): change renderer impl
  • d09532a chore: unify get border size function names
  • 4eea195 feat(go): upgrade golang to 1.17
  • 1eab58f docs: fix the description of MaxHeight
  • a74950e fix: don't concurrently change output profiles
  • 776c15f chore(examples): update ssh example
  • 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 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)
codecov[bot] commented 1 year ago

Codecov Report

Merging #81 (d9037d8) into master (597e750) will increase coverage by 8.81%. The diff coverage is n/a.

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/SpatiumPortae/portal/pull/81/graphs/tree.svg?width=650&height=150&src=pr&token=FH5GXKW890&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SpatiumPortae)](https://codecov.io/gh/SpatiumPortae/portal/pull/81?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SpatiumPortae) ```diff @@ Coverage Diff @@ ## master #81 +/- ## ========================================== + Coverage 31.71% 40.52% +8.81% ========================================== Files 6 6 Lines 227 227 ========================================== + Hits 72 92 +20 + Misses 135 109 -26 - Partials 20 26 +6 ``` [see 2 files with indirect coverage changes](https://codecov.io/gh/SpatiumPortae/portal/pull/81/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SpatiumPortae) [![Impacted file tree graph](https://codecov.io/gh/SpatiumPortae/portal/pull/81/graphs/tree.svg?width=650&height=150&src=pr&token=FH5GXKW890&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SpatiumPortae)](https://codecov.io/gh/SpatiumPortae/portal/pull/81?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SpatiumPortae)