Path to this page:
Subject: CVS commit: pkgsrc/devel/hs-fsnotify
From: Masatake Daimon
Date: 2023-01-26 16:08:26
Message id: 20230126150826.87560FA90@cvs.NetBSD.org
Log Message:
devel/hs-fsnotify: Update to 0.4.1.0
Version 0.4.1.0
* Add unliftio lower bound (#106)
* Change the tests back to a test-suite to avoid building for library
users. (#107)
* Fix up Windows compatibility.
* Export WatchConfig type (#108)
Version 0.4.0.1
* Fix compatibility with *BSD.
Version 0.4.0.0
API breaking update.
* New options for threading control (single-threaded, thread-per-watch, and
thread-per-manager)
* Revamp WatchConfig options to be less confusing and reduce boolean
blindness.
* Pull out debouncing stuff, since it was never correct as it simply took
the last event affecting a given file in the debounce period. Debouncing
is currently not included, and should be handled as an orthogonal
concern. I'd like to include some debouncing logic, but didn't want to
delay this release any longer.
- We now expose type DebounceFn = Action -> IO Action, which represents
an arbitrary debouncer. All debouncers should be in the form of one of
these functions.
- A robust state machine debouncer is in progress but not fully
implemented yet; see the state-machine branch.
- Contributions are welcome! We can potentially add multiple debouncers
of different complexity as modules under System.FSNotify.Debounce.*.
* Don't silently fall back to polling on failure of native
watcher. Instead, throw an exception which the user can recover from by
switching to polling.
* Add ModifiedAttributes event type + Linux support
* Add confOnHandlerException to be able to control what happens when a
handler throws an exception.
* WatchConfig constructor is no longer exposed. Instead use defaultConfig
{...} with the accessors.
Files: