Path to this page:
./
www/hs-servant,
Family of combinators for defining webservices APIs
Branch: CURRENT,
Version: 0.20.2nb1,
Package name: hs-servant-0.20.2nb1,
Maintainer: pkgsrc-usersA family of combinators for defining webservices APIs and serving them.
Master sites:
Filesize: 56.834 KB
Version history: (Expand)
- (2025-02-02) Updated to version: hs-servant-0.20.2nb1
- (2025-01-30) Updated to version: hs-servant-0.20.2
- (2024-05-09) Updated to version: hs-servant-0.20.1nb2
- (2023-11-02) Updated to version: hs-servant-0.20.1nb1
- (2023-10-30) Updated to version: hs-servant-0.20.1
- (2023-10-09) Updated to version: hs-servant-0.19.1nb2
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 16:54:10 by Masatake Daimon | Files touched by this commit (4) |
Log message:
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.
|
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-02 08:47:44 by Masatake Daimon | Files touched by this commit (2) |
Log message:
www/hs-servant: 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-30 14:35:06 by Masatake Daimon | Files touched by this commit (4) |
Log message:
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
|
2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988) |
Log message:
Bump Haskell packages after updating lang/ghc94
|
2023-01-29 05:56:23 by Masatake Daimon | Files touched by this commit (5) |
Log message:
www/hs-servant: import hs-servant-0.19.1
A family of combinators for defining webservices APIs and serving them.
|