Skip to content

notify: v9.0.0-rc.8

Pre-release
Pre-release

Choose a tag to compare

@JohnTitor JohnTitor released this 09 Nov 09:58
· 29 commits to main since this release
Immutable release. Only release title and notes can be modified.
22462f1

Announcement

This is the final release candidate for v9. We recommend trying out, any feedback is appreciated!

notify 9.0.0-rc.8 (2026-11-09)

  • CHANGE: raise MSRV from 1.88 to 1.91
  • CHANGE: Error gains a private field; ErrorKind and UpdatePathsError are now #[non_exhaustive]. Use error constructors (including UpdatePathsError::new), .. in struct patterns, and wildcard enum matches #1060 #1071 breaking
  • DEPS: upgrade notify-types to 2.3.0 for per-watch user data support
  • FEATURE: add WatchPathConfig::with_user_data(u64) to identify watches through Event::user_data() and Error::user_data() on all backends, including failed batch operations via UpdatePathsError.source #1012 #388
  • FEATURE: [Windows] add opt-in Config::with_windows_extended_information for file/folder classification in create/remove events; unsupported APIs and filesystems return errors #261 #1061
  • PERF: [Windows] share parent-directory watches across individual file watches, reuse buffers, and skip work for filtered events. Idle polling is removed, and configuration changes wake the watcher immediately. Buffers are now 64 KiB per OS watch, up from 16 KiB #1056 #1077
  • PERF: [inotify, kqueue] speed up unwatch, especially with many watched paths or nested user watches #1074 #1075 #1079
  • PERF: [inotify] update recursive walk barriers incrementally instead of rebuilding them from all watches #1076
  • FIX: [Windows] deliver fatal asynchronous read errors to the event handler; malformed notifications produce an InvalidData error and a rescan event #1077
  • FIX: [kqueue] report recoverable child errors while continuing recursive watches, stop additions at file descriptor limits with ErrorKind::MaxFilesWatch, and ignore missing directories during event-triggered scans #703 #455 #596
  • FIX: [kqueue] avoid hangs on FIFOs by skipping special files during recursive walks and rejecting explicit watches on them with Unsupported errors #1058
  • FIX: [inotify] detect ancestor symlink loops in newly added directories to avoid watching the same tree repeatedly #1065
  • FIX: [inotify] report a change in a directory or file that two watches share through a symlink or a hard link under the path of each watch, and watch the new subdirectories of a shared directory for every recursive watch. A rename in a shared directory is reported once for each of those watches, with the same tracker #1072
  • FIX: [macOS] return an error and release the callback context if FSEvents stream creation fails #1080
  • FIX: [macOS] release the FSEvents stream and its context when spawning the runloop thread fails #1081
  • FIX: [macOS] avoid leaking CFError objects when resolving watch paths #1082
  • FIX: [poll] recover a poisoned watch mutex in watched_paths #1062
  • DOCS: clarify kqueue and FSEvents event details, recursive-watch coverage, and kqueue file descriptor limits #1062