Skip to content
This repository has been archived by the owner on Jul 14, 2024. It is now read-only.

feat(go): update go group (minor) #34

Merged
merged 1 commit into from
May 31, 2024
Merged

feat(go): update go group (minor) #34

merged 1 commit into from
May 31, 2024

Conversation

ullberg-github-app[bot]
Copy link

@ullberg-github-app ullberg-github-app bot commented May 31, 2024

This PR contains the following updates:

Package Type Update Change
github.com/chi-middleware/logrus-logger require minor v0.2.0 -> v0.3.0
github.com/fsnotify/fsnotify require minor v1.5.4 -> v1.7.0
github.com/matoous/go-nanoid/v2 require minor v2.0.0 -> v2.1.0
github.com/onrik/logrus require minor v0.9.0 -> v0.11.0
github.com/spf13/viper require minor v1.13.0 -> v1.18.2
k8s.io/api require minor v0.25.16 -> v0.30.1
k8s.io/apimachinery require minor v0.25.16 -> v0.30.1
k8s.io/client-go require minor v0.25.16 -> v0.30.1

Release Notes

chi-middleware/logrus-logger (github.com/chi-middleware/logrus-logger)

v0.3.0

Compare Source

What's Changed

New Contributors

Full Changelog: chi-middleware/logrus-logger@v0.2.0...v0.3.0

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.

v1.6.0

Compare Source

This version of fsnotify needs Go 1.16 (this was already the case since 1.5.1, but not documented). It also increases the minimum Linux version to 2.6.32.

