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

deps(api): update module github.com/fsnotify/fsnotify to v1.7.0 #1592

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 26, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/fsnotify/fsnotify v1.6.0 -> v1.7.0 age adoption passing confidence

Release Notes

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.


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 Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/github.com-fsnotify-fsnotify-1.x branch from a794787 to 4f875e1 Compare October 27, 2023 02:01
@renovate renovate bot force-pushed the renovate/github.com-fsnotify-fsnotify-1.x branch from 4f875e1 to 37b3a13 Compare November 6, 2023 00:05
@renovate renovate bot force-pushed the renovate/github.com-fsnotify-fsnotify-1.x branch 2 times, most recently from cc0a588 to ca1917d Compare November 11, 2023 00:20
@renovate renovate bot force-pushed the renovate/github.com-fsnotify-fsnotify-1.x branch from ca1917d to 4b526f9 Compare November 16, 2023 12:12
@renovate renovate bot force-pushed the renovate/github.com-fsnotify-fsnotify-1.x branch from 4b526f9 to fbc13d5 Compare December 2, 2023 00:35
@codecov-commenter
Copy link

codecov-commenter commented Dec 2, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.61%. Comparing base (5df1a25) to head (04eaad4).

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1592       +/-   ##
===========================================
+ Coverage   33.48%   52.61%   +19.13%     
===========================================
  Files         353      359        +6     
  Lines       20262    20402      +140     
  Branches      484      484               
===========================================
+ Hits         6785    10735     +3950     
+ Misses      13007     9047     -3960     
- Partials      470      620      +150     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/github.com-fsnotify-fsnotify-1.x branch from fbc13d5 to faa44fd Compare January 5, 2024 23:27
@renovate renovate bot force-pushed the renovate/github.com-fsnotify-fsnotify-1.x branch from faa44fd to b549426 Compare January 28, 2024 13:40
@renovate renovate bot force-pushed the renovate/github.com-fsnotify-fsnotify-1.x branch from b549426 to 009d853 Compare February 25, 2024 09:07
@renovate renovate bot force-pushed the renovate/github.com-fsnotify-fsnotify-1.x branch from 009d853 to 04eaad4 Compare March 5, 2024 00:59
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.

None yet

1 participant