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): update go updates #180

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

platform-engineering-bot
Copy link
Collaborator

@platform-engineering-bot platform-engineering-bot commented Jan 15, 2024

This PR contains the following updates:

Package Type Update Change
github.com/Microsoft/go-winio indirect patch v0.6.1 -> v0.6.2
github.com/charmbracelet/bubbles indirect minor v0.16.1 -> v0.18.0
github.com/charmbracelet/bubbletea indirect minor v0.24.2 -> v0.26.1
github.com/charmbracelet/lipgloss indirect minor v0.8.0 -> v0.10.0
github.com/cloudflare/circl indirect patch v1.3.7 -> v1.3.8
github.com/cyphar/filepath-securejoin indirect patch v0.2.4 -> v0.2.5
github.com/djherbis/times indirect minor v1.5.0 -> v1.6.0
github.com/fsnotify/fsnotify indirect minor v1.6.0 -> v1.7.0
github.com/go-git/go-git/v5 indirect minor v5.11.0 -> v5.12.0
github.com/golang/glog indirect minor v1.1.2 -> v1.2.1
github.com/golang/protobuf indirect patch v1.5.3 -> v1.5.4
github.com/hashicorp/hcl indirect major v1.0.0 -> v2.20.1
github.com/hashicorp/hcl/v2 indirect minor v2.18.1 -> v2.20.1
github.com/mattn/go-isatty indirect patch v0.0.19 -> v0.0.20
github.com/nxadm/tail indirect patch v1.4.8 -> v1.4.11
github.com/pelletier/go-toml/v2 indirect minor v2.1.0 -> v2.2.2
github.com/pulumi/esc indirect minor v0.6.2 -> v0.8.3
github.com/pulumi/pulumi-aws/sdk/v6 require minor v6.4.0 -> v6.33.1
github.com/pulumi/pulumi-azure-native-sdk/resources/v2 require minor v2.10.0 -> v2.39.0
github.com/pulumi/pulumi-azure-native-sdk/storage/v2 require minor v2.10.0 -> v2.39.0
github.com/pulumi/pulumi-azure-native-sdk/v2 indirect minor v2.10.0 -> v2.39.0
github.com/pulumi/pulumi-command/sdk require minor v0.9.2 -> v0.10.0
github.com/pulumi/pulumi-gcp/sdk/v6 require major v6.65.0 -> v7.21.0
github.com/pulumi/pulumi-openstack/sdk/v3 require patch v3.15.1 -> v3.15.2
github.com/pulumi/pulumi-random/sdk/v4 require minor v4.14.0 -> v4.16.1
github.com/pulumi/pulumi-tls/sdk/v4 require major v4.11.0 -> v5.0.3
github.com/pulumi/pulumi/sdk/v3 require minor v3.103.1 -> v3.115.0
github.com/rivo/uniseg indirect patch v0.4.4 -> v0.4.7
github.com/rogpeppe/go-internal indirect minor v1.11.0 -> v1.12.0
github.com/sagikazarmark/locafero indirect minor v0.3.0 -> v0.4.0
github.com/skeema/knownhosts indirect patch v1.2.1 -> v1.2.2
github.com/spf13/afero indirect minor v1.10.0 -> v1.11.0
github.com/spf13/cast indirect minor v1.5.1 -> v1.6.0
github.com/spf13/cobra require minor v1.7.0 -> v1.8.0
github.com/spf13/viper require minor v1.17.0 -> v1.18.2
github.com/zclconf/go-cty indirect patch v1.14.1 -> v1.14.4
go.uber.org/multierr indirect minor v1.9.0 -> v1.11.0
golang.org/x/crypto indirect minor v0.17.0 -> v0.22.0
golang.org/x/mod indirect minor v0.14.0 -> v0.17.0
golang.org/x/net indirect minor v0.19.0 -> v0.24.0
golang.org/x/sync indirect minor v0.5.0 -> v0.7.0
golang.org/x/sys indirect minor v0.15.0 -> v0.20.0
golang.org/x/term indirect minor v0.15.0 -> v0.20.0
golang.org/x/text indirect minor v0.14.0 -> v0.15.0
golang.org/x/tools indirect minor v0.16.0 -> v0.20.0
google.golang.org/grpc indirect minor v1.58.2 -> v1.63.2
google.golang.org/protobuf indirect minor v1.31.0 -> v1.34.0

