Skip to content

v5.1.7

Pre-release
Pre-release

Choose a tag to compare

@jonesiscoding jonesiscoding released this 25 Sep 19:43
· 6 commits to v5.x-dev since this release
69f4daf

With the v5 release, this library has adopted the concept of "Client Hints" and can act as a polyfill for official Client Hints, as well as add non-standard client hints for feature detection and other uses.

Other changes include:

  • Browser feature detection from CanIUse data
  • Improved pointer detection for hybrid devices
  • Configurable feature detection via JSON and adding your own classes
  • Configurable bot detection
  • Configurable "minimum feature set" for devices
  • Can provide mod_rewrite directives to automatically populate hints based on values from cookies or other hints.

This is a testing release, with additional documentation forthcoming.