Releases: gorakhargosh/watchdog
Releases · gorakhargosh/watchdog
6.0.0
Breaking Changes
- [inotify] Use of
select.poll()instead of deprecatedselect.select(), if available. (#1078) - [utils] Removed the unused
echo_class()function from theechomodule. - [utils] Removed the unused
echo_instancemethod()function from theechomodule. - [utils] Removed the unused
echo_module()function from theechomodule. - [utils] Removed the unused
is_class_private_name()function from theechomodule. - [utils] Removed the unused
is_classmethod()function from theechomodule. - [utils] Removed the unused
is_method(met()function from theechomodule. - [utils] Removed the unused
method_name()function from theechomodule. - [utils] Removed the unused
name()function from theechomodule. - [watchmedo] Removed the
--traceCLI argument from thewatchmedo logcommand, useless since events are logged by default at theLoggerTrickclass level.
Other Changes
- Pin test dependecies.
- [docs] Add typing info to quick start. (#1082)
- [inotify] Fix reading inotify file descriptor after closing it. (#1081)
- [utils] The
stop_signalkeyword-argument type of theAutoRestartTrickclass can now be either asignal.Signalsor anint. - [utils] Added the
__repr__()method to theTrickclass. - [watchmedo] Fixed Mypy issues.
- [watchmedo] Added the
__repr__()method to theHelpFormatterclass. - [windows] Fixed Mypy issues.
💟 Thanks to our beloved contributors: @g-pichler, @ethan-vanderheijden, @nhairs, @BoboTiG
5.0.3
5.0.2
5.0.1
5.0.0
Breaking Changes
- Drop support for Python 3.8 (#1055)
- [core] Enforced usage of proper keyword-arguments (#1057)
- [core] Renamed the
BaseObserverSubclassCallableclass toObserverType(#1055) - [inotify] Renamed the
inotify_event_structclass toInotifyEventStruct(#1055) - [inotify] Renamed the
UnsupportedLibcexception toUnsupportedLibcError(#1057) - [inotify] Removed the
InotifyConstants.IN_CLOSEconstant (#1046) - [watchmedo] Renamed the
LogLevelExceptionexception toLogLevelError(#1057) - [watchmedo] Renamed the
WatchdogShutdownexception toWatchdogShutdownError(#1057) - [windows] Renamed the
FILE_NOTIFY_INFORMATIONclass toFileNotifyInformation(#1055) - [windows] Removed the unused
WATCHDOG_TRAVERSE_MOVED_DIR_DELAYconstant (#1057)
Other Changes
- [core] Enable
disallow_untyped_callsMypy rule (#1055) - [core] Enable
disallow_untyped_defsMypy rule (#1060) - [core] Improve typing references for events (#1040)
- [inotify] Add support for
IN_CLOSE_NOWRITEevents. AFileClosedNoWriteEventevent will be fired, and itson_closed_no_write()dispatcher has been introduced (#1046)
💟 Thanks to our beloved contributors: @BoboTiG
4.0.2
- Add support for Python 3.13 (#1052)
- [core] Run
ruff, apply several fixes (#1033) - [core] Remove execution rights from
events.py - [documentation] Update
PatternMatchingEventHandlerdocstrings (#1048) - [documentation] Simplify the quickstart example (#1047)
- [fsevents] Add missing
event_filterkeyword-argument toFSEventsObserver.schedule()(#1049) - [utils] Fix a possible race condition in
AutoRestartTrick(#1002) - [watchmedo] Remove execution rights from
watchmedo.py
💟 Thanks to our beloved contributors: @BoboTiG, @nbelakovski, @ivg
4.0.1
4.0.0
Breaking Changes
- Drop support for Python 3.7.
- [events]
FileSystemEvent, and subclasses, are nowdataclasses, and theirrepr()has changed - [windows]
WinAPINativeEventis now adataclass, and itsrepr()has changed - [windows] The
observers.read_directory_changes.WATCHDOG_TRAVERSE_MOVED_DIR_DELAYhack was removed. The constant will be kept to prevent breaking other softwares.
Other Changes
3.0.0
Breaking Changes
- Drop support for Python 3.6.
Other Changes
watchdogis now PEP 561 compatible, and tested withmypy- Fix missing
>inFileSystemEvent.__repr__()(#980) - [ci] Lots of improvements
- [inotify] Return from
InotifyEmitter.queue_events()if not launched when thread is inactive (#963) - [tests] Stability improvements
- [utils] Remove handling of
threading.Event.isSetspelling (#962) - [watchmedo] Fixed tricks YAML generation (#965)
💟 Thanks to our beloved contributors: @kurtmckee, @altendky, @agroszer, @BoboTiG
2.3.1
- Run
blackon the entire source code - Bundle the
requirements-tests.txtfile in the source distribution (#939) - [watchmedo] Exclude
FileOpenedEventevents fromAutoRestartTrick, andShellCommandTrick, to restore watchdog < 2.3.0 behavior. A better solution should be found in the future. (#949) - [watchmedo] Log
FileOpenedEvent, andFileClosedEvent, events inLoggerTrick
💟 Thanks to our beloved contributors: @BoboTiG