iko
ad27e74273
Added NamedRoutes to servant-foreign
2023-02-03 07:08:26 +03:00
ˌbodʲɪˈɡrʲim
b3214eac38
Require wai >= 3.2.2.1 ( #1644 )
2023-01-28 13:02:36 +01:00
Jan Hrcek
f71953e63d
Fix haddock code examples in HasClient ( #1640 )
2023-01-28 13:02:11 +01:00
Théophile Choutri
c382a1f34e
Allow resourcet-1.3 in servant-server and servant-conduit ( #1632 )
2023-01-18 09:44:11 +01:00
Daan Rijks
2daae80ea8
Add (basic) API docs for ServerT ( #1573 )
2023-01-09 17:05:08 +01:00
Torgeir Strand Henriksen
a22600979a
Add Functor instance to AuthHandler. ( #1638 )
2022-12-30 12:56:52 +01:00
Théophile Choutri
b8675c0924
Provisionally disable the Stack CI, it's too flaky. ( #1639 )
2022-12-29 19:25:58 +01:00
andremarianiello
751350ba9e
WithResource combinator for Servant-managed resources ( #1630 )
2022-12-29 19:00:47 +01:00
Guillaume Bouchard
a4194dc490
feat: Polymorphic Elem
for Union
( #1637 )
...
Close https://github.com/haskell-servant/servant/issues/1590
2022-12-23 09:42:52 +01:00
nbacquey
6392dce4bf
Document CaptureHint
in Capture[All]Router
( #1634 )
...
Co-authored-by: Nicolas BACQUEY <nicolas.bacquey@tweag.io>
2022-12-08 09:20:53 +01:00
Janus Troelsen
8f081bd9ad
Allow mtl-2.3, require jose-0.10 ( #1627 )
2022-11-17 16:58:52 +01:00
romes
ad25e98e19
Handle Cookies correctly for RunStreamingClient ( #1606 )
2022-11-03 09:46:49 +01:00
Maxim Koltsov
0fc6e395cb
Remove allow-newer for postgresql-simple ( #1625 )
...
Upstream has released updated versions.
2022-10-31 23:59:35 +03:00
Maxim Koltsov
58aa0d1c0c
Merge pull request #1621 from haskell-servant/maksbotan/version-up
...
Version up for servant, servant-server
2022-10-28 01:26:00 +03:00
Maxim Koltsov
18bc2cf314
Version up for servant, servant-server
2022-10-27 21:26:36 +02:00
Maxim Koltsov
d5b9cbf634
Merge pull request #1592 from TeofilC/ghc-9.4
...
Support GHC-9.4
2022-10-27 22:14:26 +03:00
Teo Camarasu
ff135e868b
Add flags to cabal.project to allow building with GHC-9.4
2022-10-27 13:05:51 +01:00
Teo Camarasu
86c61c6dbd
Update doctest to be compatible with newer GHC
2022-10-27 13:05:51 +01:00
Teo Camarasu
3f6886ad2d
Bump depedency bounds
2022-10-27 13:05:38 +01:00
Teo Camarasu
53c132173c
Bump http-api-data bounds
2022-10-27 13:05:05 +01:00
Teo Camarasu
a445fbafd6
Use CPP to avoid errors with old GHC from TypeApplications in class instance
2022-10-27 13:05:05 +01:00
Teo Camarasu
52f76ea722
Add GHC-9.4 to workflow
2022-10-27 13:05:05 +01:00
Teo Camarasu
4627683a64
Fix TypeError for GHC-9.4
...
In GHC-9.4 the typechecker changed requiring more annotations in positions like this. See https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.4#ambiguous-types-containing-a-typeerror and https://gitlab.haskell.org/ghc/ghc/-/issues/21149
2022-10-18 10:45:21 +01:00
l-epple
e4650de303
Allow lens 5.2 ( #1607 )
2022-10-02 17:21:43 +02:00
Felix Yan
2323906080
Allow hspec 2.10 ( #1609 )
...
Builds fine and all tests pass.
2022-09-07 07:31:58 +02:00
Maxim Koltsov
f0e2316895
Merge pull request #1596 from haskell-servant/maksbotan/servant-auth-ghc9.2
...
servant-auth-swagger: allow base-4.16
2022-07-17 21:11:45 +03:00
Maxim Koltsov
43c57332dd
servant-auth-swagger: buildable on GHC 9
2022-07-17 20:48:52 +03:00
Maxim Koltsov
1833ef0d6e
servant-auth-swagger: allow base-4.16
2022-07-17 20:01:25 +03:00
Bart Schuurmans
489cbd59f4
servant-client: Run ClientEnv's makeClientRequest in IO ( #1595 )
...
* servant-client: Run ClientEnv's makeClientRequest in IO
* Add changelog.d entry for #1595
2022-07-01 13:25:13 +02:00
Ian Shipman
1fba9dc604
Only add a ? when query string is nonempty ( #1589 )
...
* Only add a ? when query string is nonempty
* Adds changelog entry
2022-05-16 16:50:10 +02:00
Gaël Deest
8ef5021a5f
Merge pull request #1588 from LightAndLight/master
...
Add HasSwagger instance for NamedRoutes
2022-05-13 07:41:12 +02:00
Tom Sydney Kerckhove
036102af58
Evaluate NoContent before (not) rendering it. ( #1587 )
...
* Evaluate NoContent before rendering it, so it shows up as covered in coverage reports
* failing test as well
* test that NoContent gets rendered if it is not an exception
Co-authored-by: Tom Sydney Kerckhove <syd@cs-syd.eu>
2022-05-04 14:40:26 +02:00
Isaac Elliott
59b5fe67cd
servant-swagger: clean up imports
2022-05-03 11:43:30 +10:00
Isaac Elliott
ae8e1e6003
servant-swagger: tag NamedRoutes endpoints with datatype name
2022-05-03 11:43:27 +10:00
Isaac Elliott
cb310b8294
servant-swagger: add HasSwagger instance for NamedRoutes
2022-05-03 11:43:16 +10:00
Julian Arni
5e1569e9e2
Merge pull request #1580 from haskell-servant/jkarni/servant-auth-io-keyset
...
Allow IO in JWTSettings' validationKeys
2022-04-23 18:17:00 -03:00
Julian K. Arni
4e8fb045e2
Review fix
2022-04-20 21:07:08 +02:00
Julian K. Arni
4cc714d654
Changelog entry
2022-04-20 21:07:08 +02:00
Julian K. Arni
3006e90126
Allow IO in JWTSettings' validationKeys
2022-04-20 21:07:08 +02:00
Gaël Deest
c48a6702b7
Merge pull request #1582 from haskell-servant/named-routes-servant-docs
...
Add support for NamedRoutes in servant-docs
2022-04-19 13:13:50 +02:00
Gaël Deest
9c81b4927a
Add support for NamedRoutes in servant-docs
2022-04-19 12:51:31 +02:00
Gaël Deest
117a2cc5e1
Merge pull request #1583 from haskell-servant/hspec-no-color
...
Disable hspec colored output in servant-swagger doctests
2022-04-19 12:41:15 +02:00
Gaël Deest
78280dc267
Disable hspec colored output in servant-swagger doctests
...
Colored output is the default since hspec 2.9.5.
This causes CI failures due to terminal escaping characters when running
the doctests on GitHub Actions.
2022-04-19 11:16:03 +02:00
Alp
c19ed0fb92
Major bound for servant-server's dependency on servant ( #1574 )
...
Reflecting a revision made on hackage for servant-server 0.19.1
2022-03-30 02:10:54 +02:00
Shea Levy
658585a7cd
Derive MonadMask for ClientM ( #1572 )
2022-03-26 17:03:01 +01:00
Gaël Deest
65de6f701c
Merge pull request #1556 from nbacquey/router_layout_captures
...
Display capture hints in router layout
2022-03-25 10:42:33 +01:00
Nicolas BACQUEY
a19cb84a0e
Update changelog
2022-03-24 16:43:27 +01:00
Nicolas BACQUEY
9d66e16706
Add spec for serverLayout
2022-03-23 14:30:45 +01:00
Nicolas BACQUEY
77b92d0d7d
Display capture hints in router layout
...
This commit introduces a `CaptureHint` type, which is passed as an extra
argument to the `CaptureRouter` and `CaptureAllRouter` constructors for
the `Router'` type.
`CaptureHint` values are then used in `routerLayout`, to display the
name and "type" of captured values (single or list), instead of just
"<capture>" previously.
N.B.:
Because the `choice` smart constructor for routers can aggregate
`Capture` combinators with different capture hints, the `Capture*Router`
constructors actually take a *list* of `CaptureHint`, instead of a
single one.
2022-03-23 14:30:45 +01:00
Maxim Koltsov
f5a91d20e1
Merge pull request #1568 from haskell-servant/maksbotan/stackage-deps
...
Allow hspec-2.9, lens-aeson-1.2
2022-03-22 23:43:22 +01:00