Skip to content

Latest commit

 

History

History
212 lines (124 loc) · 5.09 KB

CHANGELOG.md

File metadata and controls

212 lines (124 loc) · 5.09 KB

CHANGELOG

All notable changes to this project will be documented in this file.

Tags

  • Features
  • Bug Fixes
  • Performance Improvements
  • Enhancements
  • Dependency Updates
  • Breaking Changes
  • Documentation
  • Internal
  • Unreleased

v5.0.0 (2024-06-22)

Enhancements

v4.1.0 (2021-06-25)

Features

  • option to clear hooks with hook-name (2891432)
  • improved typings (a85d082)

v4.0.0 (2021-06-25)

Breaking Changes

  • wildcard events listeners will now receive event type as first argument (ab8df44)

Before

event.on('*', (payload) => {});

Now

event.on('*', (type, payload) => {});

v3.2.0 (2021-06-14)

Features

Bug Fixes

  • do not expose Map methods (54d4c1e)

v3.1.1 (2021-01-07)

Documentation

v3.1.0 (2021-01-07)

Enhancements

  • event class extends Map (6944261)

v3.0.2 (2021-01-07)

Documentation

v3.0.1 (2021-01-07)

Bug Fixes

  • update Event class export (02967b0)

v3.0.0 (2021-01-07)

Features

Breaking Changes

  • removed event.off method (9af54d1)

Before

const event = new Events();

const handler = () => {};

event.on('a', handler);

// To Unsubscribe
event.off('a', handler);
// or
event.off('a');

After

const event = new Events();

const handler = () => {};

const unsubscribe = event.on('a', handler);

// To Unsubscribe
unsubscribe();
// or
event.unbindAll('a');

v2.1.2 (2021-01-05)

Bug Fixes

v2.1.1 (2021-01-05)

Bug Fixes

v2.1.0 (2021-01-05)

Features

  • disable sideEffects for webpack compilation (8b2f0f8)
  • perfer modules instead of browser (1db3597)
  • support * wildcard event listener (baf787f)
  • remove private properties (15bc041)

v2.0.6 (2020-12-13)

Internal

v2.0.5 (2020-12-13)

Internal

v2.0.4 (2019-11-17)

Internal

  • migrate from travis-ci to Github actions (edb028f)
  • bump devDependencies (c387a5d)

v2.0.3 (2019-11-12)

Internal

  • update rollup to v1.27.0 (6d14f87)
  • update main field in package.json (9bd7f6a)

v2.0.2 (2019-11-12)

Enhancements

  • return immutable object while invoking the constructor function (b691adf)

v2.0.1 (2019-11-11)

Documentation

  • remove/update outdated api's from README.md (8db7c34)

v2.0.0 (2019-11-11)

Breaking Changes

  • remove detachEvents method (c701e6d)
  • rename detachAll method to unbindAll (c701e6d)

Internal

  • update rollup to v1.26.5 (19e6cc8)
  • update terser to v4.4.0 (19e6cc8)

v1.1.1 (2019-11-10)

Bug Fixes

v1.1.0 (2019-11-10)

Features

v1.0.0 (2019-11-10)

Features

  • Initial Release: Javascript events