Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-http-client for openSUSE:Factory 
checked in at 2021-01-20 18:26:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-http-client (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-http-client.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-http-client"

Wed Jan 20 18:26:02 2021 rev:40 rq:864458 version:0.7.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-http-client/ghc-http-client.changes  
2020-12-22 11:40:57.189590602 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client.new.28504/ghc-http-client.changes   
    2021-01-20 18:26:24.115459439 +0100
@@ -1,0 +2,8 @@
+Wed Jan 13 15:28:50 UTC 2021 - [email protected]
+
+- Update http-client to version 0.7.4.
+  ## 0.7.4
+
+  * Depend on base64-bytestring instead of memory 
[#453](https://github.com/snoyberg/http-client/pull/453)
+
+-------------------------------------------------------------------

Old:
----
  http-client-0.7.3.tar.gz

New:
----
  http-client-0.7.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-http-client.spec ++++++
--- /var/tmp/diff_new_pack.nSkh3z/_old  2021-01-20 18:26:25.591460844 +0100
+++ /var/tmp/diff_new_pack.nSkh3z/_new  2021-01-20 18:26:25.591460844 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-http-client
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # 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 http-client
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.7.3
+Version:        0.7.4
 Release:        0
 Summary:        An HTTP client engine
 License:        MIT
@@ -27,6 +27,7 @@
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-array-devel
+BuildRequires:  ghc-base64-bytestring-devel
 BuildRequires:  ghc-blaze-builder-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-case-insensitive-devel
@@ -36,7 +37,6 @@
 BuildRequires:  ghc-exceptions-devel
 BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-http-types-devel
-BuildRequires:  ghc-memory-devel
 BuildRequires:  ghc-mime-types-devel
 BuildRequires:  ghc-network-devel
 BuildRequires:  ghc-network-uri-devel

++++++ http-client-0.7.3.tar.gz -> http-client-0.7.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.7.3/ChangeLog.md 
new/http-client-0.7.4/ChangeLog.md
--- old/http-client-0.7.3/ChangeLog.md  2020-11-15 20:30:09.000000000 +0100
+++ new/http-client-0.7.4/ChangeLog.md  2021-01-13 05:15:41.000000000 +0100
@@ -1,5 +1,9 @@
 # Changelog for http-client
 
+## 0.7.4
+
+* Depend on base64-bytestring instead of memory 
[#453](https://github.com/snoyberg/http-client/pull/453)
+
 ## 0.7.3
 
 * Added `withSocket` to `Network.HTTP.Client.Connection`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.7.3/Network/HTTP/Client/Request.hs 
new/http-client-0.7.4/Network/HTTP/Client/Request.hs
--- old/http-client-0.7.3/Network/HTTP/Client/Request.hs        2020-08-19 
19:38:36.000000000 +0200
+++ new/http-client-0.7.4/Network/HTTP/Client/Request.hs        2021-01-13 
05:15:41.000000000 +0100
@@ -63,7 +63,7 @@
 import Control.Exception (throw, throwIO, IOException)
 import qualified Control.Exception as E
 import qualified Data.CaseInsensitive as CI
-import qualified Data.ByteArray.Encoding as BAE
+import qualified Data.ByteString.Base64 as B64
 
 import Network.HTTP.Client.Body
 import Network.HTTP.Client.Types
@@ -326,7 +326,7 @@
     -> S8.ByteString -- ^ Password
     -> S8.ByteString
 buildBasicAuth user passwd =
-    S8.append "Basic " (BAE.convertToBase BAE.Base64 (S8.concat [ user, ":", 
passwd ]))
+    S8.append "Basic " (B64.encode (S8.concat [ user, ":", passwd ]))
 
 -- | Add a Basic Auth header (with the specified user name and password) to the
 -- given Request. Ignore error handling:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-0.7.3/http-client.cabal 
new/http-client-0.7.4/http-client.cabal
--- old/http-client-0.7.3/http-client.cabal     2020-11-15 20:30:09.000000000 
+0100
+++ new/http-client-0.7.4/http-client.cabal     2021-01-13 05:15:41.000000000 
+0100
@@ -1,5 +1,5 @@
 name:                http-client
-version:             0.7.3
+version:             0.7.4
 synopsis:            An HTTP client engine
 description:         Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
<http://www.stackage.org/package/http-client>.
 homepage:            https://github.com/snoyberg/http-client
@@ -49,7 +49,7 @@
                      , transformers
                      , deepseq           >= 1.3    && <1.5
                      , case-insensitive  >= 1.0
-                     , memory            >= 0.7
+                     , base64-bytestring >= 1.0
                      , cookie
                      , exceptions        >= 0.4
                      , array

Reply via email to