Skip to content

Latest commit

 

History

History
187 lines (100 loc) · 4.12 KB

CHANGELOG.md

File metadata and controls

187 lines (100 loc) · 4.12 KB

Change Log

v3.0.0 - Jan 21, 2025

  • Package is now a fully ESM-compliant module
  • Improved TypeScript definitions
  • Hammer.js is no longer a dependency due to the lack of maintenance. It has been ported to TypeScript and incorporated into mjolnir.js' code base. This will allow us to better address bugs and security issues moving forward.

v3.0.0-beta.4 - Dec 7, 2024

  • Update events option type

v3.0.0-beta.3 - Dec 7, 2024

  • Update events option type

v3.0.0-beta.2 - Dec 5, 2024

  • Fix type imports

v3.0.0-beta.1 - Dec 4, 2024

  • Fix infinite loop (#8)

v3.0.0-alpha.4 - Aug 28, 2024

  • fix: build config and import paths

v3.0.0-alpha.3 - Aug 27, 2024

  • chore: switch to @vis.gl/dev-tools and CI release

[3.0.0-alpha.1] - Aug 24, 2024

  • ES module
  • Improved TypeScript definitions
  • Hammer.js is no longer a dependency due to the lack of maintenance. It has been ported to TypeScript and incorporated into mjolnir.js' code base. This will allow us to better address bugs and security issues moving forward.

[2.7.2] - May 16, 2024

  • Remove use of deprecated MouseEvent.which property (#1)

[2.7.1] - Jul 21, 2022

  • Fix hammerjs import (#103)

[2.7.0] - Jun 9, 2022

[2.7.0-alpha.3] - May 23, 2022

  • Better types for event handler

[2.7.0-alpha.2] - Feb 25, 2022

  • Export additional types

[2.7.0-alpha.1] - Feb 8, 2022

  • Migrate to TypeScript (#95)
  • Bootstrap for typescript migration (#93)

[2.6.0] - Jul 3, 2021

  • Drop esnext entry point (#87)

[2.5.2] - Jun 24, 2021

  • Fix duplicate right click events when using multiple managers (#86)

[2.5.1] - May 10, 2021

  • Remove deprecated Firefox scroll event (#81)
  • Fix event.offsetCenter when root element is 0x0 (#82)

[2.5.0] - Apr 20, 2020

  • Support 3-finger pan events (#69)

[2.4.1] - Apr 20, 2020

  • Unblock pinch gesture when panning (#59)

[2.4.0] - Jan 29, 2020

  • Add tabIndex option; change default to 0 (#55)
  • Add eventManager.watch (#56)

[2.3.0] - Jan 13, 2020

  • Add priority option to event handlers (#54)

[2.2.1] - Aug 3, 2019

  • Revert "Avoid crash if imported in a web worker (#29)" (#49)

[2.2.0] - Aug 2, 2019

  • Use ocular-dev-tools (#43)
  • Add EventManager.once (#46)

[2.1.2] - June 5, 2019

  • Fix undefind userAgent (#40)

[2.1.1] - Jun 3, 2019

  • fix bug where tap threshold is not working (#36)

[2.1.0] - Feb 20, 2019

  • add anyclick event (#32)

[2.0.3] - Jan 8, 2018

  • Remove passive event listener warning in Chrome (#31)

[2.0.2] - Dec 18, 2018

  • Avoid crash if imported in a web worker (#29)

[2.0.1] - Nov 9, 2018

  • add support for pointerover, pointerout events (#25)
  • fix node 9+ support (#27)

[2.0.0] - Oct 31, 2018

  • Deprecate legacyBlockScroll and rightButton options

[2.0.0-alpha.3] - Sep 26, 2018

  • Add event.stopImmediatePropagation (#26)

[2.0.0-alpha.2] - Sep 24, 2018

  • Refactor event handling (#23)
  • Fix dblclick delay (#24)

[2.0.0-alpha.1] - Sep 24, 2018

  • NEW: Provide static browser/node targets (#22)

[1.2.2] - Sep 12, 2018

  • FIX: Remove commonjs to fix the problem with cjs/esm interop (#20)

[1.2.0] - Jun 13, 2018

  • NEW: A new option touchAction to EventManager that allows users to customize browser touch actions
  • NEW: Supports new event contextmenu

[1.1.0] - Apr 18, 2018

  • NEW: A new option legacyBlockScroll to EventManager that allows users to restore the default scroll behavior on wheel events

[1.0.1] - Jan 29, 2018

  • FIX: Missing dist-es6 in package

[1.0.0] - Jan 9, 2018

[1.0.0-alpha.2] - Dec 9, 2017

  • FIX: EventManager.destroy throws error if element is empty (#9)

[1.0.0-alpha.1] - Dec 4, 2017

  • NEW: Make DOM element optional in EventManager constructor (#8)

[0.4.1] - Nov 9, 2017

  • FIX: test failure under Node

[0.4.0] - Oct 13, 2017

  • Only fire keyboard events within the target element (#4)
  • Add flags for mouse buttons to event object (#5)

[0.3.0] - Oct 12, 2017

  • Support right mouse button gestures (#2)
  • Block click event if double clicking (#3)

[0.2.0] - Oct 5, 2017

  • Add propagation system (#1)