Hello community, here is the log from the commit of package ghc-http-client for openSUSE:Factory checked in at 2015-06-23 11:59:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-http-client (Old) and /work/SRC/openSUSE:Factory/.ghc-http-client.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-http-client" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-http-client/ghc-http-client.changes 2015-06-10 09:15:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-http-client.new/ghc-http-client.changes 2015-06-23 11:59:28.000000000 +0200 @@ -1,0 +2,6 @@ +Sun Jun 21 16:50:40 UTC 2015 - mimi...@gmail.com + +- update to 0.4.12 +* Added IsString RequestBody instance + +------------------------------------------------------------------- Old: ---- http-client-0.4.11.3.tar.gz New: ---- http-client-0.4.12.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-http-client.spec ++++++ --- /var/tmp/diff_new_pack.pFxhqx/_old 2015-06-23 11:59:28.000000000 +0200 +++ /var/tmp/diff_new_pack.pFxhqx/_new 2015-06-23 11:59:28.000000000 +0200 @@ -21,7 +21,7 @@ %bcond_with tests Name: ghc-http-client -Version: 0.4.11.3 +Version: 0.4.12 Release: 0 Summary: HTTP client engine, intended as a base layer License: MIT ++++++ http-client-0.4.11.3.tar.gz -> http-client-0.4.12.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-client-0.4.11.3/ChangeLog.md new/http-client-0.4.12/ChangeLog.md --- old/http-client-0.4.11.3/ChangeLog.md 2015-06-05 05:52:18.000000000 +0200 +++ new/http-client-0.4.12/ChangeLog.md 2015-06-17 21:28:00.000000000 +0200 @@ -1,3 +1,7 @@ +## 0.4.12 + +* Added `IsString RequestBody` instance [#126](https://github.com/snoyberg/http-client/pull/126) + ## 0.4.11.3 * Fix getUri to insert "?" to uriQuery when necessary. [#123](https://github.com/snoyberg/http-client/pull/123) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-client-0.4.11.3/Network/HTTP/Client/Types.hs new/http-client-0.4.12/Network/HTTP/Client/Types.hs --- old/http-client-0.4.11.3/Network/HTTP/Client/Types.hs 2015-06-05 05:52:18.000000000 +0200 +++ new/http-client-0.4.12/Network/HTTP/Client/Types.hs 2015-06-17 21:28:00.000000000 +0200 @@ -42,6 +42,7 @@ import Data.Default.Class import Data.Foldable (Foldable) import Data.Monoid +import Data.String (IsString, fromString) import Data.Time (UTCTime) import Data.Traversable (Traversable) import qualified Data.List as DL @@ -207,6 +208,11 @@ | RequestBodyStream Int64 (GivesPopper ()) | RequestBodyStreamChunked (GivesPopper ()) deriving T.Typeable +-- | +-- +-- Since 0.4.12 +instance IsString RequestBody where + fromString str = RequestBodyBS (fromString str) instance Monoid RequestBody where mempty = RequestBodyBS S.empty mappend x0 y0 = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-client-0.4.11.3/http-client.cabal new/http-client-0.4.12/http-client.cabal --- old/http-client-0.4.11.3/http-client.cabal 2015-06-05 05:52:18.000000000 +0200 +++ new/http-client-0.4.12/http-client.cabal 2015-06-17 21:28:00.000000000 +0200 @@ -1,5 +1,5 @@ name: http-client -version: 0.4.11.3 +version: 0.4.12 synopsis: An HTTP client engine, intended as a base layer for more user-friendly packages. 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