diff --git a/ghc-wai-extra.changes b/ghc-wai-extra.changes index 28eec77..254183b 100644 --- a/ghc-wai-extra.changes +++ b/ghc-wai-extra.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Sat May 14 18:06:58 UTC 2022 - Peter Simons + +- Update wai-extra to version 3.1.12.1. + ## 3.1.12.1 + + * Include test/{json.gz,noprecompress} as extra-source-files [#887](https://github.com/yesodweb/wai/pull/887) + + ## 3.1.12 + + * Added gzip caching based on `ETag` [#885](https://github.com/yesodweb/wai/pull/885): + + ## 3.1.11 + + * Overhaul to `Network.Wai.Middleware.Gzip` [#880](https://github.com/yesodweb/wai/pull/880): + * Don't fail if quality value parameters are present in the `Accept-Encoding` header + * Add `Accept-Encoding` to the `Vary` response header, instead of overriding it + * Add setting parameter to decide the compression threshold (`gzipSizeThreshold`) + * Always skip compression on a `206 Partial Content` response + * Only catch `IOException`s and `ZlibException`s when using `GzipCacheFolder` + * Added documentation on the usage of `gzip` and its decision-making. + + ## 3.1.10.1 + + * Added documentation to `Accept Override` `Middleware` [#884](https://github.com/yesodweb/wai/pull/884) + + ## 3.1.10 + + * Fixed import linting mistake introduced in `3.1.9` ([#875)](https://github.com/yesodweb/wai/pull/875)) where `Network.Wai.Handler.CGI` wouldn't compile on Windows. [#881](https://github.com/yesodweb/wai/pull/880) + * Added `Select` to choose between `Middleware`s [#878](https://github.com/yesodweb/wai/pull/878) + + ## 3.1.9 + + * Cleanup and linting of most of `wai-extra` and refactoring the `gzip` middleware to keep it more DRY and to skip compression earlier if possible [#875](https://github.com/yesodweb/wai/pull/875) + * Added `HealthCheckEndpoint` `Middleware`s for health check [#877](https://github.com/yesodweb/wai/pull/877) + ------------------------------------------------------------------- Mon Jan 3 14:20:11 UTC 2022 - Peter Simons diff --git a/ghc-wai-extra.spec b/ghc-wai-extra.spec index f17b2fa..4ffe93f 100644 --- a/ghc-wai-extra.spec +++ b/ghc-wai-extra.spec @@ -19,7 +19,7 @@ %global pkg_name wai-extra %bcond_with tests Name: ghc-%{pkg_name} -Version: 3.1.8 +Version: 3.1.12.1 Release: 0 Summary: Provides some basic WAI handlers and middleware License: MIT @@ -56,6 +56,7 @@ BuildRequires: ghc-word8-devel ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-hspec-devel +BuildRequires: ghc-temporary-devel BuildRequires: ghc-zlib-devel %endif @@ -88,6 +89,10 @@ Clean a request path to a canonical form. Negotiate HTTP payload gzip compression. +* Health check endpoint + +Add an empty health check endpoint. + * HTTP Basic Authentication WAI Basic Authentication Middleware which uses Authorization header. @@ -110,6 +115,10 @@ Request logging middleware for development and production environments Rewrite request path info based on a custom conversion rules. +* Select + +Dynamically choose between Middlewares. + * Stream Files Convert ResponseFile type responses into ResponseStream type. diff --git a/wai-extra-3.1.12.1.tar.gz b/wai-extra-3.1.12.1.tar.gz new file mode 100644 index 0000000..b2cca83 --- /dev/null +++ b/wai-extra-3.1.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c672a246da981749d368c9e70f13183f987a07d3ca8f59a9fc9d8f2b18a844f9 +size 77596 diff --git a/wai-extra-3.1.8.tar.gz b/wai-extra-3.1.8.tar.gz deleted file mode 100644 index 954dda2..0000000 --- a/wai-extra-3.1.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b47c480afcb82934018a8891a5eb1ed741dad7785aba0dca9b631130406eaf35 -size 69950