packages feed

couchdb-enumerator 0.3.5 → 0.3.6

raw patch · 2 files changed

+9/−3 lines, 2 filesdep ~aesonPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: aeson

API changes (from Hackage documentation)

Files

couchdb-enumerator.cabal view
@@ -1,5 +1,5 @@ name:           couchdb-enumerator
-version:        0.3.5
+version:        0.3.6
 cabal-version:  >= 1.8
 license:        BSD3
 license-file:   LICENSE
@@ -12,6 +12,8 @@     attoparsec fit togther so well that this package is mostly just a direct combination
     of these packages.  The single additional feature in this package is an attoparsec parser
     for views, which allows constant memory processing of view returns.
+
+    This package is deprecated by <http://hackage.haskell.org/package/couchdb-conduit>
 build-type:     Simple
 stability:      Experimental
 homepage:       http://bitbucket.org/wuzzeb/couchdb-enumerator
@@ -33,7 +35,7 @@   hs-source-dirs:   src
   build-depends:
         base >= 4 && < 5,
-        aeson >= 0.5 && < 0.6,
+        aeson >= 0.5 && < 0.7,
         attoparsec >= 0.8 && < 0.11,
         attoparsec-enumerator >= 0.2 && < 0.4,
         bytestring >= 0.9 && < 0.10,
@@ -59,7 +61,7 @@   build-depends:   
         couchdb-enumerator,
         base >= 4 && < 5,
-        aeson >= 0.5 && < 0.6,
+        aeson >= 0.5 && < 0.7,
         attoparsec >= 0.8 && < 0.11,
         attoparsec-enumerator >= 0.2 && < 0.4,
         bytestring >= 0.9 && < 0.10,
src/Database/CouchDB/Enumerator.hs view
@@ -6,6 +6,10 @@ {-# LANGUAGE MultiParamTypeClasses, ScopedTypeVariables #-}  {- | +With the advent of conduits, you are strongly encouraged to use couchdb-conduit+<http://hackage.haskell.org/package/couchdb-conduit> instead of this package.+It exports almost the same interface but uses conduits instead of enumerator.+ This module is a very thin wrapper around "Network.HTTP.Enumerator" using  the aeson package to parse and encode JSON.  The Couch DB HTTP API is the  best place to learn about how to use this library.