Releases: ThaDafinser/UserAgentParser
Releases · ThaDafinser/UserAgentParser
Removed 2 providers + model update
Since i removed 2 providers, a new major version.
Added
- Provider name+version to model (so you indicate where the results come from, when you use e.g. ChainProvider)
Removed
- UserAgentStringCom (http - is down for too long now)
- Wurfl (local - no updates anymore https://github.com/mimmi20/wurfl)
Custom composer installation dir
This package now requires thadafinser/package-info
.
With this update custom composer folders are now supported. Previously the directory needed to be vendor
that this package works.
new providers + new methods
- new providers
- Endorphin
- HandsetDetection
- Http\FiftyOneDegreesCom
- new methods
- $result->isBot()
- $result->isMobile()
Various improvements
- added license to all files
- improved version parsing
- updated dependencies
- more testing
new providers + integration tests
- dropped PHP 5.5 support
- it still works, you could install it with composer flag
--ignore-platform-reqs
- it still works, you could install it with composer flag
- new local provider
JenssegersAgent
- new local provider
Zsxsoft
- split
Browscap
class to the 3 types (Lite, PHP, Full) UAParser
more generics removedWurfl
fixed bot/mobile/touch detection (in some cases was true instead of string true)- _For every provider (local and HTTP) we got now INTEGRATION tests_ 🎉
removed a lot of generics
Some providers return generics instead of real return value.
For example Linux desktop
is not a device model
http://thadafinser.github.io/UserAgentParserComparison/v4/user-agent-detail/00/44/0044ec71-1f60-4d05-9223-cde400990256.html
We believe this is wrong, so we removed many of them (some may be still returned)
List of providers, with reduced return values now
- BrowscapPhp (browserName, deviceModel, botName)
- NeutrinoApiCom (deviceBrand, deviceModel)
- WhatIsMyBrowserCom (browserName, deviceModel)
- PiwikDeviceDetector (botName)
- SinergiBrowserDetector (deviceModel)
- UAParser (deviceBrand, deviceModel, botName)
- Woothee (botName)
- Wurfl (deviceBrand, deviceModel)
improved some HTTP providers
Improvements for
- BrowscapPhp
- UdgerCom
- UserAgentStringCom
- WhatIsMyBrowserCom
v1.0.1: Merge pull request #52 from ThaDafinser/feature/defaults
fixing some defaults
first stable release
Merge pull request #48 from ThaDafinser/hotfix/php7 green build for php7 + hhvm
new provider methods
Now each provider has following standard methods, to gather data about them
$provider->getName();
$provider->getHomepage();
$provider->getPackageName();
$provider->getVersion();
$provider->getUpdateDate();