Commit graph

2389 commits

Author SHA1 Message Date
Michael Dunn
07b3236eb6 Added Cookie in CookieJar after redirect test case to ClientSpec.hs. 2019-01-25 10:17:58 -06:00
Oleg Grenrus
15610f24bd
Merge pull request #1107 from haskell-servant/network-3.0
Allow network-3.0
2019-01-23 10:28:47 +02:00
Oleg Grenrus
b685efecbe Allow network-3.0 2019-01-23 02:20:16 +02:00
Oleg Grenrus
c25085e9e5 Allow http-client-0.6 2019-01-09 10:45:40 +02:00
Travis Staton
9d8a8118b8 Set http failure code priority explicitly 2019-01-06 11:02:38 -05:00
Michael Dunn
37a38d7a9b Cookies are added to the CookieJar for all intermediate/redirected requests. 2019-01-04 17:04:20 -06:00
Alp Mestanogullari
a3d335b436
Merge pull request #1098 from csamak/patch-1
Fix the tutorial app4 curl example
2018-12-19 10:40:30 +01:00
csamak
2191fc815e
Fix the tutorial app4 curl example
Change the app4 curl example to match the API definition.
2018-12-17 11:11:41 -08:00
Oleg Grenrus
7bbcfb21e7
Merge pull request #1090 from domenkozar/nocontent-nfdata
Add NoContent instance for NFData
2018-11-27 19:48:59 +02:00
Domen Kožar
e7655d380a
Add NoContent instance for NFData 2018-11-27 16:41:31 +00:00
Oleg Grenrus
e3e5d2b230
Merge pull request #1082 from phadej/changelog-0.15b
Changelog 0.15b
2018-11-13 17:55:18 +02:00
Oleg Grenrus
3b8db040f3 http-api-data-0.4 2018-11-13 17:21:29 +02:00
Alp Mestanogullari
1fb70d3a90
Merge pull request #1081 from xaviershay/rawm
Add note to custom monad documentation about what to do with Raw endpoints
2018-11-13 10:53:07 +01:00
Oleg Grenrus
e0e0674645 Strict dependencies on http-api-data and singleton-bool 2018-11-13 10:35:06 +02:00
Oleg Grenrus
a1a99552b5 Changelog and cabal file edits
- Add #1079, #1011 entry
- Stricter internal dependencies
- Unify .cabal files
- Correct -conduit, -machines, -pipes changelog
- Fix years in LICENSEs
- Remove tinc.yamls
- Tweaks to 0.15 changelog
- Add changelogs for all packages
- Add changelogs for new packages (extra-source-files)
2018-11-13 09:58:42 +02:00
Oleg Grenrus
c62721e2ea
Merge pull request #1072 from phadej/changelog-0.15
Add changelog for 0.15
2018-11-12 22:01:55 +02:00
Oleg Grenrus
44aabebb04
Merge pull request #1079 from haskell-servant/issue-1011
Fix issue #1011: NewlineFraming encodes newline after each element
2018-11-12 22:01:14 +02:00
Oleg Grenrus
d64c2322d8
Merge pull request #1078 from phadej/arbitrary-sourcet
Add Arbitrary (SourceT m a) and StepT m a instances
2018-11-12 22:01:00 +02:00
Xavier Shay
63d685adb3 Add note to custom monad documentation about what to do with Raw endpoints. 2018-11-11 09:31:57 -08:00
Oleg Grenrus
f1eb5f93a8 Fix issue #1011: NewlineFraming encodes newline after each element 2018-11-10 01:45:56 +02:00
Oleg Grenrus
17f9237980 Add framingRender examples 2018-11-10 01:44:40 +02:00
Oleg Grenrus
4961cc2f3a Add Arbitrary (SourceT m a) and StepT m a instances
The generated instances are pure-ish; errorless.
2018-11-09 23:49:25 +02:00
Oleg Grenrus
ce83e4b404
Merge pull request #1077 from phadej/stream-body-mods
Add mods to StreamBody
2018-11-09 23:10:13 +02:00
Oleg Grenrus
c6311be5a1 Add #1077 entry 2018-11-09 21:52:20 +02:00
Oleg Grenrus
3001ed7990 Add mods to StreamBody 2018-11-09 21:49:53 +02:00
Oleg Grenrus
a5d3f44f2a Add #1076 entry 2018-11-09 21:14:30 +02:00
Oleg Grenrus
d9dc894ca6 Add changelog for 0.15 2018-11-09 21:14:30 +02:00
Oleg Grenrus
bbf196717f
Merge pull request #1076 from phadej/run-streaming-client
Add runClientM for streaming-client
2018-11-09 21:13:05 +02:00
Oleg Grenrus
0dd8ee7585 Add runClientM for streaming-client 2018-11-09 20:22:47 +02:00
Oleg Grenrus
5f947d1c43 Bump version numbers
- Almost everything 0.15; also servant-foreign jumped to 0.15, for
  consistency
