Releases: Wolfcast/BrowserDetection
Releases · Wolfcast/BrowserDetection
Version 2.9.8
April 21, 2024
What's new since last version:
- Added macOS Sonoma and macOS Ventura detection. Note that all the majors Web browsers have reported macOS Catalina since 2021 for any macOS 11+ versions. See the documentation of macVerToStr() for more details.
- Improved the library documentation when detecting Windows version names since Windows 11 is always reported as Windows 10. See windowsNTVerToStr() for more details.
- Updated HTML documentation of the library to the latest version of phpDocumentor.
Version 2.9.7
September 20, 2022
What's new since last version:
- Changed licensing to dual licensing: MIT or LGPL-3.0-only. This has no impact on existing users. You can continue under the previous license or switch to MIT.
Version 2.9.6
May 1, 2022
What's new since last version:
- Added support for Chrome OS.
- Added support for macOS Monterey and macOS Big Sur.
- Now correctly detects AArch64 as 64-bit.
- Added support for PHP 8.
- Tested with latest Web Browsers and platforms.
Version 2.9.5
February 2, 2020
What's new since last version:
- WARNING! Breaking change: complete rework of robots detection. Now robot name and version is detected in addition of browser name and version. Use
getRobotName()
andgetRobotVersion()
whenisRobot()
is true. - WARNING! Breaking change: due to robots detection rework the following methods signatures has changed (
isRobot
parameter removed):addCustomBrowserDetection()
,checkSimpleBrowserUA()
,checkBrowserUAWithVersion()
. - Added possibility to support new robots with
addCustomRobotDetection()
. - Added support for the new Microsoft Edge based on Chromium.
- Added version names for Android 10 and later (Google no longer use candy names for new versions).
- Added macOS Catalina detection.
- Added Windows Server 2019 detection (Windows Server 2016 can be no longer detected due to the fact that they both use the same version number and that the build is not included in the user agent).
Version 2.9.3
March 27, 2019
What's new since last version:
- Fixed Edge detection on Android.
- Added Android Q detection.
- Now filtering superglobals.
Version 2.9.2
February 28, 2019
What's new since last version:
- Fixed Opera detection.
Version 2.9.1
August 23, 2018
What's new since last version:
- Fixed Chrome detection under iOS.
- Added Android Pie detection.
- Added macOS Mojave detection.
Version 2.9.0
July 15, 2018
What's new since last version:
- WARNING! Breaking change: new Wolfcast namespace. Use
new Wolfcast\BrowserDetection()
. - iPad, iPhone and iPod are all under iOS now.
- Added Android Oreo detection.
- Added macOS High Sierra detection.
- Added UC Browser detection.
- Improved regular expressions (even less false positives).
- Removed AOL detection.
- Removed the following Web browsers detection: Amaya, Galeon, NetPositive, OmniWeb, Vivaldi detection (use
addCustomBrowserDetection()
). - Removed the following legacy platforms detection: BeOS, OS/2, SunOS (use
addCustomPlatformDetection()
).
To re-enable removed Web browsers and platforms in this release you can simply do:
$browser = new Wolfcast\BrowserDetection();
$browser->addCustomBrowserDetection('Amaya', 'amaya');
$browser->addCustomBrowserDetection('Galeon');
$browser->addCustomBrowserDetection('NetPositive');
$browser->addCustomBrowserDetection('OmniWeb');
$browser->addCustomBrowserDetection('Vivaldi');
$browser->addCustomPlatformDetection('BeOS');
$browser->addCustomPlatformDetection('OS/2');
$browser->addCustomPlatformDetection('SunOS');
Version 2.5.1
November 28, 2016
What's new since last version:
- Better detection of 64-bit platforms.
Version 2.5.0
August 19, 2016
What's new since last version:
- Platform version and platform version name are now supported for Mac.
- Fixed platform version name for Android.