All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.3.1 - 2017-05-18
- Added
kml
to the list of the default formats
0.3.0 - 2016-12-26
- Updated tests
- Updated to
http-interop/http-middleware#0.4
- Updated
friendsofphp/php-cs-fixer#2.0
- New method
ContentType::charsets()
to define the available charsets and negotiate theAccept-Charset
header.
- Only text-based formats (html, text, css, etc) adds the
charset=[charset]
sufix toContent-Type
header.
0.2.0 - 2016-11-22
- New
ContentType::noSniff()
option to add theX-Content-Type-Options: nosniff
header (enabled by default)
- Updated to
http-interop/http-middleware#0.3
- ContentEncoding middleware removes the
Accept-Encoding
header if it does not match with any available option.
First version