packages feed

persistent-template 2.1.4 → 2.1.5

raw patch · 4 files changed

+10/−13 lines, 4 filesdep +aeson-compatdep −aeson-extra

Dependencies added: aeson-compat

Dependencies removed: aeson-extra

Files

ChangeLog.md view
@@ -1,7 +1,3 @@-## 2.1.4--support http-api-data for url serialization- ## 2.1.3.3  By default explicitly use Int64 for foreign key references.
README.md view
@@ -2,3 +2,10 @@  Provides Template Haskell helpers for persistent. For more information, see [the chapter in the Yesod book](http://www.yesodweb.com/book/persistent).++### code organization++The TH.hs module contains code generators.+persistent-template uses `EntityDef`s that it gets from the quasi-quoter.+The quasi-quoter is in persistent Quasi.hs+Similarly mant of the types come from the persistent library
persistent-template.cabal view
@@ -1,5 +1,5 @@ name:            persistent-template-version:         2.1.4+version:         2.1.5 license:         MIT license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>@@ -17,14 +17,14 @@ library     build-depends:   base                     >= 4.6         && < 5                    , template-haskell-                   , persistent               >= 2.1.3     && < 3+                   , persistent               >= 2.2.2     && < 3                    , monad-control            >= 0.2       && < 1.1                    , bytestring               >= 0.9                    , text                     >= 0.5                    , transformers             >= 0.2       && < 0.5                    , containers                    , aeson                    >= 0.7       && < 0.11-                   , aeson-extra              >= 0.2.1.0   && < 0.3+                   , aeson-compat             >= 0.3.0.0   && < 0.4                    , monad-logger                    , unordered-containers                    , tagged
test/main.hs view
@@ -53,12 +53,6 @@     bin Int |] --- ensure no-json works-instance ToJSON NoJson where-    toJSON = undefined-instance FromJSON NoJson where-    parseJSON = undefined- arbitraryT = pack <$> arbitrary  instance Arbitrary Person where