Skip to content

Releases: gorakhargosh/watchdog

2.0.1

20 Feb 11:33
Compare
Choose a tag to compare
  • [mac] Fix a segmentation fault when dealing with unicode paths (#763)
  • Moved the CI from Travis-CI to GitHub Actions (#764)
  • Thanks to our beloved contributors: @samschott, @BoboTiG

2.0.0

11 Feb 09:53
Compare
Choose a tag to compare
  • ⚠️ [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. A FileCloseEvent event will be fired. Note that IN_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

18 Dec 11:36
Compare
Choose a tag to compare
  • Wheels are published for GNU/Linux, macOS and Windows (#739)
  • [mac] Fix missing event_id attribute in fsevents (#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

10 Dec 09:51
Compare
Choose a tag to compare
  • 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 to 64000 (instead of 2048) (#700)
  • [windows] Introduced winapi.PATH_BUFFER_SIZE (defaults to 2048) to keep the old behavior with path-realted functions (#700)
  • Use pathlib from the standard library, instead of pathtools (#556)
  • Allow file paths on Unix that don't follow the file system encoding (#703)
  • Removed the long-time deprecated events.LoggingFileSystemEventHandler class, use LoggingEventHandler instead
  • Thanks to our beloved contributors: @samschott, @bstaletic, @BoboTiG, @CCP-Aporia

0.10.5

10 Dec 09:39
Compare
Choose a tag to compare

0.10.4

21 Nov 17:07
Compare
Choose a tag to compare
  • Add logger parameter for the LoggingEventHandler (#676)
  • Replace mutable default arguments with if None implementation in RegexMatchingEventHandler (#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 and SIGINT more reliably (#693)
  • Thanks to our beloved contributors: @Sraw, @CCP-Aporia, @BoboTiG, @maybe-sybr

0.10.3

25 Jun 20:31
Compare
Choose a tag to compare
  • Ensure ObservedWatch.path is a string (#651)
  • [inotify] Allow to monitor single file (#655)
  • [inotify] Prevent raising an exception when a file in a monitored folder has no permissions (#669, #670)
  • Thanks to our beloved contributors: @brant-ruan, @rec, @andfoy, @BoboTiG

0.10.2

08 Feb 23:17
Compare
Choose a tag to compare
  • Fixed the build_ext command on macOS Catalina (#628)
  • Fixed the installation of macOS requirements on non-macOS OSes (#635)
  • Refactored dispatch() method of FileSystemEventHandler, PatternMatchingEventHandler and RegexMatchingEventHandler
  • 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

31 Jan 04:18
Compare
Choose a tag to compare
  • 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

26 Jan 19:05
Compare
Choose a tag to compare

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, use stat 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 forgotten path_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() for yaml.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