Releases: nx-js/observer-util
Releases · nx-js/observer-util
v3.1.3
Fixes
- Fixed a critical error in the build process
v3.1.2
Improvements
- Improved the build process
v3.1.1
Fixes
- Fixed a small build issue: The library is now exposing the dist folder
v3.1.0
v3.0.0
Breaking changes
observe
now only accepts a function. Thectx
andargs
options are removed. The passed function is returned.- Moved the
unobserve
,unqueue
andexec
methods from the returned observer to the library scope as functions. They all take an observer as argument now.
Features
- The library now supports ES6 modules (and tree shaking) as well as commonJS.
Fixes
- ES6 collection sizes are now observable.
- Expando properties on ES6 collections are now observable.
$raw
access on ES6 collections now properly returns the underlying collection instance instead of a hacked object.
v2.0.0
Breaking changes
- Observed functions now run synchronously once, when passed to
observe
. After that they run asynchronously in a batch, like before. queue
is removed.unobserve
is moved from a global method into a signal method. See the related docs section here.