Commit graph

41 commits

Author SHA1 Message Date
Oleg Grenrus
58b401558d Bump versions to 0.16 2019-02-20 19:06:10 +02:00
Oleg Grenrus
a5655f8d5a Rename ServantError to ClientError, ServantErr to ServerError 2019-02-18 22:51:09 +02:00
Oleg Grenrus
775b55316c Try with reorder-goals: True 2019-02-18 19:26:25 +02:00
Oleg Grenrus
0e191964ae Add optimization: False 2019-02-11 15:52:42 +02:00
Oleg Grenrus
b44335ab69 Add servant-http-streams 2019-02-06 12:15:30 +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
Oleg Grenrus
3b8db040f3 http-api-data-0.4 2018-11-13 17:21:29 +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
79caafe3fd Re-enable some previously GHC-8.6 blocked recipes 2018-11-05 17:52:01 +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
Oleg Grenrus
a4151acf9e Enable testing recipe 2018-10-25 23:16:16 +03:00
Oleg Grenrus
28f0cdb5d2 Testing recipe works only on GHC-8.4. Someone please fix it. 2018-10-23 15:52:00 +03:00
Alp Mestanogullari
9d63445fbf
Merge pull request #1050 from erewok/testing-cookbook
Add Testing cookbook
2018-10-15 07:05:30 +02:00
Erik Aker
43af1d0c9e WIP Commit: must finish servant-quickcheck tests 2018-10-11 20:51:30 -07:00
Oleg Grenrus
45e7d58d77 Fix travis
Disable recipes:
- hoist-server-with-context
- jwt-and-basic-auth
- pagination

Add allow-newer:
- servant-js:base
2018-10-08 09:58:01 +03:00
Oleg Grenrus
80c1ec14c8 Regenerate .travis.yml 2018-10-04 13:04:00 +03:00
Marco Perone
5a65581beb added changelog and CI steps for Sentry recipe 2018-09-19 08:25:42 +02:00
Jakob Demler
765b62b05b curl-mock cookbook example 2018-09-14 19:01:04 +02:00
Oleg Grenrus
8dc323ef0a Add 'using free client' recipe 2018-07-06 00:21:17 +03:00
Oleg Grenrus
88f8d3b0d1 Merge servant-generic 2018-07-05 23:21:25 +03:00
Oleg Grenrus
85ed092873 Enable rest of recipes 2018-06-19 21:23:46 +03:00
Oleg Grenrus
6a1fa67fc4 Bump up versions 2018-06-12 19:27:13 +03:00
Oleg Grenrus
0b084afe62 Update .travis.yml
- Disable file-upload recipe (changed MkLink breaks released
  servant-multipart)
- GHC-8.4.2 -> GHC-8.4.3
2018-06-01 13:42:34 +03:00
Oleg Grenrus
c56fda3869 Support GHC-8.4.1 and newer deps 2018-05-26 01:06:36 +03:00
Oleg Grenrus
56a72d7d48 Add changelog and bump versions 2018-02-08 15:17:48 +02:00
Oleg Grenrus
77600e661b Support resourcet-1.2 2018-02-08 11:27:38 +02:00
Oleg Grenrus
c55b778d8e Bump lower bound of http-types >= 0.12
- WIP: pending http-api-data release
- TODO: remove MIN_VERSION_http_types
- There have been 3 major releases of http-types:
  - 0.10 change name of variable
  - 0.11 lowercase escaped URIs
  - 0.12 uppercase escaped URIs
- It's easier for us to support only latest, migration from 0.9/0.10 to 0.12
  is trivial for the downstream. 0.11 may cause semantic (non-type-error) breakage somewhere.

Also allow lens-4.16, remove MIN_VERSION_http_types conditionals, and
update `stack.yaml`
2018-01-30 11:29:25 +02:00
Oleg Grenrus
98a12c328b Reinstate cookbook testing to CI 2018-01-18 00:21:13 +02:00
Oleg Grenrus
3c7e7775fe Fix travis, disallow memory-0.14.12
Also remove duplicate bug-reports field
2018-01-17 20:33:49 +02:00
Ilya Murzinov
f1911f390d Added new cookbook recipe for using custom monad 2017-12-29 13:22:32 +03:00
Alp Mestanogullari
c5f2b9e175 add https recipe, add (future) github links at the end of all recipes 2017-12-08 23:44:48 +01:00
Alp Mestanogullari
6075700ebc add a recipe about 'structuring APIs' in general 2017-12-08 23:44:48 +01:00
Alp Mestanogullari
5ac6de8277 add file upload recipe 2017-12-08 23:44:48 +01:00
Alp Mestanogullari
6dc9d04e60 build cookbook projects in CI 2017-12-08 23:44:47 +01:00
Oleg Grenrus
30f12a7091 Add temporary constraints to fix Travis.
Revert me when cryptonite issue is resolved!
2017-12-05 15:31:13 +02:00
Oleg Grenrus
288e786f18 Bump servant-foreign for 0.11 2017-12-01 23:28:37 +02:00
Oleg Grenrus
018f0e082e Bump versions and update changelogs.
The changelog for `servant` contains changes across core packages,
as we release them as a suite.

Also added links to the GitHub master as we might update entries
for old versions, as changelogs are written by humans.
2017-11-06 11:24:48 +02:00
Oleg Grenrus
b45e94de19 cabal new-build based .travis.yml 2017-10-25 18:15:02 +03:00
Oleg Grenrus
15cc4f55dd Update docs related to hoistServer 2017-10-01 20:24:22 +03:00
Oleg Grenrus
d5e73bf577 Make servant buildable with cabal new-build 2017-01-16 11:03:06 +02:00