- Bump lower bounds of dependencies to most recent versions atm
- Use hspec-2.6.0
- Update `stack.yaml` accordingly
- Use base-compat a bit more
- Drop aeson-compat dependency (in tests and tutorial)
2018-11-09 20:20:26 +02:00
Oleg Grenrus
5e3faa12c0
Merge pull request #1073 from phadej/ghc-8.6.2
tested-with: GHC==8.6.2
2018-11-09 18:49:45 +02:00
Oleg Grenrus
4195fd04d4 tested-with: GHC==8.6.2 2018-11-09 17:41:00 +02:00
Oleg Grenrus
97bd6f0a40
Merge pull request #1066 from phadej/separate-streaming-client
Separate streaming client
2018-11-09 14:50:57 +02:00
Oleg Grenrus
c95b195eb4 XhrClient doesn't support streaming 2018-11-08 18:47:54 +02:00
Oleg Grenrus
21af9a4051 Tweak lookupResponseHeader docs 2018-11-08 18:36:31 +02:00
Oleg Grenrus
db80f41dee
Merge pull request #1064 from DanBurton/lookup-response-header
Add lookupResponseHeader
2018-11-08 18:36:09 +02:00
Oleg Grenrus
8feda81fcd Separate Servant.Client.Streaming
- as a bonus only `servant-client` depends on `kan-extensions`
2018-11-08 17:58:21 +02:00
Oleg Grenrus
05d0f7e460
Merge pull request #1071 from phadej/golden-servant-docs
Golden servant docs
2018-11-08 17:37:19 +02:00
Oleg Grenrus
953747b55b Correct some doctest looking things to be doctests 2018-11-08 17:12:20 +02:00
Oleg Grenrus
7bed805cf7 Golden test for comprehensive API docs 2018-11-08 16:32:10 +02:00
Oleg Grenrus
f7bda98b6a Use tasty for servant-docs tests 2018-11-08 15:35:48 +02:00
Oleg Grenrus
80a047d1d4
Merge pull request #1035 from afcady/multipart-foreign
Implement HasForeign instance
2018-11-07 14:34:58 +02:00
Oleg Grenrus
da2af9fd5a
Merge pull request #1070 from phadej/test-public
Make ComprehensiveAPI part of public API
2018-11-06 18:38:02 +02:00
Oleg Grenrus
7634e08352 Make ComprehensiveAPI part of public API
We cannot simply tweak it, it will break tests of other packages.
Including packages not in this repository.
2018-11-06 13:35:47 +02:00
Alp Mestanogullari
56d95ae1ea
Merge pull request #1068 from cocreature/monadmask
Add MonadMask instance for Handler
2018-11-06 07:36:41 +01:00
Oleg Grenrus
3f56b86218
Merge pull request #1069 from phadej/re-enable-recipes
Re-enable some previously GHC-8.6 blocked recipes
2018-11-05 23:44:48 +02:00
Oleg Grenrus
f63610a513 base-compat in hoist-server-with-context 2018-11-05 19:20:18 +02:00
Oleg Grenrus
79caafe3fd Re-enable some previously GHC-8.6 blocked recipes 2018-11-05 17:52:01 +02:00
Oleg Grenrus
e94919f4b3
Merge pull request #991 from phadej/servant-machines
Streaming refactoring
2018-11-05 16:23:15 +02:00
Oleg Grenrus
45c1cbdfd5 Refactor Stream stuff
- Introduce SourceT, which is simple variant of "correct `ListT`".
  There are another variants possible (like in `streaming`),
  but I'm not sure there's much real difference.

- Introduce `Codensity`. There's a flag if people don't want to depend
  on `kan-extensions`.

- `StreamGenerator` and `ResultStream` are both `SourceT`.
  `Stream` combinator in `servant-client` uses `Codensity` for CPS.

- Add servant-machines, servant-conduit, servant-pipes
- Add streaming cookbook: just code, no explanations.
- Add a script to run streaming 'benchmarks'
2018-11-05 15:48:47 +02:00