Skip to content

Latest commit

 

History

History
146 lines (100 loc) · 4.93 KB

CHANGELOG.md

File metadata and controls

146 lines (100 loc) · 4.93 KB

Changelog

7.0.1 - 2024-03-27

Fixed

  • Files used in Innmind\Http\Content\Multipart are no longer loaded in memory

7.0.0 - 2023-10-22

Changed

  • Requires innmind/filesystem:~7.0
  • Innmind\Http\Content\Multipart now longer implements Innmind\Filesystem\File\Content, use ->asContent()
  • Innmind\Http\Message\Response\Response as been moved to Innmind\Http\Response
  • Innmind\Http\Message\Request\Request as been moved to Innmind\Http\Request
  • Innmind\Http\Message\ServerRequest\ServerRequest as been moved to Innmind\Http\ServerRequest
  • Innmind\Http\Message\Request\Stringable has be called like this now Stringable::new()($request)
  • Innmind\Http\Message\Response\Stringable has be called like this now Stringable::new()($request)
  • Innmind\Http\Message\ServerRequest\Stringable has be called like this now Stringable::new()($request)
  • Innmind\Http\Message\Request\Stringable has been moved to Innmind\Http\Request\Stringable
  • Innmind\Http\Message\Response\Stringable has been moved to Innmind\Http\Response\Stringable
  • Innmind\Http\Message\ServerRequest\Stringable has been moved to Innmind\Http\ServerRequest\Stringable
  • Innmind\Http\Message\StatusCode has been moved to Innmind\Http\Response\StatusCode
  • Innmind\Http\Message\StatusCode\Range has been moved to Innmind\Http\Response\StatusCode\Range
  • Innmind\Http\Message\Method has been moved to Innmind\Http\Method
  • Innmind\Http\Message\Cookies has been moved to Innmind\Http\ServerRequest\Cookies
  • Innmind\Http\Message\Environment has been moved to Innmind\Http\ServerRequest\Environment
  • Innmind\Http\Message\Files has been moved to Innmind\Http\ServerRequest\Files
  • Innmind\Http\Message\Form has been moved to Innmind\Http\ServerRequest\Form
  • Innmind\Http\Message\Query has been moved to Innmind\Http\ServerRequest\Query
  • Innmind\Http\Request constructor is now private, use ::of() named constructor instead
  • Innmind\Http\ServerRequest constructor is now private, use ::of() named constructor instead
  • Innmind\Http\Response constructor is now private, use ::of() named constructor instead
  • Innmind\Http\ServerRequest\Cookies constructor is now private, use ::of() named constructor instead
  • Innmind\Http\ServerRequest\Environment constructor is now private, use ::of() named constructor instead

Removed

  • Innmind\Http\File\Input
  • Innmind\Http\Message\Response
  • Innmind\Http\Message\Request
  • Innmind\Http\Message\ServerRequest
  • Innmind\Http\Message

6.4.0 - 2023-09-16

Added

  • Support for innmind/immutable:~5.0

Removed

  • Support for PHP 8.1

6.3.0 - 2023-04-30

Added

  • Innmind\Http\Headers::all()
  • Innmind\Http\Message\Request\Stringable::asContent()
  • Innmind\Http\Message\Response\Stringable::asContent()
  • Innmind\Http\Message\ServerRequest\Stringable::asContent()

Changed

  • Innmind\Http\Headers now keeps the order in which headers are added

6.2.0 - 2023-04-02

Added

  • Innmind\Http\Headers::filter()
  • Innmind\Http\Message\Method::safe() and ::idempotent()
  • Innmind\Http\Header\ContentType\Boundary
  • Innmind\Http\Content\Multipart

6.1.0 - 2023-02-17

Added

  • 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()

6.0.1 - 2023-02-12

Fixed

  • Parsing Content-Type headers like application/x-www-form-urlencoded by reusing the innmind/media-type abstraction

6.0.0 - 2023-01-29

Added

  • Innmind\Http\Factory\ServerRequest\ServerRequestFactory::default() now accepts Innmind\Stream\Capabilities as second argument

Changed

  • Innmind\Http\Header\Authorization string representation no longer encapsulate the realm with "

5.3.1 - 2022-12-18

Added

  • Innmind\Http\File\Input

Fixed

  • Innmind\Http\Factory\ServerRequest\ServerRequestFactory now uses the new Input as request body as the resource can't be rewinded

5.3.0 - 2022-12-18

Added

  • Support for innmind/filesystem:~6.0

5.2.0 - 2022-03-13

Added

  • Innmind\Http\Header\Location::url()

5.1.0 - 2022-03-12

Added

  • Innmind\Http\Message\StatusCode::maybe()