Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 2.38 KB

CHANGELOG.md

File metadata and controls

49 lines (37 loc) · 2.38 KB

Changelog

0.5.0 (dev)

  • API change: Replies now send a new EventMessage object instead of plain object.
  • API change: Changed the way EventMessage.replyError serializes the error object to something more meaningful.
  • API change: Changed events to fire synchronously as an experiment. Asynchronous handling seems to cause more trouble that it's worth.
  • API change: Removed calamity.proxy(), it didn't really make sense.
  • API change: Renamed EventBus to Bus.
  • API change: Renamed EventMessage to Message.
  • API change: Rewrote Bridge to serve as a basic bridge that can be extended.
  • Feature: Implemented replyError() on EventMessage to allow for easy handling of errors.
  • Feature: Implemented toJSON() and fromJSON() on EventMessage.
  • Feature: Implemented getRequired() and getOptional() on EventMessage for data retrieval.
  • Feature: Implemented catch() on EventMessage to handle automatic catching of asynchronous errors. (pull/2)
  • Feature: getOptional and getRequired on EventMessage can now return deep values using JSON dot syntax.
  • Fix: EventMessages with empty datasets would throw undefined errors with getRequired and getOptional.

0.4.1 (2013-07-10)

  • Fix: Subscription's unsubscribe() contained a typo, causing it to never work.

0.4.0 (2013-06-26)

  • Feature: Added support for commands via send().
  • Feature: Added support for basic event bridges via bridge().

0.3.1 (2013-03-19)

  • Fix: Added AMD load header. (pull/1)

0.3.0 (2013-01-29)

  • API change: Removed initial underscore from _trigger(), _subscribe(), and _publish() on ProxyMixin and EmitterMixin. It makes assumptions about code style.
  • Fix: Browser initialisation.
  • Fix: Bug where EmitterMixin would not correctly set default context.

0.2.0 (2012-11-14)

  • Feature: Implemented ProxyMixin for easy global event bus handling.
  • Feature: Implemented Subscription objects.
  • Feature: Implemented EmitterMixin for easy attachment of an instance-local EventBus.

0.1.1 (2012-11-12)

  • npm related fixes.

0.1.0 (2012-11-12)

  • Initial public release.
  • Feature: EventBus implementation.