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

Bump github.com/fsnotify/fsnotify from 1.6.0 to 1.8.0 in /exporter/prometheusremotewriteexporter #26537

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 4, 2024

Bumps github.com/fsnotify/fsnotify from 1.6.0 to 1.8.0.

Release notes

Sourced from github.com/fsnotify/fsnotify's releases.

v1.8.0

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

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.

... (truncated)

Changelog

Sourced from github.com/fsnotify/fsnotify's changelog.

1.8.0 2023-10-31

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)

#590: fsnotify/fsnotify#590 #610: fsnotify/fsnotify#610 #617: fsnotify/fsnotify#617 #619: fsnotify/fsnotify#619 #620: fsnotify/fsnotify#620 #621: fsnotify/fsnotify#621 #625: fsnotify/fsnotify#625 #650: fsnotify/fsnotify#650

1.7.0 - 2023-10-22

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

... (truncated)

Commits

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.6.0 to 1.8.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](fsnotify/fsnotify@v1.6.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 4, 2024
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.

0 participants