Skip to content

Releases: serbanghita/Mobile-Detect

Empty userAgent string doesn't throw an Exception anymore, instead it returns false.

28 Oct 16:12
4.8.04
b73a5bd
Compare
Choose a tag to compare
  • [bug] No user-agent has been set #946
  • added docker-compose.yml with images: setup (composer), runUnitTests, runPerfTests, runLinting, generateModel

Added back implicit $_SERVER scanning for setting the User-Agent string.

15 Oct 18:38
4.8.03
253bedd
Compare
Choose a tag to compare
  • added optional $config to MobileDetect constructor.
  • added autoInitOfHttpHeaders configuration which is by default true. This enabled the old behavior from 3.x and 2.x that allows automatic detection of HTTP headers and User Agent from $_SERVER.
  • refactored internal CloudFront related methods and the way setHttpHeaders work. It no longer falls back on $_SERVER. The method still calls setUserAgent in case HTTP_USER_AGENT and friends are present.
  • added maximumUserAgentLength to the $config, by default the limit is 500.

4.8.01: MobileDetect version with PSR-16 Cache support.

06 Oct 10:14
4.8.01
dd87abc
Compare
Choose a tag to compare

Other

  • removed unused dependencies
  • removed old examples
  • rearranged /scripts/ folder

3.74.0 - official PHP7 support

04 Dec 15:42
Compare
Choose a tag to compare