File ghc-servant-server.changes of Package ghc-servant-server

-------------------------------------------------------------------
Sat Jun 21 09:44:00 UTC 2025 - Peter Simons <psimons@suse.com>

- Update servant-server to version 0.20.3.0 revision 1.
  Upstream has revised the Cabal build instructions on Hackage.

-------------------------------------------------------------------
Wed Jun  4 10:14:31 UTC 2025 - Peter Simons <psimons@suse.com>

- Update servant-server to version 0.20.3.0.
  0.20.3.0
  --------

  ### Significant changes

  - Remove -XStrictData from servant{,-server}'s cabal files [#1780](https://github.com/haskell-servant/servant/issues/1780) [#1781](https://github.com/haskell-servant/servant/pull/1781)

    The addition of -XStrictData to servant.cabal and servant-server.cabal reduced the laziness
    of routing, which would trigger unimplemented endpoints using `error` or `undefined`,
    despite the fact that these endpoints themselves were not queried.

  ### Other changes

  - Server-sent events (SSE) for client-side [#1811](https://github.com/haskell-servant/servant/issues/1811)

    Implement Server-sent events (SSE) for the Servant client using a new
    combinator "ServerSentEvents". The raw event messages, accumulated events and
    JSON-processed events can be exposed.

  - Integrate MultiVerb [#1766](https://github.com/haskell-servant/servant/pull/1766) [#1804](https://github.com/haskell-servant/servant/pull/1804)

    Expose MultiVerb, a more ergonomic way of defining endpoints that return
    many kinds of responses. Read the cookbook https://docs.servant.dev/en/master/cookbook/multiverb/MultiVerb.html

  - Add Host API combinator [#1800](https://github.com/haskell-servant/servant/pull/1800)

    Adding a Host combinator allows servant users to select APIs according
    to the Host header provided by clients.

  - Add public re-export of renderCurlBasePath lens [#1706](https://github.com/haskell-servant/servant/pull/1706)
  - Remove GHC <= 8.10.7 from the support window [#1778](https://github.com/haskell-servant/servant/pull/1778)
  - Add Servant.API.Range type [#1805](https://github.com/haskell-servant/servant/pull/1805)
  - Add missing HasLink instance for DeepQuery [#1784](https://github.com/haskell-servant/servant/issues/1784)

-------------------------------------------------------------------
Wed Mar 26 15:05:04 UTC 2025 - Peter Simons <psimons@suse.com>

- Update servant-server to version 0.20.2 revision 1.
  Upstream has revised the Cabal build instructions on Hackage.

-------------------------------------------------------------------
Fri Aug 30 02:34:17 UTC 2024 - Peter Simons <psimons@suse.com>

- 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.

-------------------------------------------------------------------
Mon Aug 12 07:30:41 UTC 2024 - Peter Simons <psimons@suse.com>

- Update servant-server to version 0.20 revision 6.
  Upstream has revised the Cabal build instructions on Hackage.

-------------------------------------------------------------------
Thu May 16 21:43:26 UTC 2024 - Peter Simons <psimons@suse.com>

- Update servant-server to version 0.20 revision 5.
  Upstream has revised the Cabal build instructions on Hackage.

-------------------------------------------------------------------
Mon Nov 27 21:41:09 UTC 2023 - Peter Simons <psimons@suse.com>

- Update servant-server to version 0.20 revision 4.
  Upstream has revised the Cabal build instructions on Hackage.

-------------------------------------------------------------------
Tue Aug 15 08:19:56 UTC 2023 - Peter Simons <psimons@suse.com>

- Update servant-server to version 0.20 revision 2.
  Upstream has edited the change log file since the last release in
  a non-trivial way, i.e. they did more than just add a new entry
  at the top. You can review the file at:
  http://hackage.haskell.org/package/servant-server-0.20/src/CHANGELOG.md

-------------------------------------------------------------------
Thu Mar 30 17:08:13 UTC 2023 - Peter Simons <psimons@suse.com>

- Updated spec file to conform with ghc-rpm-macros-2.5.2.

-------------------------------------------------------------------
Mon Mar 13 19:49:46 UTC 2023 - Peter Simons <psimons@suse.com>

- Update servant-server to version 0.19.2 revision 2.
  Upstream has revised the Cabal build instructions on Hackage.

-------------------------------------------------------------------
Fri Jan 27 21:32:39 UTC 2023 - Peter Simons <psimons@suse.com>

- Update servant-server to version 0.19.2 revision 1.
  Upstream has revised the Cabal build instructions on Hackage.

-------------------------------------------------------------------
Thu Oct 27 22:28:50 UTC 2022 - Peter Simons <psimons@suse.com>

- Update servant-server to version 0.19.2.
  0.19.2
  ------

  Compatibility with GHC 9.4, see [PR #1592](https://github.com/haskell-servant/servant/pull/1592).

-------------------------------------------------------------------
Tue Mar 29 16:33:37 UTC 2022 - Peter Simons <psimons@suse.com>

- Update servant-server to version 0.19.1 revision 2.
  Upstream has revised the Cabal build instructions on Hackage.

-------------------------------------------------------------------
Mon Mar 21 14:54:33 UTC 2022 - Peter Simons <psimons@suse.com>

- Update servant-server to version 0.19.1 revision 1.
  0.19.1
  ------

  - Add `MonadFail` instance for `Handler` wrt [#1545](https://github.com/haskell-servant/servant/issues/1545)
  - Support GHC 9.2 [#1525](https://github.com/haskell-servant/servant/issues/1525)

-------------------------------------------------------------------
Wed Feb 23 10:00:38 UTC 2022 - Peter Simons <psimons@suse.com>

- Update servant-server to version 0.19 revision 1.
  Upstream has revised the Cabal build instructions on Hackage.

-------------------------------------------------------------------
Wed Feb  2 13:27:41 UTC 2022 - Peter Simons <psimons@suse.com>

- Update servant-server to version 0.19.
  Package versions follow the [Package Versioning Policy](https://pvp.haskell.org/): in A.B.C, bumps to either A or B represent major versions.

  0.19
  ----

  ### Significant changes

  - Drop support for GHC < 8.6.
  - Support GHC 9.0 (GHC 9.2 should work as well, but isn't fully tested yet).
  - Support Aeson 2 ([#1475](https://github.com/haskell-servant/servant/pull/1475)),
    which fixes a [DOS vulnerability](https://github.com/haskell/aeson/issues/864)
    related to hash collisions.
  - Add `NamedRoutes` combinator, making support for records first-class in Servant
    ([#1388](https://github.com/haskell-servant/servant/pull/1388)).
  - Add custom type errors for partially applied combinators
    ([#1289](https://github.com/haskell-servant/servant/pull/1289),
    [#1486](https://github.com/haskell-servant/servant/pull/1486)).

-------------------------------------------------------------------
Tue Sep  7 18:48:30 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>

- relax dep constraints on base-compat-* 

-------------------------------------------------------------------
Thu Jun 24 11:52:02 UTC 2021 - psimons@suse.com

- Update servant-server to version 0.18.3.
  0.18.3
  ------

  ### Significant changes

  - Add response header support to UVerb (#1420)

  ### Other changes

  - Support GHC-9.0.1.
  - Bump `bytestring`, `hspec` and `base64-bytestring` dependencies.

-------------------------------------------------------------------
Sat May 15 15:58:31 UTC 2021 - psimons@suse.com

- Update servant-server to version 0.18.2 revision 1.
  Upstream has revised the Cabal build instructions on Hackage.

-------------------------------------------------------------------
Tue Jan 19 20:10:35 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>

- relax dep on http-api-data 

-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
 
- disable %{ix86} build
 
-------------------------------------------------------------------
Wed Dec  9 11:42:42 UTC 2020 - psimons@suse.com

- Add servant-server at version 0.18.2.

openSUSE Build Service is sponsored by