Skip to content

Releases: mvc5/http-message

PHP 8

11 May 05:14
Compare
Choose a tag to compare

Final Classes

12 Apr 03:36
Compare
Choose a tag to compare

Classes have been defined as final where applicable.

Namespaced Constants

27 Mar 04:44
Compare
Choose a tag to compare

Namespaced constants are in effect.

Sponsorship

21 Mar 16:17
ccef4de
Compare
Choose a tag to compare

A Github Sponsors funding file has been added.

PHP 7.4 New Features and Improvements

07 Mar 14:30
Compare
Choose a tag to compare

This is for the 12.0 release.

PHP 7.4, laminas-diactoros

22 Feb 16:26
Compare
Choose a tag to compare

Minimum version PHP 7.4. Update to laminas-diactoros.

Authenticated Plugin

02 Jan 03:52
Compare
Choose a tag to compare

A new Authenticated plugin has been added to return true if the user is authenticated.

Zend Diactoros (2.1) Update

31 Dec 05:45
Compare
Choose a tag to compare

Update to Zend Diactoros 2.1. Removes deprecated function calls and uses parse cookie function.

JSON API

10 Jun 18:13
Compare
Choose a tag to compare

JSON requests and responses are now automatically supported. A request with the application/json content type header is decoded automatically (JIT) into an associative array and assigned to the request as the data attribute. If the route match middleware function returns a HTTP Error, e.g 404 Not Found, it is assigned to the request by the router. The error controller will then return the HTTP Error as a JSON Response when the request accept header is application/json. Similarly, when an exception is thrown, the response\exception function will return a JSON Response containing an empty exception message. Alternatively, in development, the debug configuration parameter can be set to true to include the details of the exception.

Additional changes have been made for better integration with PSR-7 HTTP Messages.

Nullable, Void and Iterable

06 Apr 22:04
Compare
Choose a tag to compare

This is for the 10.0 release.