Hello community,
here is the log from the commit of package ghc-http-client for openSUSE:Factory
checked in at 2020-05-11 13:35:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-http-client (Old)
and /work/SRC/openSUSE:Factory/.ghc-http-client.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-http-client"
Mon May 11 13:35:14 2020 rev:34 rq:801026 version:0.6.4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-http-client/ghc-http-client.changes
2019-12-27 13:54:15.904684297 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-http-client.new.2738/ghc-http-client.changes
2020-05-11 13:35:41.076404538 +0200
@@ -1,0 +2,8 @@
+Wed May 6 06:54:13 UTC 2020 - [email protected]
+
+- Update http-client to version 0.6.4.1.
+ ## 0.6.4.1
+
+ * Win32 2.8 support [#430](https://github.com/snoyberg/http-client/pull/430)
+
+-------------------------------------------------------------------
Old:
----
http-client-0.6.4.tar.gz
New:
----
http-client-0.6.4.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-http-client.spec ++++++
--- /var/tmp/diff_new_pack.lgeLHx/_old 2020-05-11 13:35:41.724405896 +0200
+++ /var/tmp/diff_new_pack.lgeLHx/_new 2020-05-11 13:35:41.724405896 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-http-client
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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 http-client
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.6.4
+Version: 0.6.4.1
Release: 0
Summary: An HTTP client engine
License: MIT
++++++ http-client-0.6.4.tar.gz -> http-client-0.6.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/http-client-0.6.4/ChangeLog.md
new/http-client-0.6.4.1/ChangeLog.md
--- old/http-client-0.6.4/ChangeLog.md 2019-04-12 07:51:44.000000000 +0200
+++ new/http-client-0.6.4.1/ChangeLog.md 2020-03-09 08:28:19.000000000
+0100
@@ -1,5 +1,9 @@
# Changelog for http-client
+## 0.6.4.1
+
+* Win32 2.8 support [#430](https://github.com/snoyberg/http-client/pull/430)
+
## 0.6.4
* Avoid throwing an exception when a malformed HTTP header is received,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/http-client-0.6.4/Network/HTTP/Client/Body.hs
new/http-client-0.6.4.1/Network/HTTP/Client/Body.hs
--- old/http-client-0.6.4/Network/HTTP/Client/Body.hs 2019-04-02
15:24:20.000000000 +0200
+++ new/http-client-0.6.4.1/Network/HTTP/Client/Body.hs 2019-10-22
12:59:44.000000000 +0200
@@ -22,7 +22,7 @@
import Control.Monad (unless, when)
import qualified Data.Streaming.Zlib as Z
--- ^ Get a single chunk of data from the response body, or an empty
+-- | Get a single chunk of data from the response body, or an empty
-- bytestring if no more data is available.
--
-- Note that in order to consume the entire request body, you will need to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/http-client-0.6.4/Network/HTTP/Client/Types.hs
new/http-client-0.6.4.1/Network/HTTP/Client/Types.hs
--- old/http-client-0.6.4/Network/HTTP/Client/Types.hs 2019-04-05
16:28:05.000000000 +0200
+++ new/http-client-0.6.4.1/Network/HTTP/Client/Types.hs 2019-10-22
12:59:44.000000000 +0200
@@ -560,12 +560,13 @@
}
deriving T.Typeable
--- | How to deal with timing out a response
+-- | How to deal with timing out on retrieval of response headers.
--
-- @since 0.5.0
data ResponseTimeout
= ResponseTimeoutMicro !Int
- -- ^ Wait the given number of microseconds and then throw an exception
+ -- ^ Wait the given number of microseconds for response headers to
+ -- load, then throw an exception
| ResponseTimeoutNone
-- ^ Wait indefinitely
| ResponseTimeoutDefault
@@ -695,6 +696,9 @@
, managerModifyRequest :: Request -> IO Request
-- ^ Perform the given modification to a @Request@ before performing it.
--
+ -- This function may be called more than once during request processing.
+ -- see https://github.com/snoyberg/http-client/issues/350
+ --
-- Default: no modification
--
-- Since 0.4.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/http-client-0.6.4/Network/HTTP/Client.hs
new/http-client-0.6.4.1/Network/HTTP/Client.hs
--- old/http-client-0.6.4/Network/HTTP/Client.hs 2019-02-27
11:43:18.000000000 +0100
+++ new/http-client-0.6.4.1/Network/HTTP/Client.hs 2019-10-22
12:59:44.000000000 +0200
@@ -352,7 +352,8 @@
-- > print $ responseBody response
--
--- | Specify a response timeout in microseconds
+-- | Specify maximum time in microseconds the retrieval of response
+-- headers is allowed to take
--
-- @since 0.5.0
responseTimeoutMicro :: Int -> ResponseTimeout
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/http-client-0.6.4/Network/HTTP/Proxy.hs
new/http-client-0.6.4.1/Network/HTTP/Proxy.hs
--- old/http-client-0.6.4/Network/HTTP/Proxy.hs 2018-02-17 17:35:35.000000000
+0100
+++ new/http-client-0.6.4.1/Network/HTTP/Proxy.hs 2020-03-09
08:27:25.000000000 +0100
@@ -175,7 +175,7 @@
enable <- toBool . maybe 0 id A.<$> regQueryValueDWORD hkey "ProxyEnable"
if enable
then do
-#if MIN_VERSION_Win32(2, 6, 0)
+#if MIN_VERSION_Win32(2, 6, 0) && !MIN_VERSION_Win32(2, 8, 0)
server <- regQueryValue hkey "ProxyServer"
exceptions <- try $ regQueryValue hkey "ProxyOverride" :: IO
(Either IOException String)
#else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/http-client-0.6.4/README.md
new/http-client-0.6.4.1/README.md
--- old/http-client-0.6.4/README.md 2016-12-19 16:29:45.000000000 +0100
+++ new/http-client-0.6.4.1/README.md 2019-10-22 12:59:44.000000000 +0200
@@ -2,7 +2,7 @@
===========
Full tutorial docs are available at:
-https://haskell-lang.org/library/http-client
+https://github.com/snoyberg/http-client/blob/master/TUTORIAL.md
An HTTP client engine, intended as a base layer for more user-friendly
packages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/http-client-0.6.4/http-client.cabal
new/http-client-0.6.4.1/http-client.cabal
--- old/http-client-0.6.4/http-client.cabal 2019-04-12 07:51:44.000000000
+0200
+++ new/http-client-0.6.4.1/http-client.cabal 2020-03-09 08:28:24.000000000
+0100
@@ -1,5 +1,5 @@
name: http-client
-version: 0.6.4
+version: 0.6.4.1
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
@@ -37,7 +37,7 @@
Network.PublicSuffixList.Serialize
Network.PublicSuffixList.DataStructure
Data.KeyedPool
- build-depends: base >= 4.6 && < 5
+ build-depends: base >= 4.10 && < 5
, bytestring >= 0.10
, text >= 0.11
, http-types >= 0.8