diff --git a/CHANGELOG.md b/CHANGELOG.md index 729378382..4535da099 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,7 +36,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). - #1560, Volatile RPC called with GET now returns 405 Method not Allowed instead of 500 - @wolfgangwalther - #1604, Change the default logging level to `log-level=error`. Only requests with a status greater or equal than 500 will be logged. If you wish to go back to the previous behaviour and log all the requests, use `log-level=info` - @steve-chavez - #1617, Dropped support for PostgreSQL 9.4 - @wolfgangwalther - + - #1854, Dropped undocumented support for gzip compression (which was surprisingly slow and easily enabled by mistake). In some use-cases this makes Postgres up to 3x faster - @aljungberg + ## [7.0.1] - 2020-05-18 ### Fixed diff --git a/src/PostgREST/Middleware.hs b/src/PostgREST/Middleware.hs index ee41e58fd..d8b09529e 100644 --- a/src/PostgREST/Middleware.hs +++ b/src/PostgREST/Middleware.hs @@ -116,7 +116,6 @@ pgrstFormat minStatus date req status responseSize = pgrstMiddleware :: LogLevel -> Wai.Application -> Wai.Application pgrstMiddleware logLevel = logger - . Wai.gzip Wai.def . Wai.cors corsPolicy . Wai.staticPolicy (Wai.only [("favicon.ico", "static/favicon.ico")]) where