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

chore(deps): bump github.com/charmbracelet/lipgloss from 0.10.0 to 0.11.0 #82

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 24, 2024

Bumps github.com/charmbracelet/lipgloss from 0.10.0 to 0.11.0.

Release notes

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

v0.11.0

Immutable Styles and Raw Speed, Baby

So! The big news in this release is:

  • Style methods will now always return new styles
  • Style and ANSI operations under the hood are faster

There are also a handful of great lil' bug fixes. Read on for more.

Immutable Styles

Every Style method now returns a completely new style with its own underlying data structure no matter what. This means working with Styles is a lot easier. No more need for Copy()!

// Before
s := lipgloss.NewStyle().Bold(true)
newStyle := s.Copy()
// After
s := lipgloss.NewStyle().Bold(true)
newStyle := s // this is a true copy

Okay, but why are styles easier to work with now? Consider this:

// Before
baseStyle := lipgloss.NewStyle().Background(lipgloss.Color("59"))
styleAtRuntime := baseStyle.Copy().Width(m.Width)
// After
baseStyle := lipgloss.NewStyle().Padding(1, 2)
styleAtRuntime := baseStyle.Width(m.Width)

It might seem small, but eliminating the risk of mutations in persistent styles in an enormous usability improvement.

How to upgrade

There's nothing to do, however Style.Copy() is now deprecated and only returns itself, so you can just remove Style.Copy() calls. If you need to just copy a style without any changes to it you can simply b := a.

Faster ANSI

Sometimes watch companies brag about their "in-house" watch movement. Well, now we're bragging about our in-house-amazing x/ansi library by our own @​aymanbagabas. It's a fine-tuned, low-level way to manage ANSI sequencing and, because we're pretty nerdy, we’re super excited about it.


What's Changed

... (truncated)

