packages feed

servant-event-stream 0.3.1.0 → 0.3.2.0

raw patch · 3 files changed

+19/−7 lines, 3 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,15 @@ # Revision history for servant-event-stream +## 0.3.2.0 -- 2026-02-23++* Support GHC 8.6 through 9.12 (base 4.12 to 4.21).+* Remove redundant `Typeable` deriving to fix `-Wderiving-typeable` warning on GHC 9.12+.+* Add CI test matrix for GHC 8.6, 8.10, 9.2, 9.8, 9.12.++## 0.3.1.1 -- 2026-02-23++* Constrain base bounds in test suite to match library.+ ## 0.3.1.0 -- 2025-08-21  * Qualify `servant` imports so that `ServerSentEvents` added in `servant-0.20.3.0` does not conflict with ours. (Issue #12)
servant-event-stream.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name: servant-event-stream-version: 0.3.1.0+version: 0.3.2.0 stability: alpha synopsis: Servant support for Server-Sent events category: Servant, Web@@ -14,7 +14,8 @@ license-file: LICENSE author: Shaun Sharples maintainer: shaun.sharples@gmail.com-copyright: (c) 2025 Shaun Sharples+copyright: (c) 2026 Shaun Sharples+tested-with: GHC == 8.6.5, GHC == 8.10.7, GHC == 9.2.8, GHC == 9.8.4, GHC == 9.12.2 build-type: Simple extra-source-files:   CHANGELOG.md@@ -31,7 +32,7 @@     OverloadedStrings    build-depends:-    base >=4.10 && <4.22,+    base >=4.12 && <4.22,     bytestring >=0.11.1.0 && <0.13,     http-media >=0.7.1.3 && <0.9,     lens >=4.17 && <5.4,@@ -42,10 +43,12 @@   hs-source-dirs: src   default-language: Haskell2010   ghc-options: -Wall+  if impl(ghc < 9.4)+    ghc-options: -Wno-unticked-promoted-constructors  test-suite tests-default   type: exitcode-stdio-1.0   main-is: Spec.hs   hs-source-dirs: tests   default-language: Haskell2010-  build-depends: base >=4.10 && <4.22+  build-depends: base >=4.12 && <4.22
src/Servant/API/EventStream.hs view
@@ -12,7 +12,7 @@ {- | Module: Servant.API.EventStream Description: Server Sent Events for Servant Streams-Copyright: (c) 2024 Shaun Sharples+Copyright: (c) 2026 Shaun Sharples License: BSD3 Stability: alpha -}@@ -65,7 +65,6 @@ import Data.Semigroup #endif import Data.Text (Text)-import Data.Typeable (Typeable) import GHC.Generics (Generic) import Network.HTTP.Media ((//), (/:)) import qualified Servant as S@@ -76,7 +75,7 @@   <https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#event_stream_format> -} data ServerSentEvents (a :: Type)-  deriving (Typeable, Generic)+  deriving (Generic)  instance S.HasLink (ServerSentEvents a) where   type MkLink (ServerSentEvents a) r = r