Releases: caseyamcl/guzzle_retry_middleware
Releases · caseyamcl/guzzle_retry_middleware
Version 2.12.1
Version 2.12.0
Added
- Support for connection reset by peer (thanks @fredericgboutin-yapla)
Version 2.11.0
Added
- Include RequestInterface as
should_retry_callback
argument when triggered (thanks @Nicolai-).
Removed
.scrutinizer.yml
file (not used anymore)
Version 2.10.0
Added
- Include
on_retry_callback
argument when triggered byonRejected
(thanks @ViktorCollin) - PHP 8.3 tests in GitHub builds
Fixed
- Ensure that no requests are sent after the
give_up_after_secs
expires, and fail quickly (thanks @rubentebogt) - Minor code syntax and comment fixes
- Cleaned up this CHANGELOG a bit
Version 2.9.0
Added
Version 2.8.0
Added
- New
should_retry_callback
parameter. - GitHub Action build for PHP 8.2
Changed
- Added some extra parameters to PHPStan checks to make sure they don't fail on automated builds
- Minor
README
updates
Version 2.7.1
Fixed
- Composer 2.2+ security issue with installing
phpstan/extension-installer
- Ensure
XDEBUG_MODE
environment variable is set when running PHPUnit
Version 2.7
Added
- Support PHP v8.1
- New
give_up_after_secs
parameter
Changed
- Upgraded to PHPStan 1.2
- Improved comments for options array
Version 2.6.1
Added
- PHPStan in dev dependencies
- Additional build checks (PHPStan and PHP-CS)
- Automatic SVG badge generation for code coverage
Fixed
- Made
GuzzleRetryMiddleware::__construct
method final $options
parameter comments PHPStan was complaining aboutshouldRetryHttpResponse
values assume that the$response
parameter is not null- Ensure date
$dateFormat
is never NULL or empty string inderiveTimeoutFromHeader
- Additional cleanup based on PHPStan report
Removed
- Build dependency on scrutinizer.org service
Version 2.6
Added
- GitHub Actions build status badge in
README.md
- Support for custom date formats in
Retry-After
header via newretry_after_date_format
option max_allowable_timeout_secs
option to set a ceiling on the maximum time the client is willing to wait between requests- Support for Guzzle 7 class-based static methods
Changed
- Removed unnecessary comments
- Name of Github Action to
Github Build
Removed
.travis.yml
build support (switched to Github Actions)