servant-db 0.2.0.0 → 0.2.0.1
raw patch · 3 files changed
+9/−5 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +5/−3
- servant-db.cabal +2/−2
- src/Servant/API/DB/Procedure.hs +2/−0
CHANGELOG.md view
@@ -1,12 +1,14 @@-0.2.1.0+0.2.0.1 ======= -* Add `Default` type.+* Fix `Servant.API.DB.Procedure` documentation. 0.2.0.0 ======= -* Split `Arg` to `ArgNamed` and `ArgPos`. +* Split `Arg` to `ArgNamed` and `ArgPos`.++* Add `Default` type wrapper. 0.1.0.0 =======
servant-db.cabal view
@@ -1,10 +1,10 @@ name: servant-db-version: 0.2.0.0+version: 0.2.0.1 synopsis: Servant types for defining API with relational DBs -- description: license: BSD3 license-file: LICENSE-homepage: +homepage: author: Anton Gushcha maintainer: ncrashed@gmail.com copyright: 2016 (c) Anton Gushcha
src/Servant/API/DB/Procedure.hs view
@@ -17,9 +17,11 @@ -- | Endpoint for SQL procedure. -- -- Example, stored function that returns current time in seconds:+-- -- >>> type SelectTime = Procedure "time" Integer -- -- Example, stored function that squares given 'Int':+-- -- >>> type SquareProcedure = Arg "a" Int :> Procedure "square" Int data Procedure (name :: Symbol) a deriving (Generic, Typeable)