You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2023/10/23 00:53:38 UTC

[PR] chore(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 [camel-k]

dependabot[bot] opened a new pull request, #4842:
URL: https://github.com/apache/camel-k/pull/4842

   Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.6.0 to 1.7.0.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/fsnotify/fsnotify/releases">github.com/fsnotify/fsnotify's releases</a>.</em></p>
   <blockquote>
   <h2>v1.7.0</h2>
   <p>This version of fsnotify needs Go 1.17.</p>
   <h3>Additions</h3>
   <ul>
   <li>
   <p>illumos: add FEN backend to support illumos and Solaris. (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/371">#371</a>)</p>
   </li>
   <li>
   <p>all: add <code>NewBufferedWatcher()</code> 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. (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/550">#550</a>, <a href="https://redirect.github.com/fsnotify/fsnotify/issues/572">#572</a>)</p>
   </li>
   <li>
   <p>all: add <code>AddWith()</code>, which is identical to <code>Add()</code> but allows passing options. (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/521">#521</a>)</p>
   </li>
   <li>
   <p>windows: allow setting the ReadDirectoryChangesW() buffer size with <code>fsnotify.WithBufferSize()</code>; 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. (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/521">#521</a>)</p>
   </li>
   </ul>
   <h3>Changes and fixes</h3>
   <ul>
   <li>
   <p>inotify: remove watcher if a watched path is renamed (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/518">#518</a>)</p>
   <p>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.</p>
   <p>On Windows this does work, and remains working.</p>
   </li>
   <li>
   <p>windows: don't listen for file attribute changes (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/520">#520</a>)</p>
   <p>File attribute changes are sent as <code>FILE_ACTION_MODIFIED</code> 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.</p>
   </li>
   <li>
   <p>windows: return <code>ErrEventOverflow</code> if the buffer is full (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/525">#525</a>)</p>
   <p>Before it would merely return &quot;short read&quot;, making it hard to detect this error.</p>
   </li>
   <li>
   <p>kqueue: make sure events for all files are delivered properly when removing a watched directory (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/526">#526</a>)</p>
   <p>Previously they would get sent with <code>&quot;&quot;</code> (empty string) or <code>&quot;.&quot;</code> as the path name.</p>
   </li>
   <li>
   <p>kqueue: don't emit spurious Create events for symbolic links (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/524">#524</a>)</p>
   <p>The link would get resolved but kqueue would &quot;forget&quot; it already saw the link itself, resulting on a Create for every Write event for the directory.</p>
   </li>
   <li>
   <p>all: return <code>ErrClosed</code> on <code>Add()</code> when the watcher is closed (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/516">#516</a>)</p>
   </li>
   <li>
   <p>other: add <code>Watcher.Errors</code> and <code>Watcher.Events</code> to the no-op <code>Watcher</code> in <code>backend_other.go</code>, making it easier to use on unsupported platforms such as WASM, AIX, etc. (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/528">#528</a>)</p>
   </li>
   <li>
   <p>other: use the <code>backend_other.go</code> no-op if the <code>appengine</code> build tag is set; Google AppEngine forbids usage of the unsafe package so the inotify backend won't compile there.</p>
   </li>
   </ul>
   <p><a href="https://redirect.github.com/fsnotify/fsnotify/issues/371">#371</a>: <a href="https://redirect.github.com/fsnotify/fsnotify/pull/371">fsnotify/fsnotify#371</a>
   <a href="https://redirect.github.com/fsnotify/fsnotify/issues/516">#516</a>: <a href="https://redirect.github.com/fsnotify/fsnotify/pull/516">fsnotify/fsnotify#516</a>
   <a href="https://redirect.github.com/fsnotify/fsnotify/issues/518">#518</a>: <a href="https://redirect.github.com/fsnotify/fsnotify/pull/518">fsnotify/fsnotify#518</a>
   <a href="https://redirect.github.com/fsnotify/fsnotify/issues/520">#520</a>: <a href="https://redirect.github.com/fsnotify/fsnotify/pull/520">fsnotify/fsnotify#520</a>
   <a href="https://redirect.github.com/fsnotify/fsnotify/issues/521">#521</a>: <a href="https://redirect.github.com/fsnotify/fsnotify/pull/521">fsnotify/fsnotify#521</a>
   <a href="https://redirect.github.com/fsnotify/fsnotify/issues/524">#524</a>: <a href="https://redirect.github.com/fsnotify/fsnotify/pull/524">fsnotify/fsnotify#524</a>
   <a href="https://redirect.github.com/fsnotify/fsnotify/issues/525">#525</a>: <a href="https://redirect.github.com/fsnotify/fsnotify/pull/525">fsnotify/fsnotify#525</a></p>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a href="https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md">github.com/fsnotify/fsnotify's changelog</a>.</em></p>
   <blockquote>
   <h2>1.7.0 - 2023-10-22</h2>
   <p>This version of fsnotify needs Go 1.17.</p>
   <h3>Additions</h3>
   <ul>
   <li>
   <p>illumos: add FEN backend to support illumos and Solaris. (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/371">#371</a>)</p>
   </li>
   <li>
   <p>all: add <code>NewBufferedWatcher()</code> 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. (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/550">#550</a>, <a href="https://redirect.github.com/fsnotify/fsnotify/issues/572">#572</a>)</p>
   </li>
   <li>
   <p>all: add <code>AddWith()</code>, which is identical to <code>Add()</code> but allows passing
   options. (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/521">#521</a>)</p>
   </li>
   <li>
   <p>windows: allow setting the ReadDirectoryChangesW() buffer size with
   <code>fsnotify.WithBufferSize()</code>; 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. (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/521">#521</a>)</p>
   </li>
   </ul>
   <h3>Changes and fixes</h3>
   <ul>
   <li>
   <p>inotify: remove watcher if a watched path is renamed (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/518">#518</a>)</p>
   <p>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.</p>
   <p>On Windows this does work, and remains working.</p>
   </li>
   <li>
   <p>windows: don't listen for file attribute changes (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/520">#520</a>)</p>
   <p>File attribute changes are sent as <code>FILE_ACTION_MODIFIED</code> 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.</p>
   </li>
   <li>
   <p>windows: return <code>ErrEventOverflow</code> if the buffer is full (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/525">#525</a>)</p>
   <p>Before it would merely return &quot;short read&quot;, making it hard to detect this
   error.</p>
   </li>
   <li>
   <p>kqueue: make sure events for all files are delivered properly when removing a
   watched directory (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/526">#526</a>)</p>
   <p>Previously they would get sent with <code>&quot;&quot;</code> (empty string) or <code>&quot;.&quot;</code> as the path
   name.</p>
   </li>
   <li>
   <p>kqueue: don't emit spurious Create events for symbolic links (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/524">#524</a>)</p>
   </li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/cfc9c4f277ea6ec18de92444b31983b183deb4fb"><code>cfc9c4f</code></a> Few more tiny doc fixes &gt;_&lt;</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/c3fa8e6aec899190d480cf528805e4fd56b6f471"><code>c3fa8e6</code></a> Proof-read some docs and prepare 1.7.0 release</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/5310461a23597e8c33c38f8480df6bc0cfb17d8d"><code>5310461</code></a> Remove stray trailing space in doc comment</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/f01d91ef9041dad03899f17ee5ff3a5bbff5bee0"><code>f01d91e</code></a> Add NewBufferedWatcher() (<a href="https://redirect.github.com/fsnotify/fsnotify/issues/572">#572</a>)</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/e545940fac9df92cddc595b59df2f9ed0efbed54"><code>e545940</code></a> Merge pull request <a href="https://redirect.github.com/fsnotify/fsnotify/issues/589">#589</a> from fsnotify/win-rm</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/c86f21c72aa1c788735bce93fced3754a30e658b"><code>c86f21c</code></a> Document and test removing watched directory on Windows</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/68111f2a22d3e92d8dd25e28d93c7bac00f501b4"><code>68111f2</code></a> Merge pull request <a href="https://redirect.github.com/fsnotify/fsnotify/issues/588">#588</a> from fsnotify/illumos</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/0614185d4243e5a44a202fbef40c69ba648c7d9a"><code>0614185</code></a> Add back illumos</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/2f2332a11bd8852d7022b59230de919a7ed7a215"><code>2f2332a</code></a> Idiomatic bitwise operations</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/769aaa711e02e54262e771dcfafecd14bb112ab8"><code>769aaa7</code></a> Tweak docs</li>
   <li>Additional commits viewable in <a href="https://github.com/fsnotify/fsnotify/compare/v1.6.0...v1.7.0">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/fsnotify/fsnotify&package-manager=go_modules&previous-version=1.6.0&new-version=1.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   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-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   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)
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez merged PR #4842:
URL: https://github.com/apache/camel-k/pull/4842


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org