Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-servant for openSUSE:Factory checked in at 2024-09-09 14:43:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-servant (Old) and /work/SRC/openSUSE:Factory/.ghc-servant.new.10096 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-servant" Mon Sep 9 14:43:51 2024 rev:18 rq:1199301 version:0.20.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-servant/ghc-servant.changes 2024-08-20 16:14:15.980328693 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-servant.new.10096/ghc-servant.changes 2024-09-09 14:44:15.362239488 +0200 @@ -1,0 +2,37 @@ +Fri Aug 30 02:25:17 UTC 2024 - Peter Simons <psim...@suse.com> + +- Update servant to version 0.20.2. + 0.20.2 + ---- + - Full query string helpers [#1604](https://github.com/haskell-servant/servant/pull/1604) + + This PR introduces `DeepQuery`, a route combinator that implements a pattern commonly known as deep objects. + It builds upon the convention of using `[]` for a list of parameters: + `books?filter[search]=value&filter[author][name]=value`. + The corresponding type would be `DeepQuery "filter" BookQuery :> Get '[JSON] [Book]`. + - Add IsIn instance for NamedRoutes [#1707](https://github.com/haskell-servant/servant/pull/1707) + - Renamed `AtLeastOneFragment` type class to `AtMostOneFragment` [#1727](https://github.com/haskell-servant/servant/pull/1727) + + The previously named `AtLeastOneFragment` type class defined in the + `Servant.API.TypeLevel` module has been renamed to `AtMostOneFragment`, + since the previous name was misleading. + - Use `Header'` in response headers. [#1697](https://github.com/haskell-servant/servant/pull/1697) + + Use `Header'` instead of `Header` in response, so it's possible to provide + `Description`, for example: + + ``` + type PaginationTotalCountHeader = + Header' + '[ Description "Indicates to the client total count of items in collection" + , Optional + , Strict + ] + "Total-Count" + Int + ``` + + Note: if you want to add header with description you should use `addHeader'` + or `noHeader'` which accepts `Header'` with all modifiers. + +------------------------------------------------------------------- Old: ---- servant-0.20.1.tar.gz servant.cabal New: ---- servant-0.20.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-servant.spec ++++++ --- /var/tmp/diff_new_pack.AZJkdf/_old 2024-09-09 14:44:15.970264644 +0200 +++ /var/tmp/diff_new_pack.AZJkdf/_new 2024-09-09 14:44:15.970264644 +0200 @@ -20,13 +20,12 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.20.1 +Version: 0.20.2 Release: 0 Summary: A family of combinators for defining webservices APIs 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/5.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-QuickCheck-prof @@ -34,8 +33,6 @@ BuildRequires: ghc-aeson-prof BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-attoparsec-prof -BuildRequires: ghc-base-compat-devel -BuildRequires: ghc-base-compat-prof BuildRequires: ghc-base-devel BuildRequires: ghc-base-prof BuildRequires: ghc-bifunctors-devel @@ -46,6 +43,8 @@ BuildRequires: ghc-case-insensitive-prof BuildRequires: ghc-constraints-devel BuildRequires: ghc-constraints-prof +BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof BuildRequires: ghc-deepseq-devel BuildRequires: ghc-deepseq-prof BuildRequires: ghc-http-api-data-devel @@ -65,10 +64,6 @@ BuildRequires: ghc-singleton-bool-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 BuildRequires: ghc-text-prof BuildRequires: ghc-transformers-devel @@ -84,11 +79,9 @@ %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/CHANGELOG.md CHANGELOG>. @@ -120,7 +113,6 @@ %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ servant-0.20.1.tar.gz -> servant-0.20.2.tar.gz ++++++ ++++ 1883 lines of diff (skipped)