Skip to content

Commit 727b9d2

Browse files
fix(deps): update module github.com/fsnotify/fsnotify to v1.7.0 (#981)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/fsnotify/fsnotify](https://togithub.com/fsnotify/fsnotify) | require | minor | `v1.6.0` -> `v1.7.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>fsnotify/fsnotify (github.com/fsnotify/fsnotify)</summary> ### [`v1.7.0`](https://togithub.com/fsnotify/fsnotify/releases/tag/v1.7.0) [Compare Source](https://togithub.com/fsnotify/fsnotify/compare/v1.6.0...v1.7.0) This version of fsnotify needs Go 1.17. ##### Additions - illumos: add FEN backend to support illumos and Solaris. ([#&#8203;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. ([#&#8203;550], [#&#8203;572]) - all: add `AddWith()`, which is identical to `Add()` but allows passing options. ([#&#8203;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. ([#&#8203;521]) ##### Changes and fixes - inotify: remove watcher if a watched path is renamed ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;526]) Previously they would get sent with `""` (empty string) or `"."` as the path name. - kqueue: don't emit spurious Create events for symbolic links ([#&#8203;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 ([#&#8203;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. ([#&#8203;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. [#&#8203;371]: https://togithub.com/fsnotify/fsnotify/pull/371 [#&#8203;516]: https://togithub.com/fsnotify/fsnotify/pull/516 [#&#8203;518]: https://togithub.com/fsnotify/fsnotify/pull/518 [#&#8203;520]: https://togithub.com/fsnotify/fsnotify/pull/520 [#&#8203;521]: https://togithub.com/fsnotify/fsnotify/pull/521 [#&#8203;524]: https://togithub.com/fsnotify/fsnotify/pull/524 [#&#8203;525]: https://togithub.com/fsnotify/fsnotify/pull/525 [#&#8203;526]: https://togithub.com/fsnotify/fsnotify/pull/526 [#&#8203;528]: https://togithub.com/fsnotify/fsnotify/pull/528 [#&#8203;537]: https://togithub.com/fsnotify/fsnotify/pull/537 [#&#8203;550]: https://togithub.com/fsnotify/fsnotify/pull/550 [#&#8203;572]: https://togithub.com/fsnotify/fsnotify/pull/572 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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/open-feature/flagd). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 47cd559 commit 727b9d2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

core/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/bufbuild/connect-go v1.10.0
1010
github.com/bufbuild/connect-opentelemetry-go v0.4.0
1111
github.com/diegoholiveira/jsonlogic/v3 v3.3.2
12-
github.com/fsnotify/fsnotify v1.6.0
12+
github.com/fsnotify/fsnotify v1.7.0
1313
github.com/golang/mock v1.6.0
1414
github.com/open-feature/open-feature-operator v0.2.36
1515
github.com/open-feature/schemas v0.2.8

core/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,8 @@ github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJ
468468
github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4=
469469
github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY=
470470
github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw=
471+
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
472+
github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
471473
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
472474
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
473475
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=

0 commit comments

Comments
 (0)