4.8.0 (2026-04-28)
4.7.0 (2026-04-28)
4.6.0 (2026-04-28)
4.5.0 (2026-04-28)
4.4.0 (2026-04-28)
- add debounce option to watch() for high-frequency mutations (#65) (3672030), closes hi#frequency
4.3.0 (2026-04-28)
4.2.0 (2026-04-28)
4.1.0 (2026-04-28)
4.0.3 (2026-04-17)
4.0.2 (2026-04-15)
4.0.1 (2026-04-15)
4.0.0 (2026-04-03)
- wait() no longer accepts an onEvent callback. Use watch() instead.
- onError removed from WaitOptions; moved to WatchOptions.
3.1.0 (2026-04-03)
3.0.0 (2026-04-02)
- Trigger major version bump for breaking changes (3836c92)
- watch() is a new dedicated method for recurring mutations. wait() with a callback still works but watch() is the preferred API going forward.
- AbortSignal support added to both wait() and watch(). Passing an already-aborted signal to wait() now rejects immediately with an AbortError instead of starting observation.
2.1.0 (2026-04-02)
- Add AbortSignal support to wait() and watch() (#30) (2e26fcb)
- Add watch() method for recurring mutation callbacks (#29) (2366741)
3.0.0-beta.2 (2026-04-02)
3.0.0-beta.1 (2026-04-02)
- Flag watch() as breaking change for correct semver bump (4a74e47)
- watch() shares the observer slot with wait(). Calling watch() rejects any pending wait() Promise with [ABORT] and stops any ongoing observation. Use separate instances for parallel observations.
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
2.1.0-beta.1 (2026-04-02)
2.0.6 (2026-04-02)
2.0.5 (2026-04-02)
2.0.4 (2026-04-02)
2.0.3 (2026-04-02)
2.0.2 (2026-04-01)
2.0.1 (2026-04-01)
2.0.0 (2022-01-10)
- Change node with selector matching to be more consistent and fix issue with matches is not a function (d02b839)
- Fix console error when target is a DOM element (390d42f)
- Fix console error when target is a DOM element - new attempt (8260eb4)
- Refactor wait method in-depth and merge into watch method (ac2bc0a)
- Add exist event (#13) (79faa5e)
- Allow to target a DOM element directly (5467b6a)
- Allow to trigger observation event with promise resolution (1f774be)
- The signature of the wait method has changed and the watch method has been removed
2.0.0-beta.7 (2022-01-07)
2.0.0-beta.6 (2021-12-02)
- Fix console error when target is a DOM element - new attempt (5e0eb6c)
2.0.0-beta.5 (2021-12-01)
- Fix console error when target is a DOM element (023fc60)
2.0.0-beta.4 (2021-11-30)
- Allow to target a DOM element directly (2b9c5b5)
2.0.0-beta.3 (2021-11-16)
- Allow to trigger observation event with promise resolution (4e22343)
2.0.0-beta.2 (2021-11-04)
- Change node with selector matching to be more consistent and fix issue with matches is not a function (3dceec7)
2.0.0-beta.1 (2021-11-03)
- Refactor wait method in-depth and merge into watch method (7213938)
- The signature of the wait method has changed and the watch method has been removed
1.2.0 (2021-03-14)
1.1.0 (2021-02-27)
1.0.1 (2021-02-19)
- Initialize project (530db1c)