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 theecho
module. - [utils] Removed the unused
echo_instancemethod()
function from theecho
module. - [utils] Removed the unused
echo_module()
function from theecho
module. - [utils] Removed the unused
is_class_private_name()
function from theecho
module. - [utils] Removed the unused
is_classmethod()
function from theecho
module. - [utils] Removed the unused
is_method(met()
function from theecho
module. - [utils] Removed the unused
method_name()
function from theecho
module. - [utils] Removed the unused
name()
function from theecho
module. - [watchmedo] Removed the
--trace
CLI argument from thewatchmedo log
command, useless since events are logged by default at theLoggerTrick
class 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_signal
keyword-argument type of theAutoRestartTrick
class can now be either asignal.Signals
or anint
. - [utils] Added the
__repr__()
method to theTrick
class. - [watchmedo] Fixed Mypy issues.
- [watchmedo] Added the
__repr__()
method to theHelpFormatter
class. - [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
BaseObserverSubclassCallable
class toObserverType
(#1055) - [inotify] Renamed the
inotify_event_struct
class toInotifyEventStruct
(#1055) - [inotify] Renamed the
UnsupportedLibc
exception toUnsupportedLibcError
(#1057) - [inotify] Removed the
InotifyConstants.IN_CLOSE
constant (#1046) - [watchmedo] Renamed the
LogLevelException
exception toLogLevelError
(#1057) - [watchmedo] Renamed the
WatchdogShutdown
exception toWatchdogShutdownError
(#1057) - [windows] Renamed the
FILE_NOTIFY_INFORMATION
class toFileNotifyInformation
(#1055) - [windows] Removed the unused
WATCHDOG_TRAVERSE_MOVED_DIR_DELAY
constant (#1057)
Other Changes
- [core] Enable
disallow_untyped_calls
Mypy rule (#1055) - [core] Enable
disallow_untyped_defs
Mypy rule (#1060) - [core] Improve typing references for events (#1040)
- [inotify] Add support for
IN_CLOSE_NOWRITE
events. AFileClosedNoWriteEvent
event 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
PatternMatchingEventHandler
docstrings (#1048) - [documentation] Simplify the quickstart example (#1047)
- [fsevents] Add missing
event_filter
keyword-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 nowdataclass
es, and theirrepr()
has changed - [windows]
WinAPINativeEvent
is now adataclass
, and itsrepr()
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
3.0.0
Breaking Changes
- Drop support for Python 3.6.
Other Changes
watchdog
is 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.isSet
spelling (#962) - [watchmedo] Fixed tricks YAML generation (#965)
💟 Thanks to our beloved contributors: @kurtmckee, @altendky, @agroszer, @BoboTiG
2.3.1
- Run
black
on the entire source code - Bundle the
requirements-tests.txt
file in the source distribution (#939) - [watchmedo] Exclude
FileOpenedEvent
events 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