Skip to content

Releases: rafgraph/detect-it

v4.0.1

12 Feb 00:20
Compare
Choose a tag to compare
  • Support IE11 via #25

v4.0.0

17 Dec 02:58
Compare
Choose a tag to compare
  • Rewritten from the ground up in TypeScript
  • 40% smaller than v3
  • Improved detection, especially for hybrid devices
  • Supports Pointer Events
  • There are breaking changes to the api, please see the readme for the new api
  • Open an issue if you have any questions about upgrading from v3

v3.06

10 Sep 19:41
Compare
Choose a tag to compare
  • Bump detect dependencies

v3.0.5

21 Apr 17:06
Compare
Choose a tag to compare
  • Use pointer media query instead of hover media query to determine primaryInput to fix issues on Samsung devices using Chrome v65

v3.0.4

05 Dec 03:56
Compare
Choose a tag to compare
  • Limit Windows Chrome hybrid media query workaround to v59 through v61
  • See #8

v3.0.3

26 Sep 18:30
Compare
Choose a tag to compare
  • Upgrade detect-passive-events to fix bug in Edge v15

v3.0.2

25 Sep 19:00
Compare
Choose a tag to compare
  • Upgrade detect dependencies

v3.0.1

15 Aug 22:26
Compare
Choose a tag to compare
  • Fix issue with Windows Chrome on hybrid devices starting in version 59 where media queries represent a touchOnly device, so if the browser is an affected Windows Chrome version and hasTouch, then assume it's a hybrid with primaryInput: 'mouse'
  • See #8

v3.0.0

04 May 02:50
Compare
Choose a tag to compare
  • detectIt.primaryInput replaces primaryHover and primaryPointer, primary hover and pointer can be accessed through detectIt.state.detectHover and detectIt.state.detectPointer
  • Fix for browsers that don't support hover and pointer media queries (see #4)

v2.0.0

14 Nov 21:03
Compare
Choose a tag to compare
  • Remove support for Pointer Events
  • detectIt.hasTouch now indicates that the device supports the Touch Events API, and replaces detectIt.hasTouchEventsApi
  • Add detectIt.hasMouse which indicates that the deviceType is mouseOnly or hybrid