Hello community,
here is the log from the commit of package ghc-http-conduit for openSUSE:Factory checked in at 2019-02-17 12:20:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-http-conduit (Old)
and /work/SRC/openSUSE:Factory/.ghc-http-conduit.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-http-conduit"
Sun Feb 17 12:20:10 2019 rev:17 rq:674300 version:2.3.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-http-conduit/ghc-http-conduit.changes 2019-01-21 11:07:49.678700433 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-http-conduit.new.28833/ghc-http-conduit.changes 2019-02-17 12:20:12.216219323 +0100
@@ -1,0 +2,8 @@
+Tue Jan 29 03:01:41 UTC 2019 - psimons@suse.com
+
+- Update http-conduit to version 2.3.5.
+ ## 2.3.5
+
+ * Adds `addToRequestQueryString` helper function
+
+-------------------------------------------------------------------
Old:
----
http-conduit-2.3.4.tar.gz
New:
----
http-conduit-2.3.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-http-conduit.spec ++++++
--- /var/tmp/diff_new_pack.4j2pDj/_old 2019-02-17 12:20:13.412218995 +0100
+++ /var/tmp/diff_new_pack.4j2pDj/_new 2019-02-17 12:20:13.412218995 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-http-conduit
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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-conduit
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 2.3.4
+Version: 2.3.5
Release: 0
Summary: HTTP client package with conduit interface and HTTPS support
License: BSD-2-Clause
++++++ http-conduit-2.3.4.tar.gz -> http-conduit-2.3.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-conduit-2.3.4/ChangeLog.md new/http-conduit-2.3.5/ChangeLog.md
--- old/http-conduit-2.3.4/ChangeLog.md 2018-11-25 07:22:28.000000000 +0100
+++ new/http-conduit-2.3.5/ChangeLog.md 2019-01-28 18:33:22.000000000 +0100
@@ -1,3 +1,7 @@
+## 2.3.5
+
+* Adds `addToRequestQueryString` helper function
+
## 2.3.4
* Reexport RequestHeaders from Network.HTTP.Types (what was intended in last version)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-conduit-2.3.4/Network/HTTP/Simple.hs new/http-conduit-2.3.5/Network/HTTP/Simple.hs
--- old/http-conduit-2.3.4/Network/HTTP/Simple.hs 2018-11-25 07:22:28.000000000 +0100
+++ new/http-conduit-2.3.5/Network/HTTP/Simple.hs 2019-01-28 18:33:22.000000000 +0100
@@ -57,6 +57,7 @@
, setRequestHeaders
, setRequestQueryString
, getRequestQueryString
+ , addToRequestQueryString
-- ** Request body
, setRequestBody
, setRequestBodyJSON
@@ -347,6 +348,13 @@
setRequestQueryString :: H.Query -> H.Request -> H.Request
setRequestQueryString = H.setQueryString
+-- | Add to the existing query string parameters.
+--
+-- @since 2.3.5
+addToRequestQueryString :: H.Query -> H.Request -> H.Request
+addToRequestQueryString additions req = setRequestQueryString q req
+ where q = additions <> getRequestQueryString req
+
-- | Set the request body to the given 'H.RequestBody'. You may want to
-- consider using one of the convenience functions in the modules, e.g.
-- 'requestBodyJSON'.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-conduit-2.3.4/http-conduit.cabal new/http-conduit-2.3.5/http-conduit.cabal
--- old/http-conduit-2.3.4/http-conduit.cabal 2018-11-25 07:22:28.000000000 +0100
+++ new/http-conduit-2.3.5/http-conduit.cabal 2019-01-28 18:33:22.000000000 +0100
@@ -1,5 +1,5 @@
name: http-conduit
-version: 2.3.4
+version: 2.3.5
license: BSD3
license-file: LICENSE
author: Michael Snoyman