packages feed

webgear-server 1.3.1 → 1.4.0

raw patch · 2 files changed

+27/−20 lines, 2 filesdep ~QuickCheckdep ~aesondep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: QuickCheck, aeson, base, base64-bytestring, bytestring, http-api-data, jose, monad-time, tasty, text, webgear-core

API changes (from Hackage documentation)

- WebGear.Server.Handler: ServerHandler :: (a -> StateT RoutePath (ExceptT RouteMismatch m) b) -> ServerHandler m a b
+ WebGear.Server.Handler: ServerHandler :: (a -> StateT RoutePath (ExceptT RouteMismatch m) b) -> ServerHandler (m :: Type -> Type) a b
- WebGear.Server.Handler: [unServerHandler] :: ServerHandler m a b -> a -> StateT RoutePath (ExceptT RouteMismatch m) b
+ WebGear.Server.Handler: [unServerHandler] :: ServerHandler (m :: Type -> Type) a b -> a -> StateT RoutePath (ExceptT RouteMismatch m) b
- WebGear.Server.Handler: newtype () => RoutePath
+ WebGear.Server.Handler: newtype RoutePath
- WebGear.Server.Handler: newtype ServerHandler m a b
+ WebGear.Server.Handler: newtype ServerHandler (m :: Type -> Type) a b
- WebGear.Server.Handler: toApplication :: ServerHandler IO (Request `With` '[]) Response -> Application
+ WebGear.Server.Handler: toApplication :: ServerHandler IO (With Request ('[] :: [Type])) Response -> Application
- WebGear.Server.Handler: transform :: (forall x. m x -> n x) -> ServerHandler m a b -> ServerHandler n a b
+ WebGear.Server.Handler: transform :: (forall x. () => m x -> n x) -> ServerHandler m a b -> ServerHandler n a b
- WebGear.Server.MIMETypes: class (MIMEType mt) => BodyRender m mt a
+ WebGear.Server.MIMETypes: class MIMEType mt => BodyRender (m :: Type -> Type) mt a
- WebGear.Server.MIMETypes: class (MIMEType mt) => BodyUnrender m mt a
+ WebGear.Server.MIMETypes: class MIMEType mt => BodyUnrender (m :: Type -> Type) mt a

Files

CHANGELOG.md view
@@ -2,6 +2,14 @@  ## [Unreleased] +## [1.4.0] - 2025-05-19++### Added+- Support GHC-9.12++### Removed+- Support GHC-9.0, GHC-9.2+ ## [1.3.1] - 2024-11-24  ### Added@@ -92,7 +100,8 @@ - Automated tests - Documentation -[Unreleased]: https://github.com/haskell-webgear/webgear/compare/v1.3.1...HEAD+[Unreleased]: https://github.com/haskell-webgear/webgear/compare/v1.4.0...HEAD+[1.4.0]: https://github.com/haskell-webgear/webgear/releases/tag/v1.4.0 [1.3.1]: https://github.com/haskell-webgear/webgear/releases/tag/v1.3.1 [1.3.0]: https://github.com/haskell-webgear/webgear/releases/tag/v1.3.0 [1.2.0]: https://github.com/haskell-webgear/webgear/releases/tag/v1.2.0
webgear-server.cabal view
@@ -1,6 +1,6 @@ cabal-version:       2.4 name:                webgear-server-version:             1.3.1+version:             1.4.0 synopsis:            Composable, type-safe library to build HTTP API servers description:     WebGear is a library to for building composable, type-safe HTTP API servers.@@ -10,7 +10,7 @@ bug-reports:         https://github.com/haskell-webgear/webgear/issues author:              Raghu Kaippully maintainer:          rkaippully@gmail.com-copyright:           2020-2024 Raghu Kaippully+copyright:           2020-2025 Raghu Kaippully license:             MPL-2.0 license-file:        LICENSE category:            Web@@ -42,8 +42,8 @@                       LambdaCase                       MultiParamTypeClasses                       NamedFieldPuns-                      OverloadedStrings                       OverloadedLists+                      OverloadedStrings                       PolyKinds                       RankNTypes                       RecordWildCards@@ -53,29 +53,27 @@                       TypeApplications                       TypeFamilies                       TypeOperators-  build-depends:      base >=4.13.0.0 && <4.21-                    , base64-bytestring >=1.0.0.3 && <1.3-                    , bytestring >=0.10.10.1 && <0.13+  build-depends:      base >=4.17.0.0 && <4.22+                    , base64-bytestring >=1.2.1.0 && <1.3+                    , bytestring >=0.11.0.0 && <0.13                     , http-types ==0.12.*-                    , text >=1.2.0.0 && <2.2+                    , text >=2.0 && <2.2                     , wai ==3.2.*-                    , webgear-core ^>=1.3.1+                    , webgear-core ^>=1.4.0   ghc-options:        -Wall-                      -Wno-unticked-promoted-constructors                       -Wcompat                       -Widentities                       -Wincomplete-record-updates                       -Wincomplete-uni-patterns+                      -Wmissing-deriving-strategies                       -Wmissing-fields                       -Wmissing-home-modules-                      -Wmissing-deriving-strategies+                      -Wno-unticked-promoted-constructors                       -Wpartial-fields                       -Wredundant-constraints+                      -Wunused-packages                       -fshow-warning-groups -  if impl(ghc >= 8.10)-    ghc-options:      -Wunused-packages-                       library   import:             webgear-common   exposed-modules:    WebGear.Server@@ -94,14 +92,14 @@   other-modules:      Paths_webgear_server   autogen-modules:    Paths_webgear_server   hs-source-dirs:     src-  build-depends:      aeson >=1.4 && <1.6 || >=2.0 && <2.3+  build-depends:      aeson >=2.1 && <2.3                     , arrows ==0.4.*                     , binary >= 0.8.0.0 && <0.9                     , cookie >=0.4.5 && <0.6-                    , http-api-data >=0.4.2 && <0.7+                    , http-api-data >=0.5 && <0.7                     , http-media ==0.8.*-                    , jose >=0.8.3.1 && <0.12-                    , monad-time >=0.3.0.0 && <0.5+                    , jose >=0.10 && <0.12+                    , monad-time >=0.4.0.0 && <0.5                     , mtl >=2.2 && <2.4                     , resourcet >=1.2 && <1.4                     , text-conversions ==0.3.*@@ -126,9 +124,9 @@   ghc-options:        -threaded                       -rtsopts                       -with-rtsopts=-N-  build-depends:      QuickCheck >=2.13 && <2.16+  build-depends:      QuickCheck >=2.14 && <2.16                     , quickcheck-instances ==0.3.*-                    , tasty >=1.2 && <1.6+                    , tasty >=1.4 && <1.6                     , tasty-hunit ==0.10.*                     , tasty-quickcheck >=0.10 && <0.12                     , webgear-server