Release Notes

Microsoft/go-winio (github.com/Microsoft/go-winio)

v0.6.2

Compare Source

What's Changed

New Contributors

Full Changelog: microsoft/go-winio@v0.6.1...v0.6.2

charmbracelet/bubbles (github.com/charmbracelet/bubbles)

v0.18.0

Compare Source

Textarea, but faster

This release features several fixes and big performance improvements for the textarea bubble.

What's Changed

New
Improved
Fixed

New Contributors

Full Changelog: charmbracelet/bubbles@v0.17.1...v0.18.0


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

v0.17.1

Compare Source

What's Changed

Full Changelog: charmbracelet/bubbles@v0.17.0...v0.17.1


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

v0.17.0

Compare Source

Text input autocompletions and various improvements

Autocompletion in Text Input

So @​toadle wanted textinputs to support autocompletion in a ghost-text kind of a way. Rather than wait for us to do it he did what any dedicated open source developer would: he sent a PR! And now we can all benefit from his hard work.

Autocompletion is super easy to use:

ti := textinput.New()
ti.SetSuggestions([]string{"meow", "purr"})

By default you can press ctrl+n and ctrl+p to cycle through suggestions, but those keybindings can be changed as you, the application developer, see fit. For details check out textinput.SetSuggestions and the corresponding KeyMap in the docs.

Is the progress bar done yet?

@​yrashk acutely noticed that to nicely transition from one state to another after an animated progress bar fills up it's helpful to know when the animated has finished animating before transitioning. To solve for this he added an IsAnimating method to the progress model. Thanks, @​yrashk!

Changelog

New!
Improved
Fixed

Full Changelog: charmbracelet/bubbles@v0.16.1...v0.17.0

New Contributors


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

charmbracelet/bubbletea (github.com/charmbracelet/bubbletea)

v0.26.1

Compare Source

This is a quick one to fix a Windows shortcoming in the last release acutely identified by our pal @​jon4hz. Thank you!

What's Changed

Full Changelog: charmbracelet/bubbletea@v0.26.0...v0.26.1


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.

v0.26.0

Compare Source

Bracketed Paste, Windows Improvements, Mainframes, and more

What do tapioca balls, IBM mainframes, and the Microsoft Windows Console API have in common? Bubble Tea v0.26.0, that’s what. Let’s get to it.

⚡️ Windows Input Improvements

A few years ago @​erikgeiser, a penetration tester and ex-particle physicist, wrote this awesome library called coninput to majorly improve Bubble Tea input on Windows. @​aymanbagabas has implemented the library in Bubble Tea and input on Windows is roughly 1000 times better now. In the short term, this means that for Windows users inputting non-Latin characters (like Greek, Cyrillic, Korean, Chinese and so on) stuff will “just work.”

The bigger news, however, is that this paves the way for Windows parity with our forthcoming support for super high fidelity input via Kitty Keyboard and Fixterms.

🍳 Hot Windows Resize Events

Terminal emulators on Windows don’t support the SIGWINCH signal, which is sent when the terminal is resized. It’s been a huge bummer for a really long time. Thanks (again) to @​erikgeiser and @​aymanbagabas, we’re now able to reach deep into Windows’ underpinnings, detect window resizes, and send tea.WindowSizeMsgs accordingly! This is a glorious moment for Bubble Tea on Windows indeed.

🫠 Bracketed Paste

