Hello community, here is the log from the commit of package ghc-wai-extra for openSUSE:Factory checked in at 2017-02-11 01:42:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-wai-extra (Old) and /work/SRC/openSUSE:Factory/.ghc-wai-extra.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-wai-extra" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-wai-extra/ghc-wai-extra.changes 2016-11-04 21:00:59.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-wai-extra.new/ghc-wai-extra.changes 2017-02-11 01:42:23.638759056 +0100 @@ -1,0 +2,5 @@ +Thu Jan 26 16:22:12 UTC 2017 - psim...@suse.com + +- Update to version 3.0.19.1 with cabal2obs. + +------------------------------------------------------------------- Old: ---- wai-extra-3.0.19.tar.gz New: ---- wai-extra-3.0.19.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-wai-extra.spec ++++++ --- /var/tmp/diff_new_pack.ByeZk2/_old 2017-02-11 01:42:24.670613458 +0100 +++ /var/tmp/diff_new_pack.ByeZk2/_new 2017-02-11 01:42:24.674612893 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-wai-extra # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name wai-extra %bcond_with tests Name: ghc-%{pkg_name} -Version: 3.0.19 +Version: 3.0.19.1 Release: 0 Summary: Provides some basic WAI handlers and middleware License: MIT ++++++ wai-extra-3.0.19.tar.gz -> wai-extra-3.0.19.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-extra-3.0.19/ChangeLog.md new/wai-extra-3.0.19.1/ChangeLog.md --- old/wai-extra-3.0.19/ChangeLog.md 2016-10-21 09:04:14.000000000 +0200 +++ new/wai-extra-3.0.19.1/ChangeLog.md 2017-01-17 12:29:22.000000000 +0100 @@ -1,3 +1,7 @@ +## 3.0.19.1 + +* All loggers follow the autoFlush setting [#604](https://github.com/yesodweb/wai/pull/604) + ## 3.0.19 * Add a new function basicAuth', which passes request to the CheckCreds argument. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-extra-3.0.19/Network/Wai/Middleware/RequestLogger.hs new/wai-extra-3.0.19.1/Network/Wai/Middleware/RequestLogger.hs --- old/wai-extra-3.0.19/Network/Wai/Middleware/RequestLogger.hs 2016-10-21 09:04:14.000000000 +0200 +++ new/wai-extra-3.0.19.1/Network/Wai/Middleware/RequestLogger.hs 2017-01-17 12:29:22.000000000 +0100 @@ -95,20 +95,19 @@ Handle h -> (BS.hPutStr h . logToByteString, when autoFlush (hFlush h)) Logger l -> (pushLogStr l, when autoFlush (flushLogStr l)) Callback c -> (c, return ()) + callbackAndFlush str = callback str >> flusher case outputFormat of Apache ipsrc -> do getdate <- getDateGetter flusher apache <- initLogger ipsrc (LogCallback callback flusher) getdate return $ apacheMiddleware apache - Detailed useColors -> detailedMiddleware - (\str -> callback str >> flusher) - useColors + Detailed useColors -> detailedMiddleware callbackAndFlush useColors CustomOutputFormat formatter -> do getDate <- getDateGetter flusher - return $ customMiddleware callback getDate formatter + return $ customMiddleware callbackAndFlush getDate formatter CustomOutputFormatWithDetails formatter -> do getdate <- getDateGetter flusher - return $ customMiddlewareWithDetails callback getdate formatter + return $ customMiddlewareWithDetails callbackAndFlush getdate formatter apacheMiddleware :: ApacheLoggerActions -> Middleware apacheMiddleware ala app req sendResponse = app req $ \res -> do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-extra-3.0.19/wai-extra.cabal new/wai-extra-3.0.19.1/wai-extra.cabal --- old/wai-extra-3.0.19/wai-extra.cabal 2016-10-21 09:04:14.000000000 +0200 +++ new/wai-extra-3.0.19.1/wai-extra.cabal 2017-01-17 12:29:22.000000000 +0100 @@ -1,5 +1,5 @@ Name: wai-extra -Version: 3.0.19 +Version: 3.0.19.1 Synopsis: Provides some basic WAI handlers and middleware. description: Provides basic WAI handler and middleware functionality: