warp-quic 0.0.3 → 0.0.4
raw patch · 3 files changed
+14/−4 lines, 3 filesdep ~http3dep ~tlsPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: http3, tls
API changes (from Hackage documentation)
Files
- ChangeLog.md +5/−0
- Network/Wai/Handler/WarpQUIC.hs +5/−0
- warp-quic.cabal +4/−4
ChangeLog.md view
@@ -1,5 +1,10 @@ # Revision history for warp-quic +## 0.0.4++* Adjusted code to fit new range of dependency constraints. [#1043](https://github.com/yesodweb/wai/pull/1043)+ * Accept lower versions of `http3` and `tls`+ ## 0.0.3 * Using http3 v0.1.
Network/Wai/Handler/WarpQUIC.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-} -- | WAI handler for HTTP/3 based on QUIC.@@ -52,11 +53,15 @@ } pread = pReadMaker ii timmgr = timeoutManager ii+#if !MIN_VERSION_http3(0,1,0)+ conf = H3.Config H3.defaultHooks pread timmgr+#else conf = H3.defaultConfig { H3.confPositionReadMaker = pread , H3.confTimeoutManager = timmgr }+#endif case malpn of Nothing -> return () Just appProto -> do
warp-quic.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name: warp-quic-version: 0.0.3+version: 0.0.4 license: BSD3 license-file: LICENSE maintainer: Kazu Yamamoto <kazu@iij.ad.jp>@@ -19,10 +19,10 @@ build-depends: base >=4.13 && <5, bytestring,- http3 >=0.1 && <0.2,+ http3 <0.2, network,- quic >=0.2 && <0.3,- tls >=1.7,+ quic >=0.2 && <0.4,+ tls >=0.8 && < 3, wai, warp >=3.4.4