Skip to content

Releases: phly/conduit

Conduit 0.14.0

17 Feb 14:41
Compare
Choose a tag to compare

This release updates its dependencies to use psr/http-message >= 0.9.0 and
phly/http >= 0.11.0. The primary changes that affect Conduit regard changes to
Psr\Http\Message\ServerRequestInterface, which required method name and
signature changes in Phly\Conduit\Http\Request.

Added

  • Phly\Conduit\Http\Request::getParsedBody() (replaces getBodyParams()).
  • Phly\Conduit\Http\Request::withParsedBody() (replaces withBodyParams()).

Deprecated

  • Nothing.

Removed

  • Phly\Conduit\Http\Request::getBodyParams() (replaced by getParsedBody()).
  • Phly\Conduit\Http\Request::withBodyParams() (replaced by withParsedBody()).

Fixed

  • #34 Remove unused variable from
    test bootstrap.
  • #35 Rename phpunit.xml to
    phpunit.xml.dist.

Conduit 0.9.0

19 Jan 01:38
Compare
Choose a tag to compare

This version syncs Conduit with psr/http-message 0.6.0 and phly/http 0.8.1.

The primary changes are:

  • Phly\Conduit\Http\Request now implements Psr\Http\Message\ServerRequestInterface, and extends Phly\Http\ServerRequest, which means it is also now immutable. It no longer provides property access to attributes, and also now stores the original request, not the original URI, as a property, providing an accessor to it.
  • Phly\Conduit\Http\Response now implements Psr\Http\Message\ResponseInterface, which means it is now immutable.
  • The logic in Phly\Conduit\Next's __invoke() was largely rewritten due to the fact that the request/response pair are now immutable, and the fact that the URI is now an object (simplifying many operations).
  • The logic in Phly\Conduit\Middleware, Phly\Conduit\Dispatch, and Phly\Conduit\FinalHandler also needed slight updates to work with the request/response changes.

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.