Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Releases: codeinchq/psr7-responses

2.1.2

12 Oct 15:06
d4bb6bc
Compare
Choose a tag to compare
  • New methods JsonResponse::fromArray() and JsonResponse:fromObject()
  • Now requires PHP 7.2
  • Code improvement
  • See #23 for changelog

2.1.1

08 Oct 15:36
37c2c74
Compare
Choose a tag to compare

2.1.0

08 Oct 15:24
4577b32
Compare
Choose a tag to compare

2.0.2

08 Oct 14:11
4598f7d
Compare
Choose a tag to compare

2.0.1

08 Oct 13:37
c04f0a2
Compare
Choose a tag to compare

2.0.0

08 Oct 13:22
166b7ed
Compare
Choose a tag to compare

⚠️ The version is not compatible with v1. The arguments of the responses constructors have been modified. The availables responses are the same between v1 and v2 except for DebugResponse which has been removed.

This version is optimized for PSR-17 HTTP factories. The HTTP status code $code and reason phrase $reasonPhrase parameters of all responses have been moved to be the first optional parameters of all responses.

See #18 for full changelog.

1.4.5

14 Sep 15:37
57c90e0
Compare
Choose a tag to compare
  • Code improvement
  • See #17 for full changelog

1.4.4

14 Sep 15:31
4365e9c
Compare
Choose a tag to compare
  • Improvement of FileResponse
  • New response class LocalFileResponse
  • ResponseException now extends RuntimeException
  • See #16 for full changelog

1.4.3

14 Sep 15:15
566a965
Compare
Choose a tag to compare
  • improvement of FileResponse
  • improvement of StreamResponse
  • see #15 for full changelog

1.4.2

06 Aug 14:08
53c7a22
Compare
Choose a tag to compare
  • Fixes on parameters names for FileResponse and StreamResponse
  • See #14 for full changelog