- Files used in
Innmind\Http\Content\Multipart
are no longer loaded in memory
- Requires
innmind/filesystem:~7.0
Innmind\Http\Content\Multipart
now longer implementsInnmind\Filesystem\File\Content
, use->asContent()
Innmind\Http\Message\Response\Response
as been moved toInnmind\Http\Response
Innmind\Http\Message\Request\Request
as been moved toInnmind\Http\Request
Innmind\Http\Message\ServerRequest\ServerRequest
as been moved toInnmind\Http\ServerRequest
Innmind\Http\Message\Request\Stringable
has be called like this nowStringable::new()($request)
Innmind\Http\Message\Response\Stringable
has be called like this nowStringable::new()($request)
Innmind\Http\Message\ServerRequest\Stringable
has be called like this nowStringable::new()($request)
Innmind\Http\Message\Request\Stringable
has been moved toInnmind\Http\Request\Stringable
Innmind\Http\Message\Response\Stringable
has been moved toInnmind\Http\Response\Stringable
Innmind\Http\Message\ServerRequest\Stringable
has been moved toInnmind\Http\ServerRequest\Stringable
Innmind\Http\Message\StatusCode
has been moved toInnmind\Http\Response\StatusCode
Innmind\Http\Message\StatusCode\Range
has been moved toInnmind\Http\Response\StatusCode\Range
Innmind\Http\Message\Method
has been moved toInnmind\Http\Method
Innmind\Http\Message\Cookies
has been moved toInnmind\Http\ServerRequest\Cookies
Innmind\Http\Message\Environment
has been moved toInnmind\Http\ServerRequest\Environment
Innmind\Http\Message\Files
has been moved toInnmind\Http\ServerRequest\Files
Innmind\Http\Message\Form
has been moved toInnmind\Http\ServerRequest\Form
Innmind\Http\Message\Query
has been moved toInnmind\Http\ServerRequest\Query
Innmind\Http\Request
constructor is now private, use::of()
named constructor insteadInnmind\Http\ServerRequest
constructor is now private, use::of()
named constructor insteadInnmind\Http\Response
constructor is now private, use::of()
named constructor insteadInnmind\Http\ServerRequest\Cookies
constructor is now private, use::of()
named constructor insteadInnmind\Http\ServerRequest\Environment
constructor is now private, use::of()
named constructor instead
Innmind\Http\File\Input
Innmind\Http\Message\Response
Innmind\Http\Message\Request
Innmind\Http\Message\ServerRequest
Innmind\Http\Message
- Support for
innmind/immutable:~5.0
- Support for PHP
8.1
Innmind\Http\Headers::all()
Innmind\Http\Message\Request\Stringable::asContent()
Innmind\Http\Message\Response\Stringable::asContent()
Innmind\Http\Message\ServerRequest\Stringable::asContent()
Innmind\Http\Headers
now keeps the order in which headers are added
Innmind\Http\Headers::filter()
Innmind\Http\Message\Method::safe()
and::idempotent()
Innmind\Http\Header\ContentType\Boundary
Innmind\Http\Content\Multipart
Innmind\Http\Header\Age::age()
Innmind\Http\Header\AgeValue::age()
Innmind\Http\Header\Authorization::scheme()
Innmind\Http\Header\Authorization::parameter()
Innmind\Http\Header\ContentLength::length()
Innmind\Http\Header\ContentLengthValue::length()
Innmind\Http\Header\ContentLocation::url()
Innmind\Http\Header\ContentRange::range()
Innmind\Http\Header\ContentType::content()
Innmind\Http\Header\Cookie::parameters()
Innmind\Http\Header\Date::date()
Innmind\Http\Header\DateValue::date()
Innmind\Http\Header\Expires::date()
Innmind\Http\Header\Host::host()
Innmind\Http\Header\Host::port()
Innmind\Http\Header\IfModifiedSince::date()
Innmind\Http\Header\IfUnmodifiedSince::date()
Innmind\Http\Header\LastModified::date()
Innmind\Http\Header\Range::range()
Innmind\Http\Header\Referrer::referrer()
Innmind\Http\Header\ReferrerValue::url()
- Parsing
Content-Type
headers likeapplication/x-www-form-urlencoded
by reusing theinnmind/media-type
abstraction
Innmind\Http\Factory\ServerRequest\ServerRequestFactory::default()
now acceptsInnmind\Stream\Capabilities
as second argument
Innmind\Http\Header\Authorization
string representation no longer encapsulate the realm with"
Innmind\Http\File\Input
Innmind\Http\Factory\ServerRequest\ServerRequestFactory
now uses the newInput
as request body as the resource can't be rewinded
- Support for
innmind/filesystem:~6.0
Innmind\Http\Header\Location::url()
Innmind\Http\Message\StatusCode::maybe()