Additions
  • all: add Event.Has() and Op.Has() (#​477)

    This makes checking events a lot easier; for example:

      if event.Op&Write == Write && !(event.Op&Remove == Remove) {
      }
    

    Becomes:

      if event.Has(Write) && !event.Has(Remove) {
      }
    
  • all: add cmd/fsnotify (#​463)

    A command-line utility for testing and some examples.

Changes and fixes
  • inotify: don't ignore events for files that don't exist (#​260, #​470)

    Previously the inotify watcher would call os.Lstat() to check if a file still exists before emitting events.

    This was inconsistent with other platforms and resulted in inconsistent event reporting (e.g. when a file is quickly removed and re-created), and generally a source of confusion. It was added in 2013 to fix a memory leak that no longer exists.

  • all: return ErrNonExistentWatch when Remove() is called on a path that's
    not watched (#​460)

  • inotify: replace epoll() with non-blocking inotify (#​434)

    Non-blocking inotify was not generally available at the time this library was written in 2014, but now it is. As a result, the minimum Linux version is bumped from 2.6.27 to 2.6.32. This hugely simplifies the code and is faster.

  • kqueue: don't check for events every 100ms (#​480)

    The watcher would wake up every 100ms, even when there was nothing to do. Now it waits until there is something to do.

  • macos: retry opening files on EINTR (#​475)

  • kqueue: skip unreadable files (#​479)

    kqueue requires a file descriptor for every file in a directory; this would fail if a file was unreadable by the current user. Now these files are simply skipped.

  • windows: fix renaming a watched directory if the parent is also watched (#​370)

  • windows: increase buffer size from 4K to 64K (#​485)

  • windows: close file handle on Remove() (#​288)

  • kqueue: put pathname in the error if watching a file fails (#​471)

  • inotify, windows: calling Close() more than once could race (#​465)

  • kqueue: improve Close() performance (#​233)

  • all: various documentation additions and clarifications.

matoous/go-nanoid (github.com/matoous/go-nanoid/v2)

v2.1.0

Compare Source

Last version of go-nanoid drops support for older Go versions. From now on we will maintain support for last 3 major versions (that is, right now the oldest supported version is v1.20). Other than that, a few small updates and dependency bumps, see changelog for more details.

What's Changed

New Contributors

Full Changelog: matoous/go-nanoid@v1.5.0...v2.1.0

onrik/logrus (github.com/onrik/logrus)

v0.11.0

Compare Source

v0.10.0

Compare Source

spf13/viper (github.com/spf13/viper)

v1.18.2

Compare Source

tl;dr Skip 1.18.0 and 1.18.1 and upgrade to this version instead.

This release fixes a regression that appears in rare circumstances when using Unmarshal or UnmarshalExact to decode values onto pointers with multiple indirection (eg. pointer to a pointer, etc). The change was introduced in 1.18.0 as a means to resolve a long-standing bug when decoding environment variables to structs.

The feature is now disabled by default and can be enabled using the viper_bind_struct build tag. It's also considered experimental at this point, so breaking changes may be introduced in the future.

What's Changed

Bug Fixes 🐛

Full Changelog: spf13/viper@v1.18.1...v1.18.2

v1.18.1

Compare Source

What's Changed

Bug Fixes 🐛

Full Changelog: spf13/viper@v1.18.0...v1.18.1

v1.18.0

Compare Source

Major changes

Highlighting some of the changes for better visibility.

Please share your feedback in the Discussion forum. Thanks! ❤️

AutomaticEnv works with Unmarshal

Previously, environment variables that weren't bound manually or had no defaults could not be mapped by Unmarshal. (The problem is explained in details in this issue: #​761)

#​1429 introduced a solution that solves that issue.

What's Changed

Enhancements 🚀
Bug Fixes 🐛
Dependency Updates ⬆️
Other Changes

New Contributors

Full Changelog: spf13/viper@v1.17.0...v1.18.0

v1.17.0

Compare Source

Major changes

Highlighting some of the changes for better visibility.

Please share your feedback in the Discussion forum. Thanks! ❤️

Minimum Go version: 1.19

Viper now requires Go 1.19

This change ensures we can stay up to date with modern practices and dependencies.

log/slog support [BREAKING]

Viper v1.11.0 added an experimental Logger interface to allow custom implementations (besides jwalterweatherman).

In addition, it also exposed an experimental WithLogger function allowing to set a custom logger.

This release deprecates that interface in favor of log/slog released in Go 1.21.

[!WARNING]
WithLogger accepts an *slog.Logger from now on.

To preserve backwards compatibility with older Go versions, prior to Go 1.21 Viper accepts a *golang.org/x/exp/slog.Logger.

The experimental flag is removed.

New finder implementation [BREAKING]

As of this release, Viper uses a new library to look for files, called locafero.

The new library is better covered by tests and has been built from scratch as a general purpose file finder library.

The implementation is experimental and is hidden behind a finder build tag.

[!WARNING]
The io/fs based implementation (that used to be hidden behind a finder build tag) has been removed.

What's Changed

Exciting New Features 🎉
Enhancements 🚀
Breaking Changes 🛠
Dependency Updates ⬆️
Other Changes

New Contributors

Full Changelog: spf13/viper@v1.16.0...v1.17.0

v1.16.0

Compare Source

What's Changed

Enhancements 🚀
Bug Fixes 🐛
Dependency Updates ⬆️
Other Changes

New Contributors

Full Changelog: spf13/viper@v1.15.0...v1.16.0

v1.15.0

Compare Source

What's Changed

Exciting New Features 🎉
Enhancements 🚀
Breaking Changes 🛠
Dependency Updates ⬆️

New Contributors

Full Changelog: spf13/viper@v1.14.0...v1.15.0

v1.14.0

Compare Source

What's Changed

Enhancements 🚀
Breaking Changes 🛠
Dependency Updates ⬆️

Full Changelog: spf13/viper@v1.13.0...v1.14.0

kubernetes/api (k8s.io/api)

v0.30.1

Compare Source

v0.30.0

Compare Source

v0.29.5

Compare Source

v0.29.4

Compare Source

v0.29.3

Compare Source

v0.29.2

Compare Source

v0.29.1

Compare Source

v0.29.0

Compare Source

v0.28.10

Compare Source

v0.28.9

Compare Source

v0.28.8

Compare Source

v0.28.7

Compare Source

v0.28.6

Compare Source

v0.28.5

Compare Source

v0.28.4

Compare Source

v0.28.3

Compare Source

v0.28.2

Compare Source

v0.28.1

Compare Source

v0.28.0

Compare Source

v0.27.14

Compare Source

v0.27.13

Compare Source

v0.27.12

Compare Source

v0.27.11

Compare Source

v0.27.10

Compare Source

v0.27.9

Compare Source

v0.27.8

Compare Source

v0.27.7

Compare Source

v0.27.6

Compare Source

v0.27.5

Compare Source

v0.27.4

Compare Source

v0.27.3

Compare Source

v0.27.2

Compare Source

v0.27.1

Compare Source

v0.27.0

Compare Source

v0.26.15

Compare Source

v0.26.14

Compare Source

v0.26.13

Compare Source

v0.26.12

Compare Source

v0.26.11

Compare Source

v0.26.10

Compare Source

v0.26.9

Compare Source

v0.26.8

Compare Source

v0.26.7

Compare Source

v0.26.6

Compare Source

v0.26.5

Compare Source

v0.26.4

Compare Source

v0.26.3

Compare Source

v0.26.2

Compare Source

v0.26.1

Compare Source

v0.26.0

Compare Source

kubernetes/apimachinery (k8s.io/apimachinery)

v0.30.1

Compare Source

v0.30.0

Compare Source

v0.29.5

Compare Source

v0.29.4

Compare Source

v0.29.3

Compare Source

v0.29.2

Compare Source

v0.29.1

Compare Source

v0.29.0

Compare Source

v0.28.10

Compare Source

v0.28.9

Compare Source

v0.28.8

Compare Source

v0.28.7

Compare Source

v0.28.6

Compare Source

v0.28.5

Compare Source

v0.28.4

Compare Source

v0.28.3

Compare Source

v0.28.2

Compare Source

v0.28.1

Compare Source

v0.28.0

Compare Source

v0.27.14

Compare Source

v0.27.13

Compare Source

v0.27.12

Compare Source

v0.27.11

Compare Source

v0.27.10

Compare Source

v0.27.9

Compare Source

v0.27.8

Compare Source

v0.27.7

Compare Source

v0.27.6

Compare Source

v0.27.5

Compare Source

v0.27.4

Compare Source

v0.27.3

Compare Source

v0.27.2

Compare Source

v0.27.1

Compare Source

v0.27.0

Compare Source

v0.26.15

Compare Source

v0.26.14

Compare Source

v0.26.13

Compare Source

v0.26.12

Compare Source

v0.26.11

Compare Source

v0.26.10

Compare Source

v0.26.9

Compare Source

v0.26.8

Compare Source

[`


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.

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

@ullberg-github-app
Copy link
Author

ullberg-github-app bot commented May 31, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 20 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.22 -> 1.22.0
github.com/sirupsen/logrus v1.9.2 -> v1.9.3
github.com/davecgh/go-spew v1.1.1 -> v1.1.2-0.20180830191138-d8f796af33cc
github.com/emicklei/go-restful/v3 v3.9.0 -> v3.11.0
github.com/go-logr/logr v1.2.3 -> v1.4.1
github.com/go-openapi/jsonpointer v0.19.5 -> v0.19.6
github.com/go-openapi/jsonreference v0.20.0 -> v0.20.2
github.com/golang/protobuf v1.5.2 -> v1.5.4
github.com/magiconair/properties v1.8.6 -> v1.8.7
github.com/pelletier/go-toml/v2 v2.0.5 -> v2.1.0
github.com/subosito/gotenv v1.4.1 -> v1.6.0
github.com/tidwall/gjson v1.14.3 -> v1.14.4
golang.org/x/net v0.17.0 -> v0.23.0
golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1 -> v0.15.0
golang.org/x/sys v0.13.0 -> v0.18.0
google.golang.org/protobuf v1.28.1 -> v1.33.0
k8s.io/klog/v2 v2.80.1 -> v2.120.1
k8s.io/kube-openapi v0.0.0-20220928191237-829ce0c27909 -> v0.0.0-20240228011516-70dd3763d340
k8s.io/utils v0.0.0-20220922133306-665eaaec4324 -> v0.0.0-20230726121419-3b25d923346b
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 -> v0.0.0-20221116044647-bc3834ca7abd
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 -> v4.4.1

@ullberg-github-app ullberg-github-app bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 31, 2024
| datasource | package                                 | from     | to      |
| ---------- | --------------------------------------- | -------- | ------- |
| go         | github.com/chi-middleware/logrus-logger | v0.2.0   | v0.3.0  |
| go         | github.com/fsnotify/fsnotify            | v1.5.4   | v1.7.0  |
| go         | github.com/matoous/go-nanoid/v2         | v2.0.0   | v2.1.0  |
| go         | github.com/onrik/logrus                 | v0.9.0   | v0.11.0 |
| go         | github.com/spf13/viper                  | v1.13.0  | v1.18.2 |
| go         | k8s.io/api                              | v0.25.16 | v0.30.1 |
| go         | k8s.io/apimachinery                     | v0.25.16 | v0.30.1 |
| go         | k8s.io/client-go                        | v0.25.16 | v0.30.1 |
@ullbergm ullbergm merged commit cb2ebac into main May 31, 2024
3 checks passed
@ullbergm ullbergm deleted the renovate/go branch May 31, 2024 14:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
renovate/go size/M Denotes a PR that changes 30-99 lines, ignoring generated files. type/minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant