Releases: LIN3S/EventBusJS
Releases · LIN3S/EventBusJS
v0.11.0
v0.10.0
v0.9.0
- Refactored NodeAddedEventPublisher DOM lookup.
- Exported bundle configurations updated. (umd, common, esm)
- Refactored NodeAddedObserver added node's matching strategy. It now accepts any native css selectors.
- Added onNodeAdded documentation.
- Removed Bower support.
- Removed
lodash.debounceas peer dependency
v0.7.0
LifeTimeEventPublisherwill work as the previously namedEventPublisherdid.OneTimeEventPublisherwill track published events, so a subscriber's callback will be inmediately executed if subscribed after the associated event is published.- [BC break]
EventPublisheris now an abstract class.OneTimeEventPublisherandLifeTimeEventPublisherinstances are exported instead. - [BC break]
NodeAddedObserveris no longer exported. Instead,onNodeAddedsubscription is exposed. - The
EventSubscriberPriorityQueue'sgetSubscribersmethod now returns an immutable object. - Refactored
DomLoadedEventPublisherto check the initial document's readyState. - Refactored
DomReadyEventPublisherto check the initial document's readyState. - Exported named
CoreandSubscriptionsfor a more dev-friendly use. - Refactored library folder structure.
v0.6.1
- Allowed negative priorities
v0.6.0
- [BC break] Updated NodeAddedObserver to provide each associated node with the subscribed selectorClassName. After this version, published NodeAddedEvent gives you an array of matching nodes instead of a single one.
v0.5.2
Merge pull request #9 from LIN3S/feature/unsubscribe Shortcut methods now return each subscribed subscriber so we can unsu…
v0.4.0
Added yarn support in the documentation
v0.3.2
Exported the functions itself
v0.3.1
Bumped to v0.3.1