Skip to content

Releases: LIN3S/EventBusJS

v0.11.0

08 Jun 06:51

Choose a tag to compare

  • Removed the onNodeAdded implementation for a more powerful onDomMutated strategy. It will publish both dom node injections/removals.

v0.10.0

06 Feb 13:39

Choose a tag to compare

  • Refactored NodeAddedEventPublisher API and implementation.

v0.9.0

05 Dec 11:19

Choose a tag to compare

  • 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.debounce as peer dependency

v0.7.0

05 Oct 12:04

Choose a tag to compare

  • LifeTimeEventPublisher will work as the previously named EventPublisher did.
  • OneTimeEventPublisher will track published events, so a subscriber's callback will be inmediately executed if subscribed after the associated event is published.
  • [BC break] EventPublisher is now an abstract class. OneTimeEventPublisher and LifeTimeEventPublisher instances are exported instead.
  • [BC break] NodeAddedObserver is no longer exported. Instead, onNodeAdded subscription is exposed.
  • The EventSubscriberPriorityQueue's getSubscribers method now returns an immutable object.
  • Refactored DomLoadedEventPublisher to check the initial document's readyState.
  • Refactored DomReadyEventPublisher to check the initial document's readyState.
  • Exported named Core and Subscriptions for a more dev-friendly use.
  • Refactored library folder structure.

v0.6.1

27 Sep 16:35

Choose a tag to compare

  • Allowed negative priorities

v0.6.0

31 May 17:25

Choose a tag to compare

  • [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

30 May 14:21

Choose a tag to compare

Merge pull request #9 from LIN3S/feature/unsubscribe

Shortcut methods now return each subscribed subscriber so we can unsu…

v0.4.0

16 Feb 10:34

Choose a tag to compare

Added yarn support in the documentation

v0.3.2

08 Feb 18:19

Choose a tag to compare

Exported the functions itself

v0.3.1

08 Feb 18:03

Choose a tag to compare

Bumped to v0.3.1