./www/hs-servant-server, Family of combinators for defining webservices APIs and serving them

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.20.2nb1, Package name: hs-servant-server-0.20.2nb1, Maintainer: pkgsrc-users

This library lets you implement an HTTP server with handlers for each
endpoint of a servant API, handling most of the boilerplate for you.


Master sites:

Filesize: 57.017 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-02 14:06:08 by Masatake Daimon | Files touched by this commit (1173)
Log message:
Bump all Haskell packages after switching the default compiler.
   2025-01-30 17:44:30 by Masatake Daimon | Files touched by this commit (3) | Package updated
Log message:
www/hs-servant-server: update to servant-server-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.
   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2024-05-04 15:33:09 by Masatake Daimon | Files touched by this commit (3)
Log message:
www/hs-servant-server: Make use of HASKELL_DISABLE_EXECUTABLES
   2024-05-04 15:31:29 by Masatake Daimon | Files touched by this commit (2)
Log message:
www/hs-servant-server: Fix build with GHC 9.8

This breaks build with the currently default GHC 9.6. Please bear with me
until I switch the default compiler.
   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-31 05:44:52 by Masatake Daimon | Files touched by this commit (4)
Log message:
www/hs-servant-server: Update to 0.20

0.20
    Add API docs for ServerT #1573
    Add Functor instance to AuthHandler. #1638
    Compatibility with GHC 9.6. #1680
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94