Releases: francesca64/hotwatch
Releases · francesca64/hotwatch
v0.5.0
- Breaking: Upgraded from
notify
v4 to v6, which substantially restructures theEvent
type. Seenotify
's CHANGELOG for more subtle behavior changes.
v0.4.6
- Removed unnecessary allocation from
util::handler_for_event
.
v0.4.5
- The blocking implementation of
watch
now also acceptsFnMut
instead ofFn
.
v0.4.4
watch
now acceptsFnMut
instead ofFn
v0.4.3
- Added
blocking
API.
v0.4.2
- Re-export
notify
. - Implemented
Debug
forHotwatch
. - Added
Hotwatch::new_with_custom_delay
. - Added
Hotwatch::unwatch
. - The background thread will now stop once
Hotwatch
is dropped. - Updated docs and added an example.
- Removed dependency on
derive_more
andparking_lot
.
v0.4.1
- Corrected doc links.
v0.4.0
This release removes the claim of compatability with Rust 1.24, as a patch update to notify
changes the minimum requirement to 1.26.
hotwatch
0.3 can still be used with Rust 1.24 if you pin the notify
dependency to 4.0.6
.
- Only the latest stable release of Rust is guaranteed to be compatible.
hotwatch::Error
now implementsstd::error::Error
.
v0.3.1
This release makes hotwatch
seem significantly more like a legitimate crate.
hotwatch
no longer requires nightly Rust! Minimum supported version is 1.24.- Uses
log
instead of obnoxiously usingprintln!
. - Updated dependencies.
- Relicensed as dual Apache-2.0/MIT.
v0.3.0
This release includes a non-breaking API change and a potentially breaking behavior change.
Hotwatch::watch
now accepts any path type that satisfiesAsRef<Path>
.- Paths are automatically canonicalized. This is to prevent surprising behavior with handler matching. As a result of this, the paths enclosed in
hotwatch::Event
variants are now absolute, which can potentially break existing applications.