You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/10/17 12:04:56 UTC

[GitHub] [dubbo-go] dependabot[bot] opened a new pull request, #2081: build(deps): bump github.com/fsnotify/fsnotify from 1.5.4 to 1.6.0

dependabot[bot] opened a new pull request, #2081:
URL: https://github.com/apache/dubbo-go/pull/2081

   Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.5.4 to 1.6.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.6.0</h2>
   <p>This version of fsnotify needs Go 1.16 (this was already the case since 1.5.1, but not documented). It also increases the minimum Linux version to 2.6.32.</p>
   <h3>Additions</h3>
   <ul>
   <li>
   <p>all: add <code>Event.Has()</code> and <code>Op.Has()</code> (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/477">#477</a>)</p>
   <p>This makes checking events a lot easier; for example:</p>
   <pre><code>if event.Op&amp;Write == Write &amp;&amp; !(event.Op&amp;Remove == Remove) {
   }
   </code></pre>
   <p>Becomes:</p>
   <pre><code>if event.Has(Write) &amp;&amp; !event.Has(Remove) {
   }
   </code></pre>
   </li>
   <li>
   <p>all: add cmd/fsnotify (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/463">#463</a>)</p>
   <p>A command-line utility for testing and some examples.</p>
   </li>
   </ul>
   <h3>Changes and fixes</h3>
   <ul>
   <li>
   <p>inotify: don't ignore events for files that don't exist (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/260">#260</a>, <a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/470">#470</a>)</p>
   <p>Previously the inotify watcher would call <code>os.Lstat()</code> to check if a file still exists before emitting events.</p>
   <p>This was inconsistent with other platforms and resulted in inconsistent event reporting (e.g. when a file is quickly removed and re-created), and generally a source of confusion. It was added in 2013 to fix a memory leak that no longer exists.</p>
   </li>
   <li>
   <p>all: return <code>ErrNonExistentWatch</code> when <code>Remove()</code> is called on a path that's
   not watched (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/460">#460</a>)</p>
   </li>
   <li>
   <p>inotify: replace epoll() with non-blocking inotify (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/434">#434</a>)</p>
   <p>Non-blocking inotify was not generally available at the time this library was written in 2014, but now it is. As a result, the minimum Linux version is bumped from 2.6.27 to 2.6.32. This hugely simplifies the code and is faster.</p>
   </li>
   <li>
   <p>kqueue: don't check for events every 100ms (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/480">#480</a>)</p>
   <p>The watcher would wake up every 100ms, even when there was nothing to do. Now it waits until there is something to do.</p>
   </li>
   <li>
   <p>macos: retry opening files on EINTR (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/475">#475</a>)</p>
   </li>
   <li>
   <p>kqueue: skip unreadable files (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/479">#479</a>)</p>
   <p>kqueue requires a file descriptor for every file in a directory; this would fail if a file was unreadable by the current user. Now these files are simply skipped.</p>
   </li>
   <li>
   <p>windows: fix renaming a watched directory if the parent is also watched (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/370">#370</a>)</p>
   </li>
   <li>
   <p>windows: increase buffer size from 4K to 64K (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/485">#485</a>)</p>
   </li>
   </ul>
   <!-- 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.6.0] - 2022-10-13</h2>
   <p>This version of fsnotify needs Go 1.16 (this was already the case since 1.5.1,
   but not documented). It also increases the minimum Linux version to 2.6.32.</p>
   <h3>Additions</h3>
   <ul>
   <li>
   <p>all: add <code>Event.Has()</code> and <code>Op.Has()</code> (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/477">#477</a>)</p>
   <p>This makes checking events a lot easier; for example:</p>
   <pre><code>if event.Op&amp;Write == Write &amp;&amp; !(event.Op&amp;Remove == Remove) {
   }
   </code></pre>
   <p>Becomes:</p>
   <pre><code>if event.Has(Write) &amp;&amp; !event.Has(Remove) {
   }
   </code></pre>
   </li>
   <li>
   <p>all: add cmd/fsnotify (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/463">#463</a>)</p>
   <p>A command-line utility for testing and some examples.</p>
   </li>
   </ul>
   <h3>Changes and fixes</h3>
   <ul>
   <li>
   <p>inotify: don't ignore events for files that don't exist (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/260">#260</a>, <a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/470">#470</a>)</p>
   <p>Previously the inotify watcher would call <code>os.Lstat()</code> to check if a file
   still exists before emitting events.</p>
   <p>This was inconsistent with other platforms and resulted in inconsistent event
   reporting (e.g. when a file is quickly removed and re-created), and generally
   a source of confusion. It was added in 2013 to fix a memory leak that no
   longer exists.</p>
   </li>
   <li>
   <p>all: return <code>ErrNonExistentWatch</code> when <code>Remove()</code> is called on a path that's
   not watched (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/460">#460</a>)</p>
   </li>
   <li>
   <p>inotify: replace epoll() with non-blocking inotify (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/434">#434</a>)</p>
   <p>Non-blocking inotify was not generally available at the time this library was
   written in 2014, but now it is. As a result, the minimum Linux version is
   bumped from 2.6.27 to 2.6.32. This hugely simplifies the code and is faster.</p>
   </li>
   <li>
   <p>kqueue: don't check for events every 100ms (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/480">#480</a>)</p>
   <p>The watcher would wake up every 100ms, even when there was nothing to do. Now
   it waits until there is something to do.</p>
   </li>
   <li>
   <p>macos: retry opening files on EINTR (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/475">#475</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/5f8c606accbcc6913853fe7e083ee461d181d88d"><code>5f8c606</code></a> Update ChangeLog</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/887858705e35407d7482aec89ebbbec5fc884d07"><code>8878587</code></a> Tweak the docs a bit</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/89b4cf13a78441b79b86eeea2ff309bf95bdbf66"><code>89b4cf1</code></a> Add test for re-adding a renamed file (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/508">#508</a>)</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/85acde25252d3a042b11a58e13e53b2b9ac343de"><code>85acde2</code></a> Update x/sys</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/69c24b06955365cb4608755b764d87f0288ad39f"><code>69c24b0</code></a> Update x/sys</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/fb07f82ddf75d51f2ee7c3cdc7d02dedd3d90986"><code>fb07f82</code></a> Add test to see what happens if you watch a symlink (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/498">#498</a>)</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/666da9ca04f071bd0134ce52f95e11577085fe25"><code>666da9c</code></a> Clarify doc comment on WatchList() (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/499">#499</a>)</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/123e4e32a5d83007b51d0695b08a7b82f5d78302"><code>123e4e3</code></a> Add note about README version</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/61a05ce2c490294c9f945bf93cdc3340d67fb0e2"><code>61a05ce</code></a> Update documentation and examples (<a href="https://github-redirect.dependabot.com/fsnotify/fsnotify/issues/496">#496</a>)</li>
   <li><a href="https://github.com/fsnotify/fsnotify/commit/e180a87abd14c3ba3929d07273989b5ab913ea18"><code>e180a87</code></a> Move some inotify-tests to run on all backends; test that state is cleaned up...</li>
   <li>Additional commits viewable in <a href="https://github.com/fsnotify/fsnotify/compare/v1.5.4...v1.6.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.5.4&new-version=1.6.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 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: notifications-unsubscribe@dubbo.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] AlexStocks merged pull request #2081: build(deps): bump github.com/fsnotify/fsnotify from 1.5.4 to 1.6.0

Posted by GitBox <gi...@apache.org>.
AlexStocks merged PR #2081:
URL: https://github.com/apache/dubbo-go/pull/2081


-- 
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: notifications-unsubscribe@dubbo.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org