While building a query editor for a CockroachDB client, @​knz noticed that Bubble Tea didn't support Bracketed Paste. Performance-wise, that sucks because it means pasting large bodies of text (like SQL queries) will normally be seen as a bunch of little successive keypresses. That’s where Bracketed Paste comes in. When enabled at the terminal-level Bracketed Paste lets you slam down a bunch of text with one big, fat input event.

Bubble Tea enables bracketed paste by default, however you can opt out of it with the WithoutBracketedPaste() program option:

p := tea.NewProgram(myCuteModel, tea.WithoutBracketedPaste())

You can also enable and disable it on demand with the EnableBracketedPaste() and DisableBracketedPaste() commands.

🌿 Multiline tea.Println

In case you forgot, tea.Println (and it’s brother tea.Printf) is a Cmd that lets you print unmanaged output above a Bubble Tea program, similar to what you see with package managers like apt-get. Thanks to @​Adjective-Object (who also implemented tea.Println in the first place) now you can send multi-line output, too. For a tea.Println refresher see the package manager example.

📀 Hello, z/OS

Don’t you think it’s about time we all ran Bubble Tea apps on our mainframes? Thanks to @​dustin-ward that dream is now a reality, so long as you have a z/OS mainframe. We're thrilled to announce that Bubble Tea is now fully supported on z/OS.

🌹 Bug fixes

Bugfixes are the unsung heroes that sometimes get buried below the feature listings. This release has them and they’re good ones; see the changelog below for details.

Changelog

New!
Changed
Fixed
New Contributors

Full Changelog: charmbracelet/bubbletea@v0.25.0...v0.25.1


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.

v0.25.0

Compare Source

Major mouse improvements, better input parsing, and lots more!

We hope you’re ready for winter. Unless you’re in the southern hemisphere (like @​caarlos0) in which case, we hope you’re ready for summer. In either case, we hope you have a happy new year if the Julian calendar is something you’re into.

There are a bunch of good features in this release and a ton of input-related improvements. Read on for more!

Extended Mouse Mode

Bubble Tea now supports Extended Mouse Mode (aka SGR mode) which makes now mouse support in Bubble Tea way, way better.

Prior to this release Bubble Tea used the X10 mouse protocol. X10 was last released in 1986: a time when screen resolutions were smaller, memory limits were low, and a terminal sizes were tiny. For terminals and mice this meant that the mouse tracking stopped after the 127th horizontal cell. Well, thanks to the elite abilities of @​aymanbagabas Bubble Tea can now track mouse movements across the entire terminal window, no matter how enormous.

And that's not all: Bubble Tea now has higher fidelity access to mouse operations such as shift, ctrl, and alt modifiers, mouse button release events, and a big range of mouse button and mouse wheel events.

For details see the docs for the new and improved MouseEvent.

Setting the Window Title

@​aymanbagabas also wanted to be able to set the terminal window title with Bubble Tea, so he added the SetWindowTitle Cmd. Now setting the window title is as simple as:

func (m Model) Update(msg tea.Msg) (tea.Model. tea.Cmd) {
    return m, tea.SetWindowTitle("oh my")
}

FPS Control

Have you ever thought “Bubble Tea is too fast and I just can’t handle it?” Or perhaps 60fps is too slow and you want to go full 120fps. Now, thanks to @​tomfeigin’s WithFPS ProgramOption you can:

// Let’s go with the classic soap opera frame rate
p := tea.NewProgram(model, tea.WithMaxFPS(45))

Better Input, Better Living

@​knz is just incredible. He took a look at Bubble Tea’s input parser and whipped it into shape with what felt like a flick of the wrist. Keyboard input is now more efficient than ever and very large amounts of input can be parsed with the greatest of ease. It's hard to overstate how impactful his contributions are—and there are more in the pipe.

Changelog

New!

Fixed

Full Changelog: charmbracelet/bubbletea@v0.24.2...v0.25.0

New Contributors


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.

charmbracelet/lipgloss (github.com/charmbracelet/lipgloss)

