rest-wai 0.1.0.8 → 0.2
raw patch · 3 files changed
+10/−4 lines, 3 filesdep ~http-typesdep ~rest-coredep ~waiPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: http-types, rest-core, wai
API changes (from Hackage documentation)
- Rest.Driver.Wai: apiToApplication :: Run m IO -> Api m -> Application
+ Rest.Driver.Wai: apiToApplication :: (Applicative m, Monad m) => Run m IO -> Api m -> Application
Files
- CHANGELOG.md +6/−0
- rest-wai.cabal +3/−3
- src/Rest/Driver/Wai.hs +1/−1
CHANGELOG.md view
@@ -1,5 +1,11 @@ # Changelog +## 0.2++* Breaking: `Applicative` and `Monad` constraint on `m` in+ `apiToHandler'`. See `rest-core-0.37` for more details.+* Allow `http-types 0.9.*`+ #### 0.1.0.8 * Allow `rest-core 0.36.*`
rest-wai.cabal view
@@ -1,5 +1,5 @@ name: rest-wai-version: 0.1.0.8+version: 0.2 description: Rest driver for WAI applications. synopsis: Rest driver for WAI applications. maintainer: code@silk.co@@ -26,10 +26,10 @@ , bytestring == 0.10.* , case-insensitive == 1.2.* , containers >= 0.4 && < 0.6- , http-types == 0.8.*+ , http-types >= 0.8 && < 0.10 , mime-types == 0.1.* , mtl >= 2.0 && < 2.3- , rest-core >= 0.35 && < 0.37+ , rest-core >= 0.35 && < 0.38 , text >= 0.11 && < 1.3 , unordered-containers == 0.2.* , wai >= 2.1 && < 3.1
src/Rest/Driver/Wai.hs view
@@ -25,7 +25,7 @@ import qualified Rest.Driver.Types as Rest import qualified Rest.Run as Rest -apiToApplication :: Run m IO -> Api m -> Application+apiToApplication :: (Applicative m, Monad m) => Run m IO -> Api m -> Application apiToApplication run api req = #if MIN_VERSION_wai(3,0,0) \cont ->