core-webserver-servant 0.1.1.2 → 0.1.1.3
raw patch · 2 files changed
+5/−10 lines, 2 filesdep ~core-programdep ~core-webserver-warpPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: core-program, core-webserver-warp
API changes (from Hackage documentation)
- Core.Webserver.Servant: instance GHC.Exception.Type.Exception Core.Webserver.Servant.ContextNotFoundInRequest
- Core.Webserver.Servant: instance GHC.Show.Show Core.Webserver.Servant.ContextNotFoundInRequest
Files
core-webserver-servant.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.4.+-- This file has been generated from package.yaml by hpack version 0.35.0. -- -- see: https://github.com/sol/hpack name: core-webserver-servant-version: 0.1.1.2+version: 0.1.1.3 synopsis: Interoperability with Servant description: This is part of a library to help build command-line programs, both tools and longer-running daemons.@@ -24,7 +24,7 @@ license-file: LICENSE build-type: Simple tested-with:- GHC == 8.10.7+ GHC == 8.10.7, GHC == 9.2.4 source-repository head type: git@@ -38,9 +38,9 @@ ghc-options: -Wall -Wwarn -fwarn-tabs build-depends: base >=4.11 && <5- , core-program >=0.5.0+ , core-program >=0.6.1 , core-telemetry- , core-webserver-warp+ , core-webserver-warp >=0.2.0 , mtl , safe-exceptions , servant
lib/Core/Webserver/Servant.hs view
@@ -51,11 +51,6 @@ serveWithContextT, ) -data ContextNotFoundInRequest = ContextNotFoundInRequest deriving (Show)--instance Exception ContextNotFoundInRequest where- displayException _ = "Context was not found in request. This is a serious error."- {- | Convert a __servant__ API and set of handlers into a __warp__ 'Application'.