@@ -6,21 +6,24 @@ and this project adheres to [Semantic Versioning].
66
77## [ 3.0.0] - 2021-??-??
88### Added
9- - ` PublicTypedEvent ` : Same as <= v2 ` Event ` .
9+ - ` PublicEvent ` : Same as <= v2 ` Event ` .
1010 - This can be used as a drop in replacement for the previous ` Event ` class
1111 when upgrading with no additional work.
12- - ` TypedEvent ` also added, but lacks an ` emit ` member function.
13- - This is intended to be the "main" event class going forward.
1412- ` createEventEmitter() ` is the new "main" method going forward to handle most
1513 events. See docs for use.
1614 - See [ #14 ] .
1715- ` createPublicEventEmitter() ` also added a matching API, but with
18- ` PublicTypedEvent ` events instead.
16+ ` PublicEvent ` events instead.
1917
2018### Changes
2119- ` events ` fully removed.
2220 - See [ #8 ] for discussion and alternatives when upgrading.
23- - ` Event ` replaced with ` PublicTypedEvent ` and ` TypedEvent ` listed above.
21+ - ` Event ` replaced with ` PublicEvent ` and ` Event ` listed above.
22+ - This is intended to be the "main" event class going forward, but never
23+ created directly.
24+ - ` emit ` removed, use ` PublicEvent ` as a drop-in replacement.
25+ - Constructing via ` new ` is no longer supported, and marked as such in the TS
26+ definitions.
2427- Exports changed to the new functions/classes/types.
2528
2629### Fixed
@@ -43,7 +46,7 @@ and this project adheres to [Semantic Versioning].
4346
4447## [ 1.1.1] - 2018-01-05
4548### Changes
46- - Update package dependencies to resolve marked v0.3.6 security vunerability
49+ - Update package dependencies to resolve marked v0.3.6 security vulnerability
4750- Correct the names of some tests with poor grammar/spelling
4851
4952## [ 1.1.0] - 2017-12-31
0 commit comments