- Initial release.
- Added
Emitter.asEmitter()
functional mixin. - Added
defineEvents()
,defineMaxListeners()
,destroyEvents()
, anddestroyMaxListeners()
to provide management of the emitter interals with the mixin is used. - Removed dependency on
Symbol
.
- Added
Symbol.toStringTag
to shim.
- Added
Emitter.version
. - Added benchmark tests.
- Removed unnecessary return.
- Removed extra event registry safety checks.
- Fixed defect where the
every
listeners executed for multiple times for a namespaced event. - Traded in while-loop array cloning for
Array.prototype.slice()
which seems to perform better overall. - Improved performance of
trigger()
and thereforeemit()
. - Normalized the usage of internal
emitEvent()
method.
- Added
until()
.- Re-implemented
many()
usinguntil()
.
- Re-implemented
- Performance tweaks.
- Better error handling which resolves #1.
- Additional testing around
error
events.
- Made internal properties non-enumerable.
- Added
toJSON()
andtoString()
methods. - Additional testing.
- Updated development environment.
- Added roadmap to documentation.
- Removed
Symbol
andsetImmediate()
shims. - Removed
defineEvents()
,defineMaxListeners()
,destroyEvents()
, anddestroyMaxListeners()
. toJSON()
andtoString()
are no longer provided by the mixin but are part ofEmitter.prototype
.- Removed
Emitter.listenerCount()
. - Added
at()
,eventTypes()
,first()
,getMaxListeners()
, andsetMaxListeners()
. - Migrated to jsdocs for API documentation.
Symbol
values are nowString
values due to browser support.Emitter.asEmitter()
is now built intoEmitter()
.- Mixin has expanded syntax to allow for more flexibility.