Up to [cvs.NetBSD.org] / pkgsrc / www / hs-servant
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
recursive revbump after patching lang/ghc910
Bump all Haskell packages after switching the default compiler.
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.
Recursive revbump after changing the default Haskell compiler
Revbump all Haskell after updating lang/ghc96
www/hs-servant: Update to 0.20.1 0.20.1 * Support aeson-2.2 #1695 0.20 * Headers support in UVerb responses #1570 #1571 * Generalize type of Servant.Types.SourceT.source to any foldable #1593 * Make Mime(Un)Render PlainText String instances encode/decode UTF-8 #1645 * Add HasStatus instance for Headers (that defers StatusOf to underlying value) #1649 * Make fromSourceIO run in IO #1661 * Some streaming abstractions, like io-streams, require stateful initialization. Since all actual call sites of fromSourceIO are in a context where IO actions can be executed, these streaming sources can be accomodated by having letting fromSourceIO run in IO. * To migrate your existing FromSourceIO instance, simply put a pure/return in front of it. * Fix the handling of multiple headers with the same name. #1666
Bump Haskell packages after updating lang/ghc94
revbump all the Haskell packages after modifying the runtime system of lang/ghc94
www/hs-servant: import hs-servant-0.19.1 A family of combinators for defining webservices APIs and serving them.