Skip to content

Releases: okTurtles/okTurtles.events

v1.0.0

06 Dec 18:32
Compare
Choose a tag to compare

Changes

⚠️ Breaking Changes! ⚠️

  • okTurtles.events/once used to return a function that would call the listener that was registered and then unregister the listener. Now it returns a function that simply unregisters the listener.

All Changes

  • emit will now catch exceptions thrown by synchronous listeners. This means an exception in one listener won't prevent other listeners from being called. (PR #6)
  • on and once will return a function to clear the event listener (PR #6)
  • New selector 'okTurtles.events/setErrorHandler' to set the error handler for errors caught by emit (PR #6)
  • Misc changes: rewritten in TypeScript, use node:test instead of mocha, enable Github Actions to run tests

New Contributors

Full Changelog: v0.1.6...v1.0.0

v0.1.6

06 Dec 18:24
Compare
Choose a tag to compare

Creating this release to generate release notes for the next release...