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 the all group with 6 updates #307

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2024

Bumps the all group with 6 updates:

Package From To
github.com/charmbracelet/bubbles 0.18.0 0.19.0
github.com/charmbracelet/bubbletea 0.26.6 0.27.0
github.com/charmbracelet/glamour 0.7.0 0.8.0
github.com/charmbracelet/lipgloss 0.12.1 0.13.0
github.com/pelletier/go-toml/v2 2.2.2 2.2.3
github.com/sashabaranov/go-openai 1.27.1 1.29.0

Updates github.com/charmbracelet/bubbles from 0.18.0 to 0.19.0

Release notes

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

v0.19.0

Bugs? Squashed (along with a few nice lil’ features).

Community-Driven Development?! Yep, the majority of the changes in this release were done by the community. Thank you all for your contributions that made this release possible.

Progress: custom chars

You can now customize the filled and empty characters of the progress bar.

p := progress.New(progress.WithFillCharacters('>', '.'))

progress bar example

Table improvements

Help is on the way

Table now includes a short and full help view so it's easier than ever to tell your users how to interact with the table.

// Render a table with its help.
t := table.New()
view := t.View() + "\n" + t.HelpView()

Accessing columns

You can also now get the table's columns (this already existed for rows).

package table
// Columns returns the current columns.
func (m Model) Columns() []Column

List: page navigation is fixed!

Previously, list.NextPage() and list.PrevPage() didn't work because the methods did not have pointer receivers. We've fixed this…by making them pointer receivers!

⚠️ Note that this is a minor API change and you might need to update your app to pass a pointer receiver to your model rather than a copy. Details in #458.

package progress
// NextPage moves to the next page, if available.
func (m *Model) NextPage()
</tr></table>

... (truncated)

