This repository was archived by the owner on Aug 17, 2025. It is now read-only.
Releases: phly/conduit
Releases · phly/conduit
Conduit 0.14.0
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()(replacesgetBodyParams()).Phly\Conduit\Http\Request::withParsedBody()(replaceswithBodyParams()).
Deprecated
- Nothing.
Removed
Phly\Conduit\Http\Request::getBodyParams()(replaced bygetParsedBody()).Phly\Conduit\Http\Request::withBodyParams()(replaced bywithParsedBody()).
Fixed
Conduit 0.9.0
This version syncs Conduit with psr/http-message 0.6.0 and phly/http 0.8.1.
The primary changes are:
Phly\Conduit\Http\Requestnow implementsPsr\Http\Message\ServerRequestInterface, and extendsPhly\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\Responsenow implementsPsr\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, andPhly\Conduit\FinalHandleralso needed slight updates to work with the request/response changes.
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.