Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-servant-server for openSUSE:Factory checked in at 2024-09-09 14:43:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-servant-server (Old) and /work/SRC/openSUSE:Factory/.ghc-servant-server.new.10096 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-servant-server" Mon Sep 9 14:43:52 2024 rev:13 rq:1199302 version:0.20.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-servant-server/ghc-servant-server.changes 2024-08-20 16:14:16.872365306 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-servant-server.new.10096/ghc-servant-server.changes 2024-09-09 14:44:16.406282683 +0200 @@ -1,0 +2,24 @@ +Fri Aug 30 02:34:17 UTC 2024 - Peter Simons <[email protected]> + +- Update servant-server to version 0.20.2. + 0.20.2 + ---- + + - Fix build of examples/greet.hs. Add "429 Too Many Requests" error. [#1591](https://github.com/haskell-servant/servant/pull/1591) + - Full query string helpers [#1604](https://github.com/haskell-servant/servant/pull/1604) + This involves a new instance `HasServer (QueryString :> api) context`. + - Add `MkHandler` pattern synonym [#1732](https://github.com/haskell-servant/servant/issues/1732) [#1733](https://github.com/haskell-servant/servant/pull/1733) + + Add a bidirectional pattern synonym to construct `Handler a` values from `IO + (Either ServerError a)` ones, and match in the other direction. + - Add instance `HasServer (EmptyAPI :> api) context` [#1775](https://github.com/haskell-servant/servant/pull/1775) + - Bugfix - CaptureAll produces [""] for empty paths due to trailing slash. [#1243](https://github.com/haskell-servant/servant/issues/1243) [#1516](https://github.com/haskell-servant/servant/pull/1516) + + CaptureAll resulted in `[""]` for empty paths due to trailing slash. Similar + oddities occurred around these edge cases like `"/"` resulted in `[]` correctly, + but `"//"` resulted in `["", ""]`. This patch simply eliminates the first `""` + in the pathinfo list as taken from the wai response. This might break user + code that relies on personal shims to solve the problem, however simply removing their + workarounds should fix their code as the behavior is now sane. + +------------------------------------------------------------------- Old: ---- servant-server-0.20.tar.gz servant-server.cabal New: ---- servant-server-0.20.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-servant-server.spec ++++++ --- /var/tmp/diff_new_pack.8D9qcX/_old 2024-09-09 14:44:17.306319921 +0200 +++ /var/tmp/diff_new_pack.8D9qcX/_new 2024-09-09 14:44:17.310320086 +0200 @@ -20,13 +20,12 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.20 +Version: 0.20.2 Release: 0 Summary: A family of combinators for defining webservices APIs and serving them License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/6.cabal#/%{pkg_name}.cabal BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-aeson-devel @@ -59,8 +58,6 @@ BuildRequires: ghc-mtl-prof BuildRequires: ghc-network-devel BuildRequires: ghc-network-prof -BuildRequires: ghc-network-uri-devel -BuildRequires: ghc-network-uri-prof BuildRequires: ghc-resourcet-devel BuildRequires: ghc-resourcet-prof BuildRequires: ghc-rpm-macros @@ -68,8 +65,6 @@ BuildRequires: ghc-servant-prof BuildRequires: ghc-sop-core-devel BuildRequires: ghc-sop-core-prof -BuildRequires: ghc-string-conversions-devel -BuildRequires: ghc-string-conversions-prof BuildRequires: ghc-tagged-devel BuildRequires: ghc-tagged-prof BuildRequires: ghc-text-devel @@ -88,8 +83,6 @@ BuildRequires: ghc-word8-prof ExcludeArch: %{ix86} %if %{with tests} -BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-QuickCheck-prof BuildRequires: ghc-directory-devel BuildRequires: ghc-directory-prof BuildRequires: ghc-hspec-devel @@ -102,22 +95,17 @@ BuildRequires: ghc-should-not-typecheck-prof BuildRequires: ghc-temporary-devel BuildRequires: ghc-temporary-prof -BuildRequires: ghc-transformers-compat-devel -BuildRequires: ghc-transformers-compat-prof BuildRequires: ghc-wai-extra-devel BuildRequires: ghc-wai-extra-prof %endif %description -A family of combinators for defining webservices APIs and serving them - +A family of combinators for defining webservices APIs and serving them . You can learn about the basics in the -<http://docs.servant.dev/en/stable/tutorial/index.html tutorial>. - +<http://docs.servant.dev/en/stable/tutorial/index.html tutorial>. . <https://github.com/haskell-servant/servant/blob/master/servant-server/example/greet.hs Here> is a runnable example, with comments, that defines a dummy API and -implements a webserver that serves this API, using this package. - +implements a webserver that serves this API, using this package. . <https://github.com/haskell-servant/servant/blob/master/servant-server/CHANGELOG.md CHANGELOG>. @@ -149,7 +137,6 @@ %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ servant-server-0.20.tar.gz -> servant-server-0.20.2.tar.gz ++++++ ++++ 1868 lines of diff (skipped)
