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

fix(deps): update module github.com/charmbracelet/lipgloss to v0.7.1 #377

Merged
merged 1 commit into from
Jun 22, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 8, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/charmbracelet/lipgloss require minor v0.6.0 -> v0.7.1

Release Notes

charmbracelet/lipgloss

v0.7.1

Compare Source

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: charmbracelet/lipgloss@v0.7.0...v0.7.1

v0.7.0

Compare Source

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

New Contributors

Full Changelog: charmbracelet/lipgloss@v0.6.0...v0.7.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner March 8, 2023 21:09
@codecov
Copy link

codecov bot commented Mar 8, 2023

Codecov Report

Merging #377 (5dd408d) into main (99958ac) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #377   +/-   ##
=======================================
  Coverage   70.92%   70.92%           
=======================================
  Files          57       57           
  Lines        4461     4461           
=======================================
  Hits         3164     3164           
  Misses        928      928           
  Partials      369      369           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@renovate renovate bot changed the title fix(deps): update module github.com/charmbracelet/lipgloss to v0.7.0 fix(deps): update module github.com/charmbracelet/lipgloss to v0.7.1 Mar 9, 2023
@renovate renovate bot force-pushed the renovate/github.com-charmbracelet-lipgloss-0.x branch from e305a9e to fbf738d Compare March 9, 2023 20:51
@renovate renovate bot force-pushed the renovate/github.com-charmbracelet-lipgloss-0.x branch from fbf738d to f53ca25 Compare May 11, 2023 23:01
@renovate renovate bot force-pushed the renovate/github.com-charmbracelet-lipgloss-0.x branch from f53ca25 to 5dd408d Compare June 22, 2023 13:14
@riyaz-ali riyaz-ali enabled auto-merge June 22, 2023 13:24
@riyaz-ali riyaz-ali merged commit 95a2a7a into main Jun 22, 2023
@riyaz-ali riyaz-ali deleted the renovate/github.com-charmbracelet-lipgloss-0.x branch June 22, 2023 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant