All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support for PHP 8.1 dropped.
This version drops support for older PHPs, adds stricter types internally, and fixes some bugs.
- Support for PHP 7.4 and 8.0 has been dropped. Please use v2.0.0 if you need to use this with an older version of PHP.
- Types have been added for all properties, method parameters, and method returns.
- The
DeadLetterQueue::readOldest
method will now make requests to EventHub without anAccepts: application/json
header, which can force an XML-to-JSON conversion. This allows consumers to receive the message in its intended content type.
- Fixed an exception in the
RetryClient
that prevented it from dealing withConnectException
s.
There are no breaking changes to the library, but the minimum PHP version is now 7.4.
- Drop support for older versions of PHP.
- Update dependencies.
- EventHub changed one of the DLQ calls, so the library has been updated to reflect the new URL
- Two methods were added to DeadLetterQueue: readOldest() and moveFromDLQ(). These are necessary to pull your messages out of purgatory.
The first change is technically a breaking change (the method signature has been updated), but I am not incrementing the major version since your app is broken anyway -- it'll always 404 and throw an exception.
Add minimum PHP version & update dependencies
Initial release