Skip to content

phly/http 0.6.0

Latest
Compare
Choose a tag to compare
@weierophinney weierophinney released this 17 Oct 22:41
· 286 commits to master since this release

Updated component to psr/http-message 0.4.0. That release contains a number of backwards-incompatible changes.

Added

  • Added IncomingRequestFactory::setHeaders() for simplifying setting
    (overwriting) many headers at once from an array.
  • Updated MessageTrait::addHeader() to allow array values
  • Modified IncomingRequest to s/PathParams/Attributes/g

Deprecated

  • IncomingRequest now only allows arrays for either input or return values; Array-like objects are no longer accepted.
  • Removed ability to pass objects to MessageTrait::addHeader()/setHeader()
  • Removed setHeaders()/addHeaders() from MessageTrait
  • Modified IncomingRequest to s/PathParams/Attributes/g

Removed

  • Removed ability to pass objects to MessageTrait::addHeader()/setHeader()
  • Removed setHeaders()/addHeaders() from MessageTrait
  • Modified IncomingRequest to s/PathParams/Attributes/g

Fixed

  • #11 Moved PhlyTest autoloader configuration to autoload-dev key, as it is needed for development purposes only.