[events] FileSystemEvent, and subclasses, are now dataclasses, and their repr() has changed
[windows] WinAPINativeEvent is now a dataclass, and its repr() has changed
[events] Log FileOpenedEvent, and FileClosedEvent, events in LoggingEventHandler
[tests] Improve FileSystemEvent coverage
[watchmedo] Log all events in LoggerTrick
[windows] The observers.read_directory_changes.WATCHDOG_TRAVERSE_MOVED_DIR_DELAY hack was removed. The constant will be kept to prevent breaking other softwares.
[events] FileSystemEvent, and subclasses, are now dataclasses, and their repr() has changed
[windows] WinAPINativeEvent is now a dataclass, and its repr() has changed
[events] Log FileOpenedEvent, and FileClosedEvent, events in LoggingEventHandler
[tests] Improve FileSystemEvent coverage
[watchmedo] Log all events in LoggerTrick
[windows] The observers.read_directory_changes.WATCHDOG_TRAVERSE_MOVED_DIR_DELAY hack was removed. The constant will be kept to prevent breaking other softwares.
2023-03-20 • full history <https://github.com/gorakhargosh/watchdog/compare/v2.3.1...v3.0.0>__
Drop support for Python 3.6.
watchdog is now PEP 561 compatible, and tested with mypy
Fix missing > in FileSystemEvent.__repr__() ([#980](https://github.com/gorakhargosh/watchdog/issues/980) <https://github.com/gorakhargosh/watchdog/pull/980>__)
[ci] Lots of improvements
[inotify] Return from InotifyEmitter.queue_events() if not launched when thread is inactive ([#963](https://github.com/gorakhargosh/watchdog/issues/963) <https://github.com/gorakhargosh/watchdog/pull/963>__)
[tests] Stability improvements
[utils] Remove handling of threading.Event.isSet spelling ([#962](https://github.com/gorakhargosh/watchdog/issues/962) <https://github.com/gorakhargosh/watchdog/pull/962>__)
2023-02-28 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.3.0...v2.3.1>`__
Run black on the entire source code
Bundle the requirements-tests.txt file in the source distribution ([#939](https://github.com/gorakhargosh/watchdog/issues/939) <https://github.com/gorakhargosh/watchdog/pull/939>__)
[watchmedo] Exclude FileOpenedEvent events from AutoRestartTrick, and ShellCommandTrick, to restore watchdog < 2.3.0 behavior. A better solution should be found in the future. ([#949](https://github.com/gorakhargosh/watchdog/issues/949) <https://github.com/gorakhargosh/watchdog/pull/949>__)
[watchmedo] Log FileOpenedEvent, and FileClosedEvent, events in LoggerTrick
2023-02-23 • full history <https://github.com/gorakhargosh/watchdog/compare/v2.2.1...v2.3.0>__
[inotify] Add support for IN_OPEN events: a FileOpenedEvent event will be fired ([#941](https://github.com/gorakhargosh/watchdog/issues/941) <https://github.com/gorakhargosh/watchdog/pull/941>__)
[watchmedo] Add optional event debouncing for auto-restart, only restarting once if many events happen in quick succession (--debounce-interval) ([#940](https://github.com/gorakhargosh/watchdog/issues/940) <https://github.com/gorakhargosh/watchdog/pull/940>__)
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 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)
Updates the requirements on watchdog to permit the latest version.
Release notes
Sourced from watchdog's releases.
Changelog
Sourced from watchdog's changelog.
... (truncated)
Commits
7d651ac
Version 4.0.06cdf07e
chore: Update supported Python versions (drop 3.7, add 3.12) (#1017)6cfe9cc
fix: mypy "type: ignore" comment errors (#1016)e4e2f8e
style: run black & isort on inotify (#1015)52d8692
feat: AddDirectorySnapshotDiff.ContextManager
(#1011)2338837
fix: mypy errors introduced by #1012 (#1014)5f9d93c
feat: Add typing todirsnapshot
(#1012)75a3289
doc: log the watched folder in the README (#995)48c49a1
Added event filter for the emitter (#989)363fe62
[windows] Remove theWATCHDOG_TRAVERSE_MOVED_DIR_DELAY
hack (#986)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