Breaking Changes
- Drop support for Python 3.7.
- [events]
FileSystemEvent, and subclasses, are now dataclasses, and their repr() has changed
- [windows]
WinAPINativeEvent is now a dataclass, and its repr() has changed
- [windows] The
observers.read_directory_changes.WATCHDOG_TRAVERSE_MOVED_DIR_DELAY hack was removed. The constant will be kept to prevent breaking other softwares.
Other Changes
- Add support for Python 3.12.
- [snapshot] Add typing to
dirsnapshot (#1012)
- [snapshot] Added
DirectorySnapshotDiff.ContextManager (#1011)
- [events] Log
FileOpenedEvent, and FileClosedEvent, events in LoggingEventHandler
- [tests] Improve
FileSystemEvent coverage
- [watchmedo] Log all events in
LoggerTrick
💟 Thanks to our beloved contributors: @BoboTiG, @msabramo