Hello community, here is the log from the commit of package ghc-wai-extra for openSUSE:Factory checked in at 2020-11-12 22:45:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-wai-extra (Old) and /work/SRC/openSUSE:Factory/.ghc-wai-extra.new.24930 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-wai-extra" Thu Nov 12 22:45:20 2020 rev:5 rq:847880 version:3.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-wai-extra/ghc-wai-extra.changes 2020-10-23 15:15:33.734169407 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-wai-extra.new.24930/ghc-wai-extra.changes 2020-11-12 22:45:23.530517617 +0100 @@ -1,0 +2,9 @@ +Sat Nov 7 15:34:15 UTC 2020 - [email protected] + +- Update wai-extra to version 3.1.2. + Upstream has edited the change log file since the last release in + a non-trivial way, i.e. they did more than just add a new entry + at the top. You can review the file at: + http://hackage.haskell.org/package/wai-extra-3.1.2/src/ChangeLog.md + +------------------------------------------------------------------- Old: ---- wai-extra-3.1.1.tar.gz New: ---- wai-extra-3.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-wai-extra.spec ++++++ --- /var/tmp/diff_new_pack.R79hB5/_old 2020-11-12 22:45:24.418518544 +0100 +++ /var/tmp/diff_new_pack.R79hB5/_new 2020-11-12 22:45:24.422518547 +0100 @@ -19,7 +19,7 @@ %global pkg_name wai-extra %bcond_with tests Name: ghc-%{pkg_name} -Version: 3.1.1 +Version: 3.1.2 Release: 0 Summary: Provides some basic WAI handlers and middleware License: MIT ++++++ wai-extra-3.1.1.tar.gz -> wai-extra-3.1.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-extra-3.1.1/ChangeLog.md new/wai-extra-3.1.2/ChangeLog.md --- old/wai-extra-3.1.1/ChangeLog.md 2020-10-05 20:20:57.000000000 +0200 +++ new/wai-extra-3.1.2/ChangeLog.md 2020-11-05 09:26:46.000000000 +0100 @@ -1,8 +1,12 @@ # Changelog for wai-extra +## 3.1.2 + +* Remove an extraneous dot from the error message for `defaultRequestSizeLimitSettings` + ## 3.1.1 -* 'Network.Wai.Middleware.RequestSizeLimit': Add a new middleware to reject request bodies above a certain size. [#818](https://github.com/yesodweb/wai/pull/818/files) +* `Network.Wai.Middleware.RequestSizeLimit`: Add a new middleware to reject request bodies above a certain size. [#818](https://github.com/yesodweb/wai/pull/818/files) ## 3.1.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-extra-3.1.1/Network/Wai/Middleware/RequestSizeLimit.hs new/wai-extra-3.1.2/Network/Wai/Middleware/RequestSizeLimit.hs --- old/wai-extra-3.1.1/Network/Wai/Middleware/RequestSizeLimit.hs 2020-10-05 20:20:57.000000000 +0200 +++ new/wai-extra-3.1.2/Network/Wai/Middleware/RequestSizeLimit.hs 2020-11-05 09:26:46.000000000 +0100 @@ -1,9 +1,9 @@ -- | The functions in this module allow you to limit the total size of incoming request bodies. -- --- Limiting incoming request body size helps protect your server against denial-of-service (DOS) attacks, +-- Limiting incoming request body size helps protect your server against denial-of-service (DOS) attacks, -- in which an attacker sends huge bodies to your server. -module Network.Wai.Middleware.RequestSizeLimit - ( +module Network.Wai.Middleware.RequestSizeLimit + ( -- * Middleware requestSizeLimitMiddleware -- * Constructing 'RequestSizeLimitSettings' @@ -62,12 +62,12 @@ tooLargeResponse maxLen bodyLen = responseLBS requestEntityTooLarge413 [("Content-Type", "text/plain")] - (BSL.concat + (BSL.concat [ "Request body too large to be processed. The maximum size is " , (LS8.pack (show maxLen)) , " bytes; your request body was " , case bodyLen of KnownLength knownLen -> (LS8.pack (show knownLen)) <> " bytes." ChunkedBody -> "split into chunks, whose total size is unknown, but exceeded the limit." - , " . If you're the developer of this site, you can configure the maximum length with `requestSizeLimitMiddleware`." + , " If you're the developer of this site, you can configure the maximum length with `requestSizeLimitMiddleware`." ]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-extra-3.1.1/wai-extra.cabal new/wai-extra-3.1.2/wai-extra.cabal --- old/wai-extra-3.1.1/wai-extra.cabal 2020-10-05 20:20:57.000000000 +0200 +++ new/wai-extra-3.1.2/wai-extra.cabal 2020-11-05 09:26:46.000000000 +0100 @@ -1,5 +1,5 @@ Name: wai-extra -Version: 3.1.1 +Version: 3.1.2 Synopsis: Provides some basic WAI handlers and middleware. description: Provides basic WAI handler and middleware functionality: _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
