Releases: VIPnytt/UserAgentParser
Releases · VIPnytt/UserAgentParser
Version 1.0.5
PHP 8 now supported
Version 1.0.4
FormatException
now extends from\InvalidArgumentException
.- Updated tests to work with PHPUnit 6 (PHP 7.0+)
- Added Exception tests
- PHP 7.2 unit tested
Version 1.0.3
- Accept values of type
float
as version number - Triggers an
notice
(instead ofwarning
) for minor malformed user-agents - Replaced
preg_replace
withfilter_var
Version 1.0.2
- Improved white-space handling
Version 1.0.1
- Added backwards support for PHP 5.5.
Version 1.0.0
Finally, version 1.0 is here!
- All new set of methods
- Improved handling of version numbers
- Fine-graded groups, for a higher grade of matching
- Format checks
- Throws an error when a malformed user-agent is entered
- Truncates invalid characters if detected (also generates an warning)
Note: This version is version 0.2.x incompatible.
Version 0.2.1
- Parsing of user-agents with an unsupported format, now triggers an
FormatException
.
Version 0.2.0
Simplified usage, fewer type checks needed
- Removed 2nd parameter, $fallback from the
match()
method
Version 0.1.0
Initial release