All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Watcher<T>
now uses interior mutability viaAtomicUsize
. This allows a watcher to be stored inside of a static variable and be used between multiple threads without involving a mutex.- This package's MSRV was incorrectly set. It has been updated to 1.64, which was the actual MSRV of 1.1.1
Watcher<T>
no longer requiresT
to beClone
for itself to be cloneable..crate-docs.md
is now included in the released package.
- Fixed a race condition that could cause a replace operation to be ignored if it happened during a short region of the Watcher's next_value logic. Subsequent updates would still be received.
Watchable::shutdown()
has been added to disconnect allWatcher
s without needing to drop all instances ofWatchable
. Any existing value changes will still be observed byWatcher
s before they return a disconnected error on the next attempt to read a value.
- Initial stable release.