Releases: JacobFischer/ts-typed-events
Releases · JacobFischer/ts-typed-events
v3.0.0
Changed
Eventnow inherits from the newBaseEventclass.
Removed
events()util function removed.- See #8 for discussion and alternates when upgrading.
Added
createEmitter()function added that returns an emitter function separate
from theEvent.SealedEventadded as an a type of event that lacks an.emit()function.- For
SealedEvents, use the emitter returned to emit them. - See the README for updated examples on usage.
- For
BaseEventadded as a base class forEventandSealedEventto inherit
from.createEventEmitter()function added.- function signature is identical to
creteEmitter(), but returns a normal
Eventinstead of aSealedEvent.
- function signature is identical to
Fixed
v3.0.0-rc.5
Release Candidate 5 for new major release v3.0.0. Full patch notes for final release.
At this point the RC releases probably should have been v3.0-experimental or some tag to better reflect how volatile they are. Sorry.
v3.0.0-rc.4
Release Candidate 4 for new major release v3.0.0. Full patch notes for final release.
v3.0.0-rc.3
Release Candidate 3 for new major release v3.0.0. Full patch notes for final release.
v3.0.0-rc.2
Release Candidate 2 for new major release v3.0.0. Full patch notes for final release.
v2.0.1
v3.0.0-rc.1
Release Candidate 1 for new major release v3.0.0. Full patch notes for final release.
v2.0.0
Changes
- Rename TypeScript interfaces
IEventsandIEventsFunctiontoEventsandEventsFunctionrespectively. Signalclass removed. Instead you can now useEventwithout a generic which is now functionally identical to the oldSignal.- Requires TypeScript >= 3.0 for newer features in the included definition files.
Fixed
- Source maps no longer point to missing files. Instead source maps are inlined in the source. Thanks [#6].
v1.1.1
Changes
- Update package dependencies to resolve marked v0.3.6 security vunerability
- Correct the names of some tests with poor grammar/spelling
v1.1.0
Added
- This changelog to track changes easily
events.offAllhelper function to remove all event listeners from an events objectSignalhelper class that is a simpleEvent<undefined>instance and does not require data to be emitted
Changes
- Removed strict node engine version in package.json
- Now targets ES5 by default for output js files
- The IEvents interface now may be undefined to better represent arbitrary indexing of an events object
- Some README and jsdoc grammar/spelling tweaks