Skip to content

Releases: Superbalist/js-event-pubsub

3.0.2

20 Jul 06:34
Compare
Choose a tag to compare

Changelog

3.0.2 - 2017-07-20

  • Events are no longer validated when received, only upon dispatch

3.0.1

19 Jul 06:35
Compare
Choose a tag to compare

Changelog

3.0.1 - 2017-07-19

  • Export ValidationResult class from module

3.0.0

18 Jul 13:16
Compare
Choose a tag to compare

Changelog

3.0.0 - 2017-07-18

  • EventValidatorInterface->validates() renamed to ->validate()
  • EventValidatorInterface->validate() now returns a promise resolving to a ValidationResult instance instead of bool
  • The validation fail handler callback now receives a ValidationResult instead of the event and a validator
  • dispatch() now returns a promise
  • dispatchBatch() now returns a promise
  • Events are now validated on dispatch, and will reject the promise with a ValidationResult when validation fails

2.0.1

18 Jul 06:50
Compare
Choose a tag to compare

Changelog

2.0.1 - 2017-07-18

  • Add support for translate, listen expr & validation failure callbacks

2.0.0

17 May 14:12
Compare
Choose a tag to compare

Changelog

2.0.0 - 2017-05-17

  • Bump up @superbalist/js-pubsub to ^2.0.0
  • Add new dispatchBatch method for dispatching multiple events at once

1.0.1

09 May 15:13
Compare
Choose a tag to compare

Changelog

1.0.1 - 2017-05-09

  • Transpile ES6 -> ES5 at build time

1.0.0

09 May 12:20
Compare
Choose a tag to compare

Changelog

1.0.0 - 2017-05-09

  • Switch to ESLint & Google Javascript Style Guide
  • Add JSDoc documentation
  • Add unit tests
  • Bump @superbalist/js-pubsub to ^1.0.0
  • Change EventValidatorInterface to return a promise which resolves to a boolean

0.0.1

03 May 14:08
Compare
Choose a tag to compare

Changelog

0.0.1 - 2017-05-03

  • Initial release