Skip to content

Latest commit

Β 

History

History
executable file
Β·
123 lines (70 loc) Β· 3.57 KB

CHANGELOG.md

File metadata and controls

executable file
Β·
123 lines (70 loc) Β· 3.57 KB

v0.3.3

  • Removes rxjs dependency is no longer used.

v0.3.2

  • Removes co dependency which was never used

v0.3.1

  • Fixes certain conditions in which generators wern't handled correctly.

v0.3.0

  • Streamlines the library by dropping dependency on Rx.js in favour for generators.
  • The route method now returns a promise you can use to know when eventline has finished handling an event.
  • The start method is no longer needed to start eventline handling events.

v0.2.21

  • Adds support for generator actions.

v0.2.20

  • Fixes crash in the last version of eventline.

v0.2.19

  • Exposes matches function used for pattern matching logic in Eventline to enable ability to add own custom patterns.
  • Removes dependencies which were installed but were only needed for development of this package and not at runtime.
  • You can now return an empty array of actions to indicate you don't want anything to happen

v0.2.18

  • Adds abilty to provide array of actions to perform in order to the .then method

v0.2.17

  • Adds abilty for action to provide array of actions to perform in order

v0.2.16

  • Fixes crash when trying to log null error
  • Fixes catching errors triggered in actions which return observables

v0.2.15

  • Fixes bug where a missing route would trigger a crash

v0.2.14

  • Fixes issue where later middleware wouldn't be triggered if an earlier one didn't implement all of the middleware methods

v0.2.13

  • Fixes issues with previous version not being built correctly

v0.2.12

  • Fixes issue with fix from previous version not working due to false positive

v0.2.11

  • Fixes crash when middleware lacked either the before or after method

v0.2.10

  • You can now declare routes that are triggered if at least one pattern matches, for example with eventline.on(patternA, patternB) if either pattern A or B match then Eventline will use that route
  • If an action fails to return an event then Eventline will automatically make sure the next action has the original event that the last action failed to return

v0.2.9

  • Explicity declares lodash dependency used by Eventline

v0.2.8

  • Fixes bug where errors in actions could stop Eventline handling all events in the future

v0.2.7

  • Adds sanity check for older RxJS versions to remind developers to check they are using the correct version of RxJS when they are having problems
  • Fixes circular json error on built in exception handler

v0.2.6

  • Fixes event showing up as [object Object] in exception error message

v0.2.5

  • Removes dependencies on external stack tracing libraries

v0.2.4

  • Fixes issues with previous version not being built correctly

v0.2.3

  • The default exception handler now logs the stack trace to help you understand the error

v0.2.2

  • Fixes issues with previous version not being built correctly

v0.2.1

  • Handles events that aren't matched by any route as an error

v0.2.0

  • Strings in patterns are now case-insensitive (i.e "Hello" will match "hello" and "HELLO")
  • Router renamed to Eventline to prevent confusion with the concept of a router for API frameworks. This framework is between a router and a eventbus so this reflects that
  • We now handle exceptions and log them to the console to prevent server crashes. You can provide your own exception handler by setting your function on the new exceptionHandler property for your eventline.
  • We now provide an example for eventline
  • We now bundle a simple when action by default which allows you to optionally switch on and off individual actions for a route based on pattern matching

v0.1.0

  • Initial Release