Commits
  • f25096d chore(lint): disable 'predeclared' linter
  • 235075a feat: add HelpView to table as a convenience
  • c1d9f7d feat(table): remove StyleFunc + add tests for table alignment (#586)
  • 549d076 chore: fix lint
  • 92d44ed feat(deps): bump github.com/charmbracelet/bubbletea (#587)
  • 5428d6d feat(key): accept any stringer interface to match keys (#584)
  • ff5fb57 ci: no announce
  • b8a38ff ci: use goreleaser for releases (#526)
  • 57c9331 feat(deps): bump github.com/mattn/go-runewidth from 0.0.15 to 0.0.16 (#565)
  • 6063cfb feat(deps): bump github.com/charmbracelet/lipgloss from 0.11.0 to 0.12.1 (#552)
  • Additional commits viewable in compare view

Updates github.com/charmbracelet/bubbletea from 0.26.6 to 0.27.0

Release notes

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

v0.27.0

Suspending, environment hacking, and more

Hi! This release has three nice little features and some bug fixes. Let's take a look:

Suspending and resuming

At last, now you can programmatically suspend and resume programs with the tea.Suspend command and handle resumes with the tea.ResumeMsg message:

func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
	switch msg := msg.(type) {
// Suspend with ctrl+z!
case tea.KeyMsg:
	switch msg.String() {
	case &quot;ctrl+z&quot;:
		m.suspended = true
		return m, tea.Suspend
	}
// Handle resumes
case tea.ResumeMsg:
m.suspended = false
return m, nil
}
// ...

}

Example

There's also a tea.SuspendMsg that flows through Update on suspension.

Special thanks to @​knz for prototyping the original implementation of this.

Setting the environment

When Bubble Tea is behind Wish you may have needed to pass environment variables from the remote session to the Program. Now you can with the all new tea.WithEnvironment:

var sess ssh.Session // ssh.Session is a type from the github.com/charmbracelet/ssh package
pty, _, _ := sess.Pty()
environ := append(sess.Environ(), "TERM="+pty.Term)
p := tea.NewProgram(model, tea.WithEnvironment(environ)

Requesting the window dimensions

... (truncated)

Commits
  • d6a19f0 fix: wrap ErrProgramKilled error
  • cae9acd feat: set the program environment variables (#1063)
  • 7ddeec9 chore(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 (#1077)
  • 3eb74e8 chore(deps): bump github.com/charmbracelet/glamour in /examples (#1074)
  • 85ad914 chore(deps): bump golang.org/x/sync from 0.7.0 to 0.8.0 (#1072)
  • 7c4d678 chore(deps): bump golang.org/x/sys from 0.22.0 to 0.23.0 (#1073)
  • 7c1bfc0 fix: query window-size in a goroutine (#1059)
  • 7d70838 feat: add a cmd to request window size (#988)
  • 4497aa9 fix: reset cursor position on renderer exit (#1058)
  • 72760ee chore(deps): bump github.com/charmbracelet/x/ansi from 0.1.3 to 0.1.4 (#1057)
  • Additional commits viewable in compare view

Updates github.com/charmbracelet/glamour from 0.7.0 to 0.8.0

Release notes

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

v0.8.0

Fixing (almost) everything

With a ton of rendering fixes, she's sparkling ✨

It has that new car smell...

So many fixes…one man

@​caarlos0 fixed a whopping 15 issues with PR #317 🥇

  • Fix URL links not rendering inside bold text #312
  • Fix autolink element rendering #290
  • Add support for backslash escapes #106
  • Fix cases when backslash should not be shown #274
  • Fix escape character rendering #311
  • Fix newlines in definition lists #239
  • Fix nested blockquotes rendering #313
  • Fix block quote accidentally combining lines #237
  • Fix document-level indent causing unintended wrapping after quoted lines #68

Better tables

Tables now provide stable rendering of elements within the table including alignment, text styles, all that jazz. It now uses the lipgloss table, making it much more consistent across the board.

  • Render tables with Lip Gloss #262
  • Refactor to replace TableWriter with Lip Gloss table #254
  • Fix inline code within table #315
  • Fix links in tables #316
  • Provide consistent alignment of table elements #60
  • Support alignment in tables #117

New! Tokyo Night

The markdown renderer’s equivalent of a mani-pedi 💅

Tokyo Night is now a built-in style for Glamour. This means you'll be able to use it in the next release of Glow.

glow -s "tokyo-night"
# OR
export GLAMOUR_STYLE="tokyo-night"

Check out the custom style example to learn how to support custom styles in your own Glamour apps.

... (truncated)

Commits

Updates github.com/charmbracelet/lipgloss from 0.12.1 to 0.13.0

Release notes

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

v0.13.0

Woodn’t you know, Lip Gloss has trees!

Lip Gloss ships with a tree rendering sub-package.

import "github.com/charmbracelet/lipgloss/tree"

Define a new tree.

t := tree.Root(".").
    Child("A", "B", "C")

Print the tree.

fmt.Println(t)
// .
// ├── A
// ├── B
// └── C

Trees have the ability to nest.

t := tree.Root(".").
    Child("macOS").
    Child(
        tree.New().
            Root("Linux").
            Child("NixOS").
            Child("Arch Linux (btw)").
            Child("Void Linux"),
        ).
    Child(
        tree.New().
            Root("BSD").
            Child("FreeBSD").
            Child("OpenBSD"),
    )

Print the tree.

</tr></table> 

... (truncated)

Commits
  • bb3e339 docs(README): match tree example alignment with list examples
  • bc0de5c docs(README): make tree example match output
  • 185fde3 docs(README): update tree images
  • cf0a7c6 docs: fix tree screenshot
  • feb42a9 feat: move tree to root (#342)
  • 0618c73 feat(test): add test for JoinHorizontal (#346)
  • ed7f56e docs: fix CompleteColor example (#345)
  • 8a0e640 fix: remove unnecessary if
  • 87dd58d chore: fix little typo in comment in go.mod
  • See full diff in compare view

Updates github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3

Release notes

Sourced from github.com/pelletier/go-toml/v2's releases.

v2.2.3

What's Changed

What's new

Performance

Fixed bugs

Documentation

Other changes

New Contributors

Full Changelog: pelletier/go-toml@v2.2.2...v2.2.3

Commits

Updates github.com/sashabaranov/go-openai from 1.27.1 to 1.29.0

Release notes

Sourced from github.com/sashabaranov/go-openai's releases.

v1.29.0

What's Changed

Full Changelog: sashabaranov/go-openai@v1.28.3...v1.29.0

v1.28.3

What's Changed

New Contributors

Full Changelog: sashabaranov/go-openai@v1.28.2...v1.28.3

v1.28.2

What's Changed

New Contributors

Full Changelog: sashabaranov/go-openai@v1.28.1...v1.28.2

v1.28.1

What's Changed

New Contributors

Full Changelog: sashabaranov/go-openai@v1.28.0...v1.28.1

v1.28.0

What's Changed

Full Changelog: sashabaranov/go-openai@v1.27.1...v1.28.0

Commits

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the all group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles) | `0.18.0` | `0.19.0` |
| [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) | `0.26.6` | `0.27.0` |
| [github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour) | `0.7.0` | `0.8.0` |
| [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) | `0.12.1` | `0.13.0` |
| [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml) | `2.2.2` | `2.2.3` |
| [github.com/sashabaranov/go-openai](https://github.com/sashabaranov/go-openai) | `1.27.1` | `1.29.0` |


Updates `github.com/charmbracelet/bubbles` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/charmbracelet/bubbles/releases)
- [Changelog](https://github.com/charmbracelet/bubbles/blob/master/.goreleaser.yml)
- [Commits](charmbracelet/bubbles@v0.18.0...v0.19.0)

Updates `github.com/charmbracelet/bubbletea` from 0.26.6 to 0.27.0
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/main/.goreleaser.yml)
- [Commits](charmbracelet/bubbletea@v0.26.6...v0.27.0)

Updates `github.com/charmbracelet/glamour` from 0.7.0 to 0.8.0
- [Release notes](https://github.com/charmbracelet/glamour/releases)
- [Commits](charmbracelet/glamour@v0.7.0...v0.8.0)

Updates `github.com/charmbracelet/lipgloss` from 0.12.1 to 0.13.0
- [Release notes](https://github.com/charmbracelet/lipgloss/releases)
- [Changelog](https://github.com/charmbracelet/lipgloss/blob/master/.goreleaser.yml)
- [Commits](charmbracelet/lipgloss@v0.12.1...v0.13.0)

Updates `github.com/pelletier/go-toml/v2` from 2.2.2 to 2.2.3
- [Release notes](https://github.com/pelletier/go-toml/releases)
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml)
- [Commits](pelletier/go-toml@v2.2.2...v2.2.3)

Updates `github.com/sashabaranov/go-openai` from 1.27.1 to 1.29.0
- [Release notes](https://github.com/sashabaranov/go-openai/releases)
- [Commits](sashabaranov/go-openai@v1.27.1...v1.29.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/charmbracelet/glamour
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/charmbracelet/lipgloss
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: github.com/pelletier/go-toml/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: github.com/sashabaranov/go-openai
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Sep 1, 2024
@j178 j178 merged commit 49a950b into master Sep 1, 2024
2 checks passed
@j178 j178 deleted the dependabot/go_modules/all-c4a8abb63a branch September 1, 2024 11:54
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