osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-wai-extra revision:22, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-wai-extra?expand=0&rev=23
This commit is contained in:
Peter Simons 2022-06-29 12:18:29 +00:00 committed by Git OBS Bridge
parent 662245e491
commit a738aeee8f
4 changed files with 49 additions and 4 deletions

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Sat May 14 18:06:58 UTC 2022 - Peter Simons <psimons@suse.com>
- 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 <psimons@suse.com>

View File

@ -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.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c672a246da981749d368c9e70f13183f987a07d3ca8f59a9fc9d8f2b18a844f9
size 77596

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b47c480afcb82934018a8891a5eb1ed741dad7785aba0dca9b631130406eaf35
size 69950