Skip to content

Releases: VIPnytt/UserAgentParser

Version 1.0.5

04 Apr 16:14
Compare
Choose a tag to compare

PHP 8 now supported

Version 1.0.4

17 Dec 14:29
Compare
Choose a tag to compare
  • 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

10 Aug 14:20
Compare
Choose a tag to compare
  • Accept values of type float as version number
  • Triggers an notice (instead of warning) for minor malformed user-agents
  • Replaced preg_replace with filter_var

Version 1.0.2

03 Aug 22:17
Compare
Choose a tag to compare
  • Improved white-space handling

Version 1.0.1

30 Jul 23:32
Compare
Choose a tag to compare
  • Added backwards support for PHP 5.5.

Version 1.0.0

15 Jul 17:32
Compare
Choose a tag to compare

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

28 Apr 15:53
Compare
Choose a tag to compare
  • Parsing of user-agents with an unsupported format, now triggers an FormatException.

Version 0.2.0

18 Apr 00:35
Compare
Choose a tag to compare

Simplified usage, fewer type checks needed

  • Removed 2nd parameter, $fallback from the match() method

Version 0.1.0

08 Apr 17:50
Compare
Choose a tag to compare

Initial release