Commits
  • 5cd858c fix: respect UnderlineSpaces and StrikethroughSpaces (#299)
  • c91ab3e chore(ci): enable gofumpt
  • 83fa9be chore: use x/ansi instead of exp/term
  • ce5323e chore(deps): bump golangci/golangci-lint-action from 5 to 6 (#290)
  • e3596ae chore(ci): test for different GOOS & GOARCH
  • 2fe044a fix: Change the propkeys from int to int64
  • 3ee5dca chore(docs): doc updates with regard to style.Copy() deprecation
  • 517b1a1 fix: remove unused type
  • d2795c7 refactor: replace props map with struct fields (#276)
  • c986440 chore(lint): remove deprecated ifshort linting option
  • 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 May 24, 2024
Bumps [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Commits](charmbracelet/lipgloss@v0.10.0...v0.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/lipgloss-0.11.0 branch from 9d865f6 to 9efab6d Compare June 3, 2024 13:04
@noahgorstein noahgorstein merged commit 2ac803e into main Jun 3, 2024
2 checks passed
@noahgorstein noahgorstein deleted the dependabot/go_modules/github.com/charmbracelet/lipgloss-0.11.0 branch June 3, 2024 16:25
d-issy referenced this pull request in d-issy/dotfiles Jun 10, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [noahgorstein/jqp](https://github.com/noahgorstein/jqp) | minor |
`v0.6.0` -> `v0.7.0` |

---

### Release Notes

<details>
<summary>noahgorstein/jqp (noahgorstein/jqp)</summary>

###
[`v0.7.0`](https://github.com/noahgorstein/jqp/releases/tag/v0.7.0)

[Compare
Source](https://github.com/noahgorstein/jqp/compare/v0.6.0...v0.7.0)

#### Overview

Mostly small bug fixes and some performance improvements.

One new feature added is the ability to specify an optional query
argument to `jqp` cli that it will execute on startup.

curl "https://api.github.com/repos/jqlang/jq/issues" | jqp '.[] |
{"title": .title, "url": .url}'


https://github.com/noahgorstein/jqp/assets/23270779/735cf84a-dc6f-41e8-9659-5022a4937046


[@&#8203;EmilyGraceSeville7cf](https://github.com/EmilyGraceSeville7cf)
also added a JSON schema for jqp's config which should help users create
and edit their config files.

#### What's Changed

- typos suggestion by
[@&#8203;ccoVeille](https://github.com/ccoVeille) in
[https://github.com/noahgorstein/jqp/pull/59](https://github.com/noahgorstein/jqp/pull/59)
- code review by [@&#8203;ccoVeille](https://github.com/ccoVeille) in
[https://github.com/noahgorstein/jqp/pull/61](https://github.com/noahgorstein/jqp/pull/61)
- Add Continuous Integration to GitHub actions by
[@&#8203;ccoVeille](https://github.com/ccoVeille) in
[https://github.com/noahgorstein/jqp/pull/63](https://github.com/noahgorstein/jqp/pull/63)
- Add GitHub actions for checking typos by
[@&#8203;ccoVeille](https://github.com/ccoVeille) in
[https://github.com/noahgorstein/jqp/pull/62](https://github.com/noahgorstein/jqp/pull/62)
- Add dependabot to GitHub Action by
[@&#8203;ccoVeille](https://github.com/ccoVeille) in
[https://github.com/noahgorstein/jqp/pull/64](https://github.com/noahgorstein/jqp/pull/64)
- chore: address golangci-lint issues by
[@&#8203;noahgorstein](https://github.com/noahgorstein) in
[https://github.com/noahgorstein/jqp/pull/74](https://github.com/noahgorstein/jqp/pull/74)
- chore(deps): bump github.com/itchyny/gojq from 0.12.13 to 0.12.15 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/noahgorstein/jqp/pull/72](https://github.com/noahgorstein/jqp/pull/72)
- chore(deps): bump github.com/alecthomas/chroma/v2 from 2.12.0 to
2.13.0 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/noahgorstein/jqp/pull/73](https://github.com/noahgorstein/jqp/pull/73)
- chore(deps): bump github.com/charmbracelet/bubbles from 0.16.1 to
0.18.0 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/noahgorstein/jqp/pull/71](https://github.com/noahgorstein/jqp/pull/71)
- chore(deps): bump github.com/charmbracelet/lipgloss from 0.8.0 to
0.10.0 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/noahgorstein/jqp/pull/70](https://github.com/noahgorstein/jqp/pull/70)
- chore(deps): bump github.com/spf13/cobra from 1.5.0 to 1.8.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/noahgorstein/jqp/pull/69](https://github.com/noahgorstein/jqp/pull/69)
- chore(deps): bump github.com/spf13/viper from 1.13.0 to 1.18.2 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/noahgorstein/jqp/pull/68](https://github.com/noahgorstein/jqp/pull/68)
- chore(deps): bump github.com/charmbracelet/bubbletea from 0.24.1 to
0.26.2 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/noahgorstein/jqp/pull/67](https://github.com/noahgorstein/jqp/pull/67)
- chore(deps): bump actions/setup-go from 4 to 5 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/noahgorstein/jqp/pull/66](https://github.com/noahgorstein/jqp/pull/66)
- chore: upgrade to go v1.22 by
[@&#8203;noahgorstein](https://github.com/noahgorstein) in
[https://github.com/noahgorstein/jqp/pull/75](https://github.com/noahgorstein/jqp/pull/75)
- refactor: reduce complexity of various methods/functions by
[@&#8203;noahgorstein](https://github.com/noahgorstein) in
[https://github.com/noahgorstein/jqp/pull/76](https://github.com/noahgorstein/jqp/pull/76)
- feat: add optional cli argument to specify initial query by
[@&#8203;noahgorstein](https://github.com/noahgorstein) in
[https://github.com/noahgorstein/jqp/pull/77](https://github.com/noahgorstein/jqp/pull/77)
- bug: dont set viewport content on resize by
[@&#8203;noahgorstein](https://github.com/noahgorstein) in
[https://github.com/noahgorstein/jqp/pull/79](https://github.com/noahgorstein/jqp/pull/79)
- chore(deps): bump github.com/itchyny/gojq from 0.12.15 to 0.12.16 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/noahgorstein/jqp/pull/85](https://github.com/noahgorstein/jqp/pull/85)
- chore(deps): bump github.com/alecthomas/chroma/v2 from 2.13.0 to
2.14.0 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/noahgorstein/jqp/pull/80](https://github.com/noahgorstein/jqp/pull/80)
- chore(deps): bump github.com/charmbracelet/lipgloss from 0.10.0 to
0.11.0 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/noahgorstein/jqp/pull/82](https://github.com/noahgorstein/jqp/pull/82)
- chore(deps): bump github.com/spf13/viper from 1.18.2 to 1.19.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/noahgorstein/jqp/pull/84](https://github.com/noahgorstein/jqp/pull/84)
- chore(deps): bump github.com/charmbracelet/bubbletea from 0.26.2 to
0.26.4 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/noahgorstein/jqp/pull/83](https://github.com/noahgorstein/jqp/pull/83)
- fix: revert to lipgloss v0.10.0 temporarily by
[@&#8203;noahgorstein](https://github.com/noahgorstein) in
[https://github.com/noahgorstein/jqp/pull/87](https://github.com/noahgorstein/jqp/pull/87)
- fix: don't block while inputdata bubble initializes by
[@&#8203;noahgorstein](https://github.com/noahgorstein) in
[https://github.com/noahgorstein/jqp/pull/86](https://github.com/noahgorstein/jqp/pull/86)
- fix: nil pointer dereference as a result of accessing state before
queryinput initialized by
[@&#8203;noahgorstein](https://github.com/noahgorstein) in
[https://github.com/noahgorstein/jqp/pull/90](https://github.com/noahgorstein/jqp/pull/90)
- fix: dynamically increase buffer size to handle processing large JSON
lines by [@&#8203;noahgorstein](https://github.com/noahgorstein) in
[https://github.com/noahgorstein/jqp/pull/93](https://github.com/noahgorstein/jqp/pull/93)
- chore(deps): bump github.com/charmbracelet/lipgloss from 0.10.0 to
0.11.0 by [@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/noahgorstein/jqp/pull/89](https://github.com/noahgorstein/jqp/pull/89)
- chore(deps): bump crate-ci/typos from 1.21.0 to 1.22.1 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/noahgorstein/jqp/pull/92](https://github.com/noahgorstein/jqp/pull/92)
- feat: implement json schema for config by
[@&#8203;EmilyGraceSeville7cf](https://github.com/EmilyGraceSeville7cf)
in
[https://github.com/noahgorstein/jqp/pull/78](https://github.com/noahgorstein/jqp/pull/78)
- chore: prep v0.7.0 release by
[@&#8203;noahgorstein](https://github.com/noahgorstein) in
[https://github.com/noahgorstein/jqp/pull/94](https://github.com/noahgorstein/jqp/pull/94)

#### New Contributors

- [@&#8203;ccoVeille](https://github.com/ccoVeille) made their first
contribution in
[https://github.com/noahgorstein/jqp/pull/59](https://github.com/noahgorstein/jqp/pull/59)
- [@&#8203;dependabot](https://github.com/dependabot) made their first
contribution in
[https://github.com/noahgorstein/jqp/pull/72](https://github.com/noahgorstein/jqp/pull/72)
-
[@&#8203;EmilyGraceSeville7cf](https://github.com/EmilyGraceSeville7cf)
made their first contribution in
[https://github.com/noahgorstein/jqp/pull/78](https://github.com/noahgorstein/jqp/pull/78)

**Full Changelog**:
noahgorstein/jqp@v0.6.0...v0.7.0

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/d-issy/dotfiles).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

1 participant