diff --git a/CHANGELOG.md b/CHANGELOG.md index 6044cce..b6446d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [UNRELEASED] +## [1.0.0] - 2018-01-27 ### Added @@ -69,7 +69,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). First version -[UNRELEASED]: https://github.com/middlewares/encoder/compare/v0.5.0...HEAD +[1.0.0]: https://github.com/middlewares/encoder/compare/v0.5.0...v1.0.0 [0.5.0]: https://github.com/middlewares/encoder/compare/v0.4.0...v0.5.0 [0.4.0]: https://github.com/middlewares/encoder/compare/v0.3.2...v0.4.0 [0.3.2]: https://github.com/middlewares/encoder/compare/v0.3.1...v0.3.2 diff --git a/README.md b/README.md index e875dab..89cbb8a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Total Downloads][ico-downloads]][link-downloads] [![SensioLabs Insight][ico-sensiolabs]][link-sensiolabs] -Middleware to encode the response body to `gzip` or `deflate` encodings and add the `Content-Encoding` header. This package is splitted into the following components: +Middleware to encode the response body to `gzip` or `deflate` if the `Accept-Encoding` header is present and adds the `Content-Encoding` header. This package is splitted into the following components: * [GzipEncoder](#gzipencoder) * [DeflateEncoder](#deflateencoder) diff --git a/tests/EncoderTest.php b/tests/EncoderTest.php index f5f39d9..591f42a 100644 --- a/tests/EncoderTest.php +++ b/tests/EncoderTest.php @@ -1,4 +1,5 @@