Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-warp for openSUSE:Factory checked in at 2026-11-24 12:37:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-warp (Old) and /work/SRC/openSUSE:Factory/.ghc-warp.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-warp" Tue Nov 24 12:37:33 2026 rev:22 rq:1399409 version:3.4.21 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-warp/ghc-warp.changes 2025-09-22 16:39:39.229345794 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-warp.new.1340718/ghc-warp.changes 2026-11-24 12:44:14.290718938 +0100 @@ -1,0 +2,181 @@ +Fri Nov 6 06:59:56 UTC 2026 - Peter Simons <[email protected]> + +- Update warp to version 3.4.21. + ## 3.4.21 + + Requires network 3.2.12. + + * `setUnsafeClose` closes connections with network's `unsafeClose` and + `unsafeGracefulClose`. Off by default, since a `responseRaw` + application may leave threads on the socket. + * The listening socket is closed with `unsafeClose` once the accept loop + has ended. + * Sends use network's `sendAllWith` on every platform, so the timeout + reaches a send on Windows too. + * An HTTP/2 connection which ends normally is no longer reported to + `settingsOnException` as http2's `ConnectionIsClosed`; the default + printed it for every such connection. + + ## 3.4.20 + + * Building with GHC 9.0 again. + [#1161](https://github.com/yesodweb/wai/issues/1161) + + ## 3.4.19 + + * Security: `Host` is validated. A HTTP/1.1 request without one, and any + request with more than one, is refused: a router reading the first and an + application reading `requestHeaderHost` could disagree about which host a + request was for. + [#1152](https://github.com/yesodweb/wai/issues/1152) + * Security: a `Range` which does not begin inside the file is answered 416, + rather than dropping the connection with no answer at all. + [#1153](https://github.com/yesodweb/wai/issues/1153) + * Security: `packIntegral` counts its digits by division. The `Double` + logarithm it used was one short from 10^15 up, and the last digit was + written before the buffer. + [#1154](https://github.com/yesodweb/wai/issues/1154) + * Security: the HTTP/2 connection a GOAWAY for weak TLS ends is no longer + served afterwards, and that GOAWAY now follows the SETTINGS frame which + RFC 9113 has a server send first. + [#1155](https://github.com/yesodweb/wai/issues/1155) + * Security: the HTTP/2 `response` continuation is not called a second time + when an application throws after its response has gone out. + [#1156](https://github.com/yesodweb/wai/issues/1156) + * `InvalidRequest` gains `BadHost`. + [#1152](https://github.com/yesodweb/wai/issues/1152) + * Validate field names with a lookup table. + [#1157](https://github.com/yesodweb/wai/issues/1157) + + ## 3.4.18 + + `Internal` gains `Listener (..)`, `noListener`, `makeListener`, + `AcceptStopped (..)` and `runSettingsConnectionMakerSecureWith`. Requires + network 3.2.10, recv 0.1.3 and time-manager 0.5. + + * Event poll for accept loop. + [#1123](https://github.com/yesodweb/wai/pull/1123) + * Give up on the accept and the receive rather than interrupt them. + [#1143](https://github.com/yesodweb/wai/pull/1143) + * recv: a receive the caller can give up on. + [#1142](https://github.com/yesodweb/wai/pull/1142) + * warp: let the thread manager own the connections. + [#1128](https://github.com/yesodweb/wai/pull/1128) + + ## 3.4.17 + + * Security: `Transfer-Encoding` is read as the comma separated list RFC 9112 + defines, and a framing warp and a proxy could read differently is refused. + [#1147](https://github.com/yesodweb/wai/issues/1147) + * Security: a `Content-Length` must be digits which fit in an `Int` and + repeated ones must agree. + [#1148](https://github.com/yesodweb/wai/issues/1148) + * Security: a header field name must be a non-empty token, which also refuses + obs-fold continuation lines. + [#1149](https://github.com/yesodweb/wai/issues/1149) + * Security: a bare CR or a NUL in a header field line is refused. + [#1151](https://github.com/yesodweb/wai/issues/1151) + * Security: the chunked body parser keeps to RFC 9112: chunk sizes, the CRLF + after a chunk, size lines split over several reads, and the trailer section. + [#1150](https://github.com/yesodweb/wai/issues/1150) + * warp: a chunked request body cut off mid-chunk reaches the application as + complete. + [#1129](https://github.com/yesodweb/wai/issues/1129) + * `InvalidRequest` gains `UnsupportedTransferEncoding`, `AmbiguousBodyLength`, + `BadFieldName`, `BadHeaderLine` and `BadChunkedBody`, one for each of the + five above. + * Allow time-manager 0.5. + + ## 3.4.16 + + * Graceful shutdown no longer stops while a connection it accepted is + unserved. The connection counter it waits on is now raised when the accept + loop accepts a connection rather than when the thread serving it is + scheduled, closing a window in which an accepted connection was invisible + to the shutdown. + [#1104](https://github.com/yesodweb/wai/pull/1104). + * Slight performance increase by not blocking on receiving a request if the + socket already has bytes waiting. (using `receiveNoWait` from `recv-0.1.2`) + [#1107](https://github.com/yesodweb/wai/pull/1107). + * Reviewed when to introduce memory barriers when handling `IORef`s. + Documented most usage and introduced memory barriers in situations that might + possibly be used in more than one thread. + [#1112](https://github.com/yesodweb/wai/pull/1112). + * Add `setOnConnectionException` and `getOnConnectionException` to expose the + peer for exceptions escaping connection workers, including TLS setup failures + before a request exists. The existing exception observer remains the default. + [#1114](https://github.com/yesodweb/wai/pull/1114) + (fixes [#1113](https://github.com/yesodweb/wai/issues/1113)) + + ## 3.4.15 + + * Support `103 Early Hints` over HTTP/2: the HTTP/2 handler installs + `requestSendEarlyHints`, so a WAI application can emit informational responses + ahead of the final response. + [#1085](https://github.com/yesodweb/wai/pull/1085). + * Rework keep alive logic for HTTP/1.X so connections won't be automatically + closed on HEAD requests anymore. Should conform more to spec in general. + Should also reliably close connection when user created `Response` headers + contain a `Connection: close` entry (HTTP/1.1). + [#1086](https://github.com/yesodweb/wai/pull/1086) + * Replace multiline header value support with sanitizing newlines and NUL bytes + with spaces. (as per RFC 9110 section 5.5) + [#1086](https://github.com/yesodweb/wai/pull/1086) + * Size for responses in `Maybe Integer` argument of `settingsLogger` now + consistently and always gives amount of bytes of the sent raw __message body__. + It will only be `Nothing` when using `responseRaw` (mostly used for websockets) + [#1086](https://github.com/yesodweb/wai/pull/1086) + * `responseFile`: no change, gives size of file (part) + * `responseBuilder/responseLBS`: + * included the status and header lines, now fixed + * large `ByteString` chunks would not get counted, now fixed + * `responseStream`: now counts bytes of body sent + * `responseRaw`: will always be `Nothing` + * Rework internal indexed headers to records for performance and to remove + dependencies on `array`. + [#1092](https://github.com/yesodweb/wai/pull/1092) [#1093](https://github.com/yesodweb/wai/pull/1093) + + ## 3.4.14 + + * Important bugfix to not deadlock on empty file descriptors if the cause of + the file descriptor exhaustion is outside of the server's control. + (i.e. the server does not have any running connections and can't use a file + descriptor to create the next connection) + [#1084](https://github.com/yesodweb/wai/pull/1084) + + ## 3.4.13.1 + + * Bugfix to fall back to "blocking `recv`" when on Windows systems and when + using `network < 3.2.2`. + [#1077](https://github.com/yesodweb/wai/pull/1077) + + ## 3.4.13 + + * Change graceful shutdown logic to stop accepting data from idle connections, + but to wait for busy `Application`s, adding `Connection: close` headers to + responses if the server is shutting down. + This should make sure the server doesn't wait for idle keep-alive connections. + * Expose a broader way to access internal state like the open connection `Counter` + and whether the server is currently `ShuttingDown` or not. + Users can use `makeSettingsAndServerState` to get a `ServerState` while + making `defaultSettings`. + [#1071](https://github.com/yesodweb/wai/pull/1071) + + ## 3.4.12 + + * Respond with `Connection: close` header if connection is to be closed after a request. + [#958](https://github.com/yesodweb/wai/pull/958) + + ## 3.4.11 + + * Expose a way to access the open connection `Counter` with `makeSettingsAndCounter`, + and `getCount` to be able to monitor the current open connections. + * Added getter function to get the open connection counter from the `Settings` with + `getOpenConnectionCounter`. + [#1050](https://github.com/yesodweb/wai/pull/1050) + + ## 3.4.10 + + * Using newest dependencies + +------------------------------------------------------------------- Old: ---- warp-3.4.9.tar.gz New: ---- warp-3.4.21.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-warp.spec ++++++ --- /var/tmp/diff_new_pack.ZwKj22/_old 2026-11-24 12:44:16.158798109 +0100 +++ /var/tmp/diff_new_pack.ZwKj22/_new 2026-11-24 12:44:16.162798279 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-warp # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,85 +17,90 @@ %global pkg_name warp -%global pkgver %{pkg_name}-%{version} +%bcond_with ghc_prof %bcond_with tests -Name: ghc-%{pkg_name} -Version: 3.4.9 +Name: ghc-%pkg_name +Version: 3.4.21 Release: 0 +%global pkgver %pkg_name-%{version} Summary: A fast, light-weight web server for WAI applications License: MIT -URL: https://hackage.haskell.org/package/%{pkg_name} -Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +URL: https://hackage.haskell.org/package/%pkg_name +Source0: https://hackage.haskell.org/package/%pkg_name-%{version}/%pkg_name-%{version}.tar.gz BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-array-devel -BuildRequires: ghc-array-prof BuildRequires: ghc-async-devel -BuildRequires: ghc-async-prof BuildRequires: ghc-auto-update-devel -BuildRequires: ghc-auto-update-prof BuildRequires: ghc-base-devel -BuildRequires: ghc-base-prof BuildRequires: ghc-bsb-http-chunked-devel -BuildRequires: ghc-bsb-http-chunked-prof BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-bytestring-prof BuildRequires: ghc-case-insensitive-devel -BuildRequires: ghc-case-insensitive-prof BuildRequires: ghc-containers-devel -BuildRequires: ghc-containers-prof BuildRequires: ghc-crypton-x509-devel -BuildRequires: ghc-crypton-x509-prof BuildRequires: ghc-hashable-devel -BuildRequires: ghc-hashable-prof BuildRequires: ghc-http-date-devel -BuildRequires: ghc-http-date-prof +BuildRequires: ghc-http-semantics-devel BuildRequires: ghc-http-types-devel -BuildRequires: ghc-http-types-prof BuildRequires: ghc-http2-devel -BuildRequires: ghc-http2-prof BuildRequires: ghc-iproute-devel -BuildRequires: ghc-iproute-prof BuildRequires: ghc-network-devel -BuildRequires: ghc-network-prof BuildRequires: ghc-recv-devel -BuildRequires: ghc-recv-prof -BuildRequires: ghc-rpm-macros +BuildRequires: ghc-rpm-macros >= 2.9.2 BuildRequires: ghc-simple-sendfile-devel -BuildRequires: ghc-simple-sendfile-prof BuildRequires: ghc-stm-devel -BuildRequires: ghc-stm-prof BuildRequires: ghc-streaming-commons-devel -BuildRequires: ghc-streaming-commons-prof BuildRequires: ghc-text-devel -BuildRequires: ghc-text-prof BuildRequires: ghc-time-manager-devel -BuildRequires: ghc-time-manager-prof BuildRequires: ghc-unix-devel -BuildRequires: ghc-unix-prof BuildRequires: ghc-vault-devel -BuildRequires: ghc-vault-prof BuildRequires: ghc-wai-devel -BuildRequires: ghc-wai-prof BuildRequires: ghc-word8-devel -BuildRequires: ghc-word8-prof ExcludeArch: %{ix86} +%if %{with ghc_prof} +BuildRequires: ghc-async-prof +BuildRequires: ghc-auto-update-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-bsb-http-chunked-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-case-insensitive-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-crypton-x509-prof +BuildRequires: ghc-hashable-prof +BuildRequires: ghc-http-date-prof +BuildRequires: ghc-http-semantics-prof +BuildRequires: ghc-http-types-prof +BuildRequires: ghc-http2-prof +BuildRequires: ghc-iproute-prof +BuildRequires: ghc-network-prof +BuildRequires: ghc-recv-prof +BuildRequires: ghc-simple-sendfile-prof +BuildRequires: ghc-stm-prof +BuildRequires: ghc-streaming-commons-prof +BuildRequires: ghc-text-prof +BuildRequires: ghc-time-manager-prof +BuildRequires: ghc-unix-prof +BuildRequires: ghc-vault-prof +BuildRequires: ghc-wai-prof +BuildRequires: ghc-word8-prof +%endif %if %{with tests} BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-QuickCheck-prof BuildRequires: ghc-directory-devel -BuildRequires: ghc-directory-prof BuildRequires: ghc-hspec-devel -BuildRequires: ghc-hspec-prof BuildRequires: ghc-http-client-devel -BuildRequires: ghc-http-client-prof BuildRequires: ghc-process-devel +%if %{with ghc_prof} +BuildRequires: ghc-QuickCheck-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-hspec-prof +BuildRequires: ghc-http-client-prof BuildRequires: ghc-process-prof %endif +%endif %description HTTP/1.0, HTTP/1.1 and HTTP/2 are supported. For HTTP/2, Warp supports direct and ALPN (in TLS) but not upgrade. API docs and the README are available at -<http://www.stackage.org/package/warp>. +<https://www.stackage.org/package/warp>. %package devel Summary: Haskell %{pkg_name} library development files @@ -107,24 +112,27 @@ %description devel This package provides the Haskell %{pkg_name} library development files. -%package -n ghc-%{pkg_name}-doc +%package -n ghc-%pkg_name-doc Summary: Haskell %{pkg_name} library documentation Requires: ghc-filesystem BuildArch: noarch -%description -n ghc-%{pkg_name}-doc +%description -n ghc-%pkg_name-doc This package provides the Haskell %{pkg_name} library documentation. -%package -n ghc-%{pkg_name}-prof +%if %{with ghc_prof} +%package -n ghc-%pkg_name-prof Summary: Haskell %{pkg_name} profiling library -Requires: ghc-%{pkg_name}-devel = %{version}-%{release} -Supplements: (ghc-%{pkg_name}-devel and ghc-prof) +Requires: ghc-%pkg_name-devel = %{version}-%{release} +Supplements: (ghc-%pkg_name-devel and ghc-prof) -%description -n ghc-%{pkg_name}-prof +%description -n ghc-%pkg_name-prof This package provides the Haskell %{pkg_name} profiling library. +%endif + %prep -%autosetup -n %{pkg_name}-%{version} +%autosetup -p1 -n %pkg_name-%{version} %build %ghc_lib_build @@ -147,8 +155,10 @@ %files devel -f %{name}-devel.files %doc ChangeLog.md README.md -%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files +%files -n ghc-%pkg_name-doc -f ghc-%pkg_name-doc.files %license LICENSE -%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files +%if %{with ghc_prof} +%files -n ghc-%pkg_name-prof -f ghc-%pkg_name-prof.files +%endif ++++++ warp-3.4.9.tar.gz -> warp-3.4.21.tar.gz ++++++ ++++ 5884 lines of diff (skipped)
