Skip to content

v1 release candidate #1

Pre-release
Pre-release
Compare
Choose a tag to compare
@dakujem dakujem released this 16 Oct 12:28
· 9 commits to trunk since this release
694ed9f
  • extended type of the key parameter of methods pin, pass and tag to align with PHP's native array key behaviour (previously ?string, now string|int|null)
    • this is a BC break for classes implementing the corresponding interfaces, but should have minimal or no impact on real usage
  • phased out HttpExceptionBaseTrait (will be removed before stable release) in favor of a couple of new traits dedicated to client/server exceptions (next bullet point)
  • added HttpClientContextStrata and HttpServerContextStrata for 4xx and 5xx errors, respectively
  • HTTP exceptions now feature DefaultErrorMessage constant each
  • full test coverage