Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit ghc-http-conduit for openSUSE:Factory
Hello community,

here is the log from the commit of package ghc-http-conduit for
openSUSE:Factory checked in at 2019-04-28 20:13:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-http-conduit (Old)
and /work/SRC/openSUSE:Factory/.ghc-http-conduit.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-http-conduit"

Sun Apr 28 20:13:02 2019 rev:19 rq:698552 version:2.3.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-http-conduit/ghc-http-conduit.changes
2019-03-19 09:59:43.392031661 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-http-conduit.new.5536/ghc-http-conduit.changes
2019-04-28 20:13:03.270433353 +0200
@@ -1,0 +2,8 @@
+Wed Apr 3 02:01:29 UTC 2019 - psimons@xxxxxxxx
+
+- Update http-conduit to version 2.3.7.
+ ## 2.3.7
+
+ * Ensure entire JSON response body is consumed
[#395](https://github.com/snoyberg/http-client/issues/395)
+
+-------------------------------------------------------------------

Old:
----
http-conduit-2.3.6.1.tar.gz

New:
----
http-conduit-2.3.7.tar.gz

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

Other differences:
------------------
++++++ ghc-http-conduit.spec ++++++
--- /var/tmp/diff_new_pack.w7jjVj/_old 2019-04-28 20:13:04.390432657 +0200
+++ /var/tmp/diff_new_pack.w7jjVj/_new 2019-04-28 20:13:04.390432657 +0200
@@ -19,7 +19,7 @@
%global pkg_name http-conduit
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 2.3.6.1
+Version: 2.3.7
Release: 0
Summary: HTTP client package with conduit interface and HTTPS support
License: BSD-2-Clause
@@ -28,6 +28,7 @@
Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-aeson-devel
+BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-conduit-devel
BuildRequires: ghc-conduit-extra-devel

++++++ http-conduit-2.3.6.1.tar.gz -> http-conduit-2.3.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/http-conduit-2.3.6.1/ChangeLog.md
new/http-conduit-2.3.7/ChangeLog.md
--- old/http-conduit-2.3.6.1/ChangeLog.md 2019-03-12 08:48:50.000000000
+0100
+++ new/http-conduit-2.3.7/ChangeLog.md 2019-04-02 15:24:20.000000000 +0200
@@ -1,5 +1,9 @@
# ChangeLog for http-conduit

+## 2.3.7
+
+* Ensure entire JSON response body is consumed
[#395](https://github.com/snoyberg/http-client/issues/395)
+
## 2.3.6.1

* Add back compatibility with older http-client version
[#393](https://github.com/snoyberg/http-client/pull/393)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/http-conduit-2.3.6.1/Network/HTTP/Simple.hs
new/http-conduit-2.3.7/Network/HTTP/Simple.hs
--- old/http-conduit-2.3.6.1/Network/HTTP/Simple.hs 2019-02-27
11:43:18.000000000 +0100
+++ new/http-conduit-2.3.7/Network/HTTP/Simple.hs 2019-04-02
15:24:20.000000000 +0200
@@ -105,6 +105,7 @@
import Control.Monad.Trans.Resource (MonadResource, MonadThrow)
import qualified Control.Exception as E (bracket)
import Data.Void (Void)
+import qualified Data.Attoparsec.ByteString as Atto

-- | Perform an HTTP request and return the body as a @ByteString@.
--
@@ -152,7 +153,8 @@
where
req' = addRequestHeader H.hAccept "application/json" req
sink orig = fmap (\x -> fmap (const x) orig) $ do
- eres1 <- C.sinkParserEither json'
+ eres1 <- C.sinkParserEither (json' <* Atto.endOfInput)
+
case eres1 of
Left e -> return $ Left $ JSONParseException req' orig e
Right value ->
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/http-conduit-2.3.6.1/http-conduit.cabal
new/http-conduit-2.3.7/http-conduit.cabal
--- old/http-conduit-2.3.6.1/http-conduit.cabal 2019-03-12 08:48:27.000000000
+0100
+++ new/http-conduit-2.3.7/http-conduit.cabal 2019-04-02 15:24:20.000000000
+0200
@@ -1,5 +1,5 @@
name: http-conduit
-version: 2.3.6.1
+version: 2.3.7
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michael@xxxxxxxxxxx>
@@ -23,6 +23,7 @@
library
build-depends: base >= 4 && < 5
, aeson >= 0.8
+ , attoparsec
, bytestring >= 0.9.1.4
, transformers >= 0.2
, resourcet >= 1.1


< Previous Next >
This Thread
  • No further messages