Skip to content

Latest commit

 

History

History
122 lines (66 loc) · 5.49 KB

CHANGELOG.md

File metadata and controls

122 lines (66 loc) · 5.49 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

4.0.2 (2022-10-22)

Bug Fixes

  • cannot install due to unnecessary postinstall script (d857003)

4.0.1 (2022-10-21)

Bug Fixes

  • compatible with typescript node16 module resolution (94ad6aa)

4.0.0 (2022-10-21)

⚠ BREAKING CHANGES

  • drop node.js v12 and v17
  • only support node ^12.22.0 || ^14.17.0 || >=16.13.0
  • drop node 10
  • require react >=16.14.0 and typescript >=4.1.2

Bug Fixes

  • export valid es modules files (f5fad3a)

  • make typescript as optional peer dependency (feff3eb)

  • bump node version requirement (7774dc8)

  • drop node 10 (0f7b3f4)

  • drop node.js v12 and v17 (da930ed)

  • use react jsx-runtime (d721958)

3.0.0 (2020-08-03)

⚠ BREAKING CHANGES

  • move default export in commonjs build to the .default property

Features

  • move default export in commonjs build to the .default property (72820c1)

2.0.2 (2020-06-26)

Bug Fixes

  • allow undefined element (81ba810)

2.0.1 (2020-05-21)

Bug Fixes

  • lower bundle size by using @babel/runtime (799389e)

2.0.0 (2020-04-16)

⚠ BREAKING CHANGES

  • drop nodejs < 10.13

Bug Fixes

  • typescript: does not provide correct type to work with react ref (77d177c)

1.3.1 (2019-06-05)

Bug Fixes

  • enable tree shaking for package fast-equals (#5) (1ac8ef4)

1.3.0 (2019-06-04)

Features

1.2.0 (2019-06-04)

Features

  • accept useCapture or options as 4th argument (#4) (043511b)

Tests

  • should bind event listener and call with event (bf593d7)

1.1.1 (2019-06-01)

Bug Fixes

  • add license in package.json (5e4f06b)

1.1.0 (2019-06-01)

Bug Fixes

  • include LICENSE in release (b63b5e8)

Features

  • bind this in event listener (6fcd560)

1.0.0 (2019-05-31)

Bug Fixes

  • include fallback event in typings (8c4c551)

Features

  • add useEventListener function (205af61)
  • avoid keep updating listener in DOM (cb6ca49)

Tests

  • add tests for useEventListener (0a3938b)
  • should update event listener without re-binding (1b412e8)