Hello community,
here is the log from the commit of package ghc-wai-middleware-auth for
openSUSE:Factory checked in at 2017-07-23 12:15:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-wai-middleware-auth (Old)
and /work/SRC/openSUSE:Factory/.ghc-wai-middleware-auth.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-wai-middleware-auth"
Sun Jul 23 12:15:32 2017 rev:3 rq:511925 version:0.1.2.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-wai-middleware-auth/ghc-wai-middleware-auth.changes
2017-05-10 20:49:59.779260165 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-wai-middleware-auth.new/ghc-wai-middleware-auth.changes
2017-07-23 12:15:38.661197249 +0200
@@ -1,0 +2,10 @@
+Mon Jul 17 03:01:30 UTC 2017 - [email protected]
+
+- Update to version 0.1.2.1.
+
+-------------------------------------------------------------------
+Thu Jul 13 03:01:03 UTC 2017 - [email protected]
+
+- Update to version 0.1.2.0 revision 1.
+
+-------------------------------------------------------------------
Old:
----
wai-middleware-auth-0.1.2.0.tar.gz
New:
----
wai-middleware-auth-0.1.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-wai-middleware-auth.spec ++++++
--- /var/tmp/diff_new_pack.Ul2WXu/_old 2017-07-23 12:15:39.389094430 +0200
+++ /var/tmp/diff_new_pack.Ul2WXu/_new 2017-07-23 12:15:39.389094430 +0200
@@ -18,7 +18,7 @@
%global pkg_name wai-middleware-auth
Name: ghc-%{pkg_name}
-Version: 0.1.2.0
+Version: 0.1.2.1
Release: 0
Summary: Authentication middleware that secures WAI application
License: MIT
++++++ wai-middleware-auth-0.1.2.0.tar.gz -> wai-middleware-auth-0.1.2.1.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/wai-middleware-auth-0.1.2.0/CHANGELOG.md
new/wai-middleware-auth-0.1.2.1/CHANGELOG.md
--- old/wai-middleware-auth-0.1.2.0/CHANGELOG.md 2017-04-10
19:18:44.000000000 +0200
+++ new/wai-middleware-auth-0.1.2.1/CHANGELOG.md 2017-07-12
10:59:38.000000000 +0200
@@ -1,3 +1,8 @@
+0.1.2.1
+=======
+
+* Compatibility with hoauth2-1.3.0 - fixed:
[#4](https://github.com/fpco/wai-middleware-auth/issues/4)
+
0.1.2.0
=======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/wai-middleware-auth-0.1.2.0/src/Network/Wai/Middleware/Auth/OAuth2.hs
new/wai-middleware-auth-0.1.2.1/src/Network/Wai/Middleware/Auth/OAuth2.hs
--- old/wai-middleware-auth-0.1.2.0/src/Network/Wai/Middleware/Auth/OAuth2.hs
2017-04-10 18:44:04.000000000 +0200
+++ new/wai-middleware-auth-0.1.2.1/src/Network/Wai/Middleware/Auth/OAuth2.hs
2017-07-12 10:31:35.000000000 +0200
@@ -15,6 +15,7 @@
deriveJSON,
fieldLabelModifier)
import qualified Data.ByteString as S
+import qualified Data.ByteString.Char8 as S8 (pack)
import qualified Data.ByteString.Lazy as SL
import Data.Monoid ((<>))
import Data.Proxy (Proxy (..))
@@ -157,7 +158,7 @@
man <- getGlobalManager
eRes <- OA2.fetchAccessToken man oauth2 $ getExchangeToken code
case eRes of
- Left err -> onFailure status501 $ SL.toStrict err
+ Left err -> onFailure status501 $ S8.pack $ show err
Right token -> onSuccess $ getAccessToken token
_ ->
case lookup "error" params of
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/wai-middleware-auth-0.1.2.0/wai-middleware-auth.cabal
new/wai-middleware-auth-0.1.2.1/wai-middleware-auth.cabal
--- old/wai-middleware-auth-0.1.2.0/wai-middleware-auth.cabal 2017-04-10
18:14:39.000000000 +0200
+++ new/wai-middleware-auth-0.1.2.1/wai-middleware-auth.cabal 2017-07-12
10:58:26.000000000 +0200
@@ -1,5 +1,5 @@
name: wai-middleware-auth
-version: 0.1.2.0
+version: 0.1.2.1
synopsis: Authentication middleware that secures WAI application
description: See README
license: MIT