Releases: gorakhargosh/watchdog
Releases · gorakhargosh/watchdog
2.0.1
2.0.0
⚠️ [mac] Drop support for macOS 10.12 and earlier (#750)- [mac] Support coalesced filesystem events (#734)
- [mac] Fix an issue when renaming an item changes only the casing (#750)
- [inotify] Add support for
IN_CLOSE_WRITE
events. AFileCloseEvent
event will be fired. Note thatIN_CLOSE_NOWRITE
events are not handled to prevent much noise. (#184, #245, #280, #313, #690) - [inotify] Allow to stop the emitter multiple times (#760)
- Avoid deprecated
PyEval_InitThreads
on Python 3.7+ (#746) - Thanks to our beloved contributors: @bstaletic, @lukassup, @ysard, @samschott, @CCP-Aporia, @BoboTiG
1.0.2
- Wheels are published for GNU/Linux, macOS and Windows (#739)
- [mac] Fix missing
event_id
attribute infsevents
(#721) - [mac] Return byte paths if a byte path was given in
fsevents
(#726) - [mac] Add compatibility with old macOS versions (#733)
- Uniformize event for deletion of watched dir (#727)
- Thanks to our beloved contributors: @samschott, @CCP-Aporia, @di, @BoboTiG
1.0.0
- Versioning is now following the semver
- Drop support for Python 2.7, 3.4 and 3.5
- [mac] Regression fixes for native
fsevents
(#717) - [windows]
winapi.BUFFER_SIZE
now defaults to64000
(instead of2048
) (#700) - [windows] Introduced
winapi.PATH_BUFFER_SIZE
(defaults to2048
) to keep the old behavior with path-realted functions (#700) - Use
pathlib
from the standard library, instead ofpathtools
(#556) - Allow file paths on Unix that don't follow the file system encoding (#703)
- Removed the long-time deprecated
events.LoggingFileSystemEventHandler
class, useLoggingEventHandler
instead - Thanks to our beloved contributors: @samschott, @bstaletic, @BoboTiG, @CCP-Aporia
0.10.5
0.10.4
- Add
logger
parameter for theLoggingEventHandler
(#676) - Replace mutable default arguments with
if None
implementation inRegexMatchingEventHandler
(#677) - Expand tests to Python 2.7 and 3.5-3.10 for GNU/Linux, macOS and Windows
- [mac] Performance improvements for the
fsevents
module (#680) - [mac] Prevent compilation of
watchdog_fsevents.c
on non-macOS machines (#687) - [watchmedo] Handle shutdown events from
SIGTERM
andSIGINT
more reliably (#693) - Thanks to our beloved contributors: @Sraw, @CCP-Aporia, @BoboTiG, @maybe-sybr
0.10.3
0.10.2
- Fixed the
build_ext
command on macOS Catalina (#628) - Fixed the installation of macOS requirements on non-macOS OSes (#635)
- Refactored
dispatch()
method ofFileSystemEventHandler
,PatternMatchingEventHandler
andRegexMatchingEventHandler
- bsd] Improved tests support on non Windows/Linux platforms (#633, #639)
- [bsd] Added FreeBSD CI support (#532)
- [bsd] Restored full support (#638, #641)
- Thanks to our beloved contributors: @BoboTiG, @evilham, @danilobellini
0.10.1
- Fixed Python 2.7 to 3.6 installation when the OS locale is set to POSIX (#615)
- Fixed the
build_ext
command on macOS (#618, #620) - Moved requirements to
setup.cfg
(#617) - [mac] Removed old C code for Python 2.5 in the
fsevents
C implementation - [snapshot] Added
EmptyDirectorySnapshot
(#613) - Thanks to our beloved contributors: @Ajordat, @tehkirill, @BoboTiG
0.10.0
2020-01-26 • full history
Breaking changes
- Dropped support for Python 2.6, 3.2 and 3.3
- Emitters that failed to start are now removed
- [snapshot] Removed the deprecated
walker_callback
argument, usestat
instead - [watchmedo] The utility is no more installed by default but via the extra
watchdog[watchmedo]
Other Changes
- Fixed several Python 3 warnings
- Identify synthesized events with
is_synthetic
attribute (#369) - Use
os.scandir()
to improve memory usage (#503) - [bsd] Fixed flavors of FreeBSD detection (#529)
- [bsd] Skip unprocessable socket files (#509)
- [inotify] Fixed events containing non-ASCII characters (#516)
- [inotify] Fixed the way
OSError
are re-raised (#377) - [inotify] Fixed wrong source path after renaming a top level folder (#515)
- [inotify] Removed delay from non-move events (#477)
- [mac] Fixed a bug when calling
FSEventsEmitter.stop()
twice (#466) - [mac] Support for unscheduling deleted watch (#541)
- [mac] Fixed missing field initializers and unused parameters in
watchdog_fsevents.c
- [snapshot] Don't walk directories without read permissions (#408)
- [snapshot] Fixed a race condition crash when a directory is swapped for a file (#513)
- [snasphot] Fixed an
AttributeError
about forgottenpath_for_inode
attr (#436) - [snasphot] Added the
ignore_device=False
parameter to the ctor (#597) - [watchmedo] Fixed the path separator used (#478)
- [watchmedo] Fixed the use of
yaml.load()
foryaml.safe_load()
(#453) - [watchmedo] Handle all available signals (#549)
- [watchmedo] Added the
--debug-force-polling
argument (#404) - [windows] Fixed issues when the observed directory is deleted (#570 and #601)
- [windows]
WindowsApiEmitter
made easier to subclass (#344) - [windows] Use separate ctypes DLL instances
- [windows] Generate sub created events only if
recursive=True
(#454) - Thanks to our beloved contributors: @BoboTiG, @LKleinNux, @rrzaripov, @wildmichael, @TauPan, @segevfiner, @petrblahos, @QuantumEnergyE, @jeffwidman, @kapsh, @nickoala, @petrblahos, @julianolf, @tonybaloney, @mbakiev, @pR0Ps, @javaguirre, @skurfer, @exarkun, @joshuaskelly, @danilobellini, @Ajordat