v0.10.0

Compare Source

String Transforms 💄

Lip Gloss v0.10.0 features a brand new Transform function for Styles to alter strings at render time. As well as some bug fixes, like ANSI-aware table cell truncation. 🧹

Simply define a Transform function as func (string) string and apply it to any style:

// Example:
s := NewStyle().Transform(strings.ToUpper)
fmt.Println(s.Render("raow!") // "RAOW!"

Or, if you prefer:

// Example:
reverse := func(s string) string {
    n := 0
    rune := make([]rune, len(s))
    for _, r := range s {
        rune[n] = r
	n++
    }
    rune = rune[0:n]
    for i := 0; i < n/2; i++ {
        rune[i], rune[n-1-i] = rune[n-1-i], rune[i]
    }
    return string(rune)
}

s := NewStyle().Transform(reverse)
fmt.Println(s.Render("The quick brown 狐 jumped over the lazy 犬")
// "犬 yzal eht revo depmuj 狐 nworb kciuq ehT",

What's Changed?

New Contributors

Full Changelog: charmbracelet/lipgloss@v0.9.1...v0.10.0


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Slack.

v0.9.1

Compare Source

This bugfix release changes the Table Headers API to accept []string for consistency with Row / Rows and downgrades Lip Gloss to Go version v1.17.

What's Changed

Full Changelog: charmbracelet/lipgloss@v0.9.0...v0.9.1

v0.9.0

Compare Source

My, how the tables have turned

Now you can draw Tables with Lip Gloss! 💅

image

View the source code.

Let's get started

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

Define some rows of data.

rows := [][]string{
    {"Chinese", "您好", "你好"},
    {"Japanese", "こんにちは", "やあ"},
    {"Arabic", "أهلين", "أهلا"},
    {"Russian", "Здравствуйте", "Привет"},
    {"Spanish", "Hola", "¿Qué tal?"},
}

Use the table package to style and render the table.

t := table.New().
    Border(lipgloss.NormalBorder()).
    BorderStyle(lipgloss.NewStyle().Foreground(lipgloss.Color("99"))).
    StyleFunc(func(row, col int) lipgloss.Style {
        switch {
        case row == 0:
            return HeaderStyle
        case row%2 == 0:
            return EvenRowStyle
        default:
            return OddRowStyle
        }
    }).
    Headers("LANGUAGE", "FORMAL", "INFORMAL").
    Rows(rows...)

// You can also add tables row-by-row
t.Row("English", "You look absolutely fabulous.", "How's it going?")

Print the table.

fmt.Println(t)
Table example

For more on tables see the examples.

Additional Borders

Lip Gloss' Border now supports additional middle border separators.

type Border struct {
    // ...
    MiddleLeft   string
    MiddleRight  string
    Middle       string
    MiddleTop    string
    MiddleBottom string
}
cloudflare/circl (github.com/cloudflare/circl)

v1.3.8: CIRCL v1.3.8

Compare Source

CIRCL v1.3.8

New

  • BLS Signatures on top of BLS12-381.
  • Adopt faster squaring in pairings.
  • BlindRSA compliant with RFC9474.
  • (Verifiable) Secret Sharing compatible with the Group interface (elliptic curves).

Notice

What's Changed
New Contributors

Full Changelog: cloudflare/circl@v1.3.7...v1.3.8

cyphar/filepath-securejoin (github.com/cyphar/filepath-securejoin)

v0.2.5

Compare Source

This release makes some minor improvements to SecureJoin:

  • Some changes were made to how lexical components are handled during
    resolution. There is no change in behaviour, and both implementations
    are safe, however the newer implementation is much easier to reason
    about.

  • The error returned when a symlink loop has been detected will now
    reference the correct path. #​10

Signed-off-by: Aleksa Sarai [email protected]

djherbis/times (github.com/djherbis/times)

v1.6.0: Linux btime

Compare Source

Big thanks to @​mateusz834 for adding this support in https://github.com/djherbis/times/pull/13

And @​gildesmarais for reminding me to merge the PR

fsnotify/fsnotify (github.com/fsnotify/fsnotify)

v1.7.0

Compare Source

This version of fsnotify needs Go 1.17.

Additions
  • illumos: add FEN backend to support illumos and Solaris. (#​371)

  • all: add NewBufferedWatcher() to use a buffered channel, which can be useful in cases where you can't control the kernel buffer and receive a large number of events in bursts. (#​550, #​572)

  • all: add AddWith(), which is identical to Add() but allows passing options. (#​521)

  • windows: allow setting the ReadDirectoryChangesW() buffer size with fsnotify.WithBufferSize(); the default of 64K is the highest value that works on all platforms and is enough for most purposes, but in some cases a highest buffer is needed. (#​521)

Changes and fixes
  • inotify: remove watcher if a watched path is renamed (#​518)

    After a rename the reported name wasn't updated, or even an empty string. Inotify doesn't provide any good facilities to update it, so just remove the watcher. This is already how it worked on kqueue and FEN.

    On Windows this does work, and remains working.

  • windows: don't listen for file attribute changes (#​520)

    File attribute changes are sent as FILE_ACTION_MODIFIED by the Windows API, with no way to see if they're a file write or attribute change, so would show up as a fsnotify.Write event. This is never useful, and could result in many spurious Write events.

  • windows: return ErrEventOverflow if the buffer is full (#​525)

    Before it would merely return "short read", making it hard to detect this error.

  • kqueue: make sure events for all files are delivered properly when removing a watched directory (#​526)

    Previously they would get sent with "" (empty string) or "." as the path name.

  • kqueue: don't emit spurious Create events for symbolic links (#​524)

    The link would get resolved but kqueue would "forget" it already saw the link itself, resulting on a Create for every Write event for the directory.

  • all: return ErrClosed on Add() when the watcher is closed (#​516)

  • other: add Watcher.Errors and Watcher.Events to the no-op Watcher in backend_other.go, making it easier to use on unsupported platforms such as WASM, AIX, etc. (#​528)

  • other: use the backend_other.go no-op if the appengine build tag is set; Google AppEngine forbids usage of the unsafe package so the inotify backend won't compile there.

go-git/go-git (github.com/go-git/go-git/v5)

v5.12.0

Compare Source

What's Changed

New Contributors


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by Renovate Bot.

@platform-engineering-bot
Copy link
Collaborator Author

platform-engineering-bot commented Jan 15, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
/bin/sh: line 1: go: command not found

@platform-engineering-bot platform-engineering-bot force-pushed the renovate/go-updates branch 12 times, most recently from 90abe9b to 5614bf7 Compare January 23, 2024 22:12
@platform-engineering-bot platform-engineering-bot force-pushed the renovate/go-updates branch 9 times, most recently from 94c43c6 to cfe2478 Compare January 30, 2024 11:10
@platform-engineering-bot platform-engineering-bot force-pushed the renovate/go-updates branch 8 times, most recently from 7e6edfe to 7c8b290 Compare February 5, 2024 17:12
@platform-engineering-bot platform-engineering-bot force-pushed the renovate/go-updates branch 10 times, most recently from ac96020 to 734dd0f Compare April 19, 2024 05:06
@platform-engineering-bot platform-engineering-bot force-pushed the renovate/go-updates branch 5 times, most recently from f0b24e1 to 5904688 Compare April 24, 2024 23:27
@platform-engineering-bot platform-engineering-bot force-pushed the renovate/go-updates branch 11 times, most recently from 252fc7a to 89adc0b Compare May 3, 2024 08:09
@platform-engineering-bot platform-engineering-bot force-pushed the renovate/go-updates branch 2 times, most recently from 8c8a1cb to 6210d31 Compare May 5, 2024 13:29
Signed-off-by: Platform Engineering Bot <[email protected]>
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