fix(deps): update module github.com/fsnotify/fsnotify to v1.8.0 #2

Open
renovate wants to merge 1 commits from renovate/github.com-fsnotify-fsnotify-1.x into main
Member

This PR contains the following updates:

Package Type Update Change
github.com/fsnotify/fsnotify require minor v1.6.0 -> v1.8.0

Release Notes

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

v1.8.0

Compare Source

Additions

  • all: add FSNOTIFY_DEBUG to print debug logs to stderr (#​619)
Changes and fixes
  • windows: fix behaviour of WatchList() to be consistent with other platforms (#​610)

  • kqueue: ignore events with Ident=0 (#​590)

  • kqueue: set O_CLOEXEC to prevent passing file descriptors to children (#​617)

  • kqueue: emit events as "/path/dir/file" instead of "path/link/file" when watching a symlink (#​625)

  • inotify: don't send event for IN_DELETE_SELF when also watching the parent (#​620)

  • inotify: fix panic when calling Remove() in a goroutine (#​650)

  • fen: allow watching subdirectories of watched directories (#​621)

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.


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.


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

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) | require | minor | `v1.6.0` -> `v1.8.0` | --- ### Release Notes <details> <summary>fsnotify/fsnotify (github.com/fsnotify/fsnotify)</summary> ### [`v1.8.0`](https://github.com/fsnotify/fsnotify/releases/tag/v1.8.0) [Compare Source](https://github.com/fsnotify/fsnotify/compare/v1.7.0...v1.8.0) #### Additions - all: add `FSNOTIFY_DEBUG` to print debug logs to stderr ([#&#8203;619](https://github.com/fsnotify/fsnotify/issues/619)) ##### Changes and fixes - windows: fix behaviour of `WatchList()` to be consistent with other platforms ([#&#8203;610](https://github.com/fsnotify/fsnotify/issues/610)) - kqueue: ignore events with Ident=0 ([#&#8203;590](https://github.com/fsnotify/fsnotify/issues/590)) - kqueue: set O_CLOEXEC to prevent passing file descriptors to children ([#&#8203;617](https://github.com/fsnotify/fsnotify/issues/617)) - kqueue: emit events as "/path/dir/file" instead of "path/link/file" when watching a symlink ([#&#8203;625](https://github.com/fsnotify/fsnotify/issues/625)) - inotify: don't send event for IN_DELETE_SELF when also watching the parent ([#&#8203;620](https://github.com/fsnotify/fsnotify/issues/620)) - inotify: fix panic when calling Remove() in a goroutine ([#&#8203;650](https://github.com/fsnotify/fsnotify/issues/650)) - fen: allow watching subdirectories of watched directories ([#&#8203;621](https://github.com/fsnotify/fsnotify/issues/621)) ### [`v1.7.0`](https://github.com/fsnotify/fsnotify/releases/tag/v1.7.0) [Compare Source](https://github.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://github.com/fsnotify/fsnotify/pull/371 [#&#8203;516]: https://github.com/fsnotify/fsnotify/pull/516 [#&#8203;518]: https://github.com/fsnotify/fsnotify/pull/518 [#&#8203;520]: https://github.com/fsnotify/fsnotify/pull/520 [#&#8203;521]: https://github.com/fsnotify/fsnotify/pull/521 [#&#8203;524]: https://github.com/fsnotify/fsnotify/pull/524 [#&#8203;525]: https://github.com/fsnotify/fsnotify/pull/525 [#&#8203;526]: https://github.com/fsnotify/fsnotify/pull/526 [#&#8203;528]: https://github.com/fsnotify/fsnotify/pull/528 [#&#8203;537]: https://github.com/fsnotify/fsnotify/pull/537 [#&#8203;550]: https://github.com/fsnotify/fsnotify/pull/550 [#&#8203;572]: https://github.com/fsnotify/fsnotify/pull/572 </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 [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNiIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->
renovate added 1 commit 2024-11-20 03:07:06 +00:00
fix(deps): update module github.com/fsnotify/fsnotify to v1.8.0
All checks were successful
ZeroDownTime/fuse-device-plugin/pipeline/pr-main This commit looks good
f31e04691a
Author
Member

ℹ Artifact update notice

File name: src/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):

  • 1 additional dependency was updated

Details:

Package Change
golang.org/x/sys v0.10.0 -> v0.13.0
### ℹ Artifact update notice ##### File name: src/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): - 1 additional dependency was updated Details: | **Package** | **Change** | | :----------------- | :--------------------- | | `golang.org/x/sys` | `v0.10.0` -> `v0.13.0` |
All checks were successful
ZeroDownTime/fuse-device-plugin/pipeline/pr-main This commit looks good
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/github.com-fsnotify-fsnotify-1.x:renovate/github.com-fsnotify-fsnotify-1.x
git checkout renovate/github.com-fsnotify-fsnotify-1.x
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ZeroDownTime/fuse-device-plugin#2
No description provided.