Skip to content

v2.1.0

Choose a tag to compare

@matthewhudson matthewhudson released this 28 Sep 16:26
· 37 commits to main since this release
b5a038a

Minor Changes

  • #390 4b860a1 Thanks @matthewhudson! - Add HarmonyOS device detection via device.harmonyos(). HarmonyOS devices now get the harmonyos CSS class on <html> instead of android. Closes #375.

Patch Changes

  • #390 4b860a1 Thanks @matthewhudson! - Add real-world UA string test suite with 24 device fixtures covering iPhone, iPad, iPod, Android phones/tablets, macOS, Windows, Linux, Television, and edge cases. Fix device.macos() false positive on iOS devices (UA strings contain "Mac OS X").