Skip to content

Releases: sindresorhus/emittery

v0.10.1

05 Feb 03:51
Compare
Choose a tag to compare

v0.10.0...v0.10.1

v0.10.0

11 Sep 16:55
Compare
Choose a tag to compare
  • Fix support for typed subscriptions for multiple event names for .on() (#84) c4c11e4

v0.9.2...v0.10.0

v0.9.2

02 Jun 13:31
Compare
Choose a tag to compare
  • Fix browser compatibility (for real this time) 48bc0a9

v0.9.1...v0.9.2

v0.9.1

01 Jun 16:31
Compare
Choose a tag to compare
  • Fix browser compatibility 30a859a

v0.9.0...v0.9.1

v0.9.0

28 May 16:32
Compare
Choose a tag to compare

Breaking

Improvements

v0.8.1...v0.9.0

v0.8.1

04 Jan 03:37
Compare
Choose a tag to compare
  • Fix support for typed subscriptions for multiple event names for .events() (#74) 53caa07
  • Improve TypeScript types compatibility with p-event package (#73) 30093fd

v0.8.0...v0.8.1

v0.8.0

30 Dec 06:39
Compare
Choose a tag to compare

Breaking

  • Move the strongly-typed .Typed types into the main TypeScript types (#69) df35ea6

Migrate:

-const emitter = new Emittery.Typed<{value: string}, 'open' | 'close'>();
+const emitter = new Emittery<
+	{
+		value: string,
+		open: undefined,
+		close: undefined
+	}
+>();

Improvements

  • Allow async listeners in the TypeScript types (#70) 7db4644

v0.7.2...v0.8.0

v0.7.2

17 Oct 00:06
Compare
Choose a tag to compare
  • Add symbol to Emittery.mixin's emitteryPropertyName types (#65) 3c65ac5

v0.7.1...v0.7.2

v0.7.1

05 Jul 13:54
Compare
Choose a tag to compare
  • Fix using symbol event names in iterator and clearListeners (#57) 3c082a2

v0.7.0...v0.7.1

v0.7.0

11 May 14:17
Compare
Choose a tag to compare
  • Support listening to multiple events at the same time (#52) 3970fae
  • Ensure .emit() doesn't return a value (#56) 5e13246

v0.6.0...v0.7.0