From 474831bd8f7ecee29ebe9704cff88f3b7b8e51e8 Mon Sep 17 00:00:00 2001 From: Aron Heinecke Date: Sun, 13 Mar 2022 17:57:41 +0100 Subject: [PATCH] Prepare 5.0.0-pre.14 --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ Cargo.toml | 2 +- README.md | 10 +++++----- examples/hot_reload_tide/Cargo.toml | 2 +- examples/watcher_kind/Cargo.toml | 2 +- src/lib.rs | 4 ++-- 6 files changed, 38 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a8425a4..5fe76fd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,34 @@ ## unreleased +## 5.0.0-pre.14 (2022-03-13) + +- CHANGE: upgrade mio to 0.8 [#386] +- CHANGE: PollWatcher: unify signature of new and with_delay [#360] +- CHANGE: emit EventKind::Modify on kqueue write event [#370] +- CHANGE: use RenameMode::Any for renaming events [#371] +- CHANGE: name all threads spawned by notify [#383] +- FEATURE: Add Watcher::kind() [#364] +- FEATURE: Add more Debug/Copy trait impls [#377] [#378] +- FIX: Fix selection of RecommendedWatcher for macos_kqueue feature [#362] +- FIX: Turn possible panic into an error in FSEvents backend when file is deleted rapidly [#369] +- FIX: lqueue: emit Create Events and watch all files in a directory [#372] +- FIX: inotify: don't panic on shutdown [#373] + +[#386]: https://github.com/notify-rs/notify/pull/386 +[#360]: https://github.com/notify-rs/notify/pull/360 +[#370]: https://github.com/notify-rs/notify/pull/370 +[#371]: https://github.com/notify-rs/notify/pull/371 +[#383]: https://github.com/notify-rs/notify/pull/383 +[#364]: https://github.com/notify-rs/notify/pull/364 +[#377]: https://github.com/notify-rs/notify/pull/377 +[#378]: https://github.com/notify-rs/notify/pull/378 +[#362]: https://github.com/notify-rs/notify/pull/362 +[#369]: https://github.com/notify-rs/notify/pull/369 +[#372]: https://github.com/notify-rs/notify/pull/372 +[#373]: https://github.com/notify-rs/notify/pull/373 + + ## 5.0.0-pre.13 (2021-09-07) - Fix: Add path information to inotify and kqueue watch/unwatch errors [#354] diff --git a/Cargo.toml b/Cargo.toml index 6a42e204..d5e7fd40 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "notify" -version = "5.0.0-pre.13" +version = "5.0.0-pre.14" description = "Cross-platform filesystem notification library" documentation = "https://docs.rs/notify" diff --git a/README.md b/README.md index 391aa6a8..bf26b84c 100644 --- a/README.md +++ b/README.md @@ -11,10 +11,10 @@ _Cross-platform filesystem notification library for Rust._ **Caution! This is unstable code!** -You likely want either [the latest 4.0 release] or [5.0.0-pre.13]. +You likely want either [the latest 4.0 release] or [5.0.0-pre.14]. [the latest 4.0 release]: https://github.com/notify-rs/notify/tree/v4.0.16#notify -[5.0.0-pre.13]: https://github.com/notify-rs/notify/tree/v5.0.0-pre.13#notify +[5.0.0-pre.14]: https://github.com/notify-rs/notify/tree/v5.0.0-pre.14#notify (Looking for desktop notifications instead? Have a look at [notify-rust] or [alert-after]!) @@ -33,7 +33,7 @@ As used by: [alacritty], [cargo watch], [cobalt], [docket], [mdBook], [pax], ```toml [dependencies] crossbeam-channel = "0.4.0" -notify = "5.0.0-pre.13" +notify = "5.0.0-pre.14" ``` ## Usage @@ -146,7 +146,7 @@ let mut watcher: RecommendedWatcher = Watcher::immediate_with_channel(tx)?; Events can be serialisable via [serde]. To enable the feature: ```toml -notify = { version = "5.0.0-pre.13", features = ["serde"] } +notify = { version = "5.0.0-pre.14", features = ["serde"] } ``` ## Platforms @@ -199,7 +199,7 @@ Written by [FĂ©lix Saparelli] and awesome [contributors]. [contributors]: https://github.com/notify-rs/notify/graphs/contributors [crate]: https://crates.io/crates/notify [docket]: https://iwillspeak.github.io/docket/ -[docs]: https://docs.rs/notify/5.0.0-pre.13/notify/ +[docs]: https://docs.rs/notify/5.0.0-pre.14/notify/ [fsnotify]: https://github.com/go-fsnotify/fsnotify [handlebars-iron]: https://github.com/sunng87/handlebars-iron [hotwatch]: https://github.com/francesca64/hotwatch diff --git a/examples/hot_reload_tide/Cargo.toml b/examples/hot_reload_tide/Cargo.toml index 81957ec8..c1a58904 100644 --- a/examples/hot_reload_tide/Cargo.toml +++ b/examples/hot_reload_tide/Cargo.toml @@ -11,4 +11,4 @@ tide = "0.16.0" async-std = { version = "1.6.0", features = ["attributes"] } serde_json = "1.0" serde = "1.0.115" -notify = { version = "5.0.0-pre.13", features = ["serde"] } +notify = { version = "5.0.0-pre.14", features = ["serde"] } diff --git a/examples/watcher_kind/Cargo.toml b/examples/watcher_kind/Cargo.toml index 59eaa8e0..d5b6bd7b 100644 --- a/examples/watcher_kind/Cargo.toml +++ b/examples/watcher_kind/Cargo.toml @@ -7,4 +7,4 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -notify = { version = "5.0.0-pre.13", path = "../../" } +notify = { version = "5.0.0-pre.14", path = "../../" } diff --git a/src/lib.rs b/src/lib.rs index 7722f372..eb0002b2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,7 @@ //! //! ```toml //! [dependencies] -//! notify = "5.0.0-pre.13" +//! notify = "5.0.0-pre.14" //! ``` //! //! ## Serde @@ -12,7 +12,7 @@ //! Events are serialisable via [serde] if the `serde` feature is enabled: //! //! ```toml -//! notify = { version = "5.0.0-pre.13", features = ["serde"] } +//! notify = { version = "5.0.0-pre.14", features = ["serde"] } //! ``` //! //! [serde]: https://serde.rs