Releases: browscap/browscap-php
Releases · browscap/browscap-php
4.3.0
Release 4.3.0
4.3.0
- Total issues resolved: 0
- Total pull requests resolved: 17
- Total contributors: 4
enhancement
-
317: Added Laminas automatic releases thanks to @asgrim
-
316: Allow Guzzle 7.0 thanks to @StudioMaX
-
309: update config for dependabot thanks to @mimmi20
dependencies
- 305: Build(deps-dev): Update phpstan/phpstan requirement from ^0.12.8 to ^0.12.9 thanks to @dependabot-preview[bot]
- 296: Build(deps-dev): Update phpstan/phpstan requirement from ^0.12.4 to ^0.12.5 thanks to @dependabot-preview[bot]
- 295: Build(deps-dev): Update phpstan/phpstan-phpunit requirement from ^0.12.5 to ^0.12.6 thanks to @dependabot-preview[bot]
- 294: Build(deps-dev): Update phpstan/phpstan-deprecation-rules requirement from ^0.12.1 to ^0.12.2 thanks to @dependabot-preview[bot]
- 293: update dependencies thanks to @mimmi20
- 290: Build(deps-dev): Update localheinz/composer-normalize requirement from ^1.3.1 to ^2.2.0 thanks to @dependabot-preview[bot]
- 289: Build(deps-dev): Update phpstan/phpstan-strict-rules requirement from ^0.12.0 to ^0.12.1 thanks to @dependabot-preview[bot]
- 288: Build(deps-dev): Update phpstan/phpstan-deprecation-rules requirement from ^0.12.0 to ^0.12.1 thanks to @dependabot-preview[bot]
- 287: Build(deps-dev): Update phpstan/phpstan-beberlei-assert requirement from ^0.12.0 to ^0.12.2 thanks to @dependabot-preview[bot]
- 286: Build(deps-dev): Update phpstan/phpstan requirement from ^0.12.3 to ^0.12.4 thanks to @dependabot-preview[bot]
- 285: Build(deps-dev): Update phpstan/phpstan-phpunit requirement from ^0.12.3 to ^0.12.5 thanks to @dependabot-preview[bot]
- 283: Build(deps): Update guzzlehttp/guzzle requirement from ^6.5.1 to ^6.5.2 thanks to @dependabot-preview[bot]
- 282: Build(deps-dev): Update phpstan/phpstan-phpunit requirement from ^0.12.2 to ^0.12.3 thanks to @dependabot-preview[bot]
- 281: Build(deps): Update guzzlehttp/guzzle requirement from ^6.5.0 to ^6.5.1 thanks to @dependabot-preview[bot]
4.2.2
Total issues resolved: 4
4.2.1
4.2.0
Total issues resolved: 10
- 243: Fatal error
- 244: Update Dependencies
- 245: Update Readme
- 250: add return codes for commands
- 252: No $return_array option.
- 253: Remove incorrect $return_array instructions.
- 254: update dependencies, fix errors and codingstyle
- 255: vendor\bin\browscap-php browscap:fetch didn't output anything
- 257: write information about used local file to output
- 258: Allow PHP 7.3
4.1.0
Mainly adds support for PHP 7.2 👍
Total issues resolved: 5
4.0.0
What's changed in version 4.x
BC breaks listed
- Strict type hints have been added throughout. This may break some type assumptions made in earlier versions.
CheckUpdateCommand
,ConvertCommand
,LogfileCommand
,ParserCommand
,UpdateCommand
removedsetCache
methods
so that caches must now be constructor-injected- Many classes are now
final
- use composition instead of inheritance PropertyFormatter
now assumes any non-truthy values arefalse
checkUpdate
method now throws an exception if we could not determine the "remote" version, or if there is no
version in cache already.log
method was removed
Changes
- for caching the Doctrine Cache package is used
- Any other Cache compatible with PSR-16 could be used
- instead of the
debug
flag for the CLI commands the verbose flag has to be used
** For full migration details, please see https://github.com/browscap/browscap-php/blob/4.0.0/README.md **
Total issues resolved: 24
- 174: replace WurflCache with doctrine/cache
- 191: Create a separate component for Apache logfile reader
- 192: Replace setter injection with constructor injection hinting to interfaces
- 193: Remove all fluid interfaces
- 194: Add type declarations throughout, including
: void
(php 7.1) - 195: Add interfaces for many classes
- 196: LoggerHelper should be a static util class
- 197: Pattern::getHashForPattern has has mixed return types
- 198: Browscap::setCache accepts mixed types
- 199: Move to minimum of PHP 7.1
- 200: Use PHPUnit 6 and update other dependencies
- 202: bump php version
- 205: Fix broken headings in Markdown files
- 212: Inconsistent BrowscapPHP::getBrowser() property types
- 214: fix default output parameters
- 216: BrowscapUpdater::checkUpdate is inconvenient to use programatically
- 217: update version check
- 218: Replace cache
- 220: update other dependencies
- 221: update other dependencies
- 222: add static code analysis
- 227: Allow Symfony 4.0 in composer.json
- 231: update readme and dependencies
- 232: remove Log command
3.1.0
Total issues resolved: 13
- 165: BrowscapUpdater frequently times out
- 167: fix timeout parameter
- 168: Update README.md
- 169: How to update memcached cache?
- 170: remove default timeout
- 172: cURL error 28: Operation timed out after 5000 milliseconds
- 175: Added Set timeout, required to increase the timeout value
- 176: fix readme.md
- 180: Removing extraneous space in php_cs config
- 181: Removing is_array calls in PropertyHolder
- 184: Update travis config
- 186: Support pattern ids
- 187: add new tests
3.0.0
Total issues resolved: 18
- 39: IsBot() method
- 119: Due date v3.0.0
- 143: Upgrade guide from 2.x to 3.x
- 144: Upgrade symfony/console to v3
- 145: Upgraded symfony/console to v3.0
- 146: Updated composer deps - fixes lowest version and drops PHP 5.5
- 147: add new properties
- 148: Detect loaded file type
- 149: adding file type to cache
- 150: A bit wired (at least in my head)
- 151: Fix failing test
- 154: #143: add short upgrade guide.
- 155: Issue 150: split updating logic from main Browscap class
- 156: replace FileLoader with GuzzleHttp
- 157: replacing FileLoader with GuzzleHttp
- 159: Add formatter that works like 2.x
- 163: #143: add short upgrade guide.
- 164: Update coding style
3.0.0-rc.1
Total issues resolved: 17
- 64: fetch command check for updates
- 122: [3.x\ CLI command for full browscap file?
- 123: use vendor/bin/browscap-php for branch 3
- 124: Issue 122
- 127: Issue 64
- 129: 3.x getVersion() does not work?
- 130: Issue 129
- 131: fix version check
- 132: Get lastUpdated of browscap
- 133: adding releaseDate to cache
- 134: Checking for new version doesn't work
- 135: Issue 134
- 138: adding releaseDate to cache
- 139: add new properties
- 140: 3.x Change resources directory path
- 141: Change API to accept cache directory
- 142: make cache option optional
Release 2.1.1
PLEASE NOTE CAREFULLY
This is the final FINAL release in the 2.x
series of browscap/browscap-php
releases, unless a critical security vulnerability is found. The 2.x
series is NOW DEPRECATED henceforth, and we highly recommend upgrading to use the 3.x
branch (at time of tagging, the latest release is 3.0.0-beta.1
).
2.1.1 Release
Total issues resolved: 2