Commit graph

71 commits

Author SHA1 Message Date
Oleg Grenrus
2a30a19052 wip-servant-client-jsaddle 2019-02-02 10:58:12 +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
4195fd04d4 tested-with: GHC==8.6.2 2018-11-09 17:41:00 +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
Oleg Grenrus
788e0248f1 8.4.4 job 2018-10-15 18:15:52 +03: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
Colin Woodbury
7150a5bec3
Remove Travis references to tutorial
- It depends on `servant-js`, which is behind on its `base` bound.
2018-10-07 13:12:18 -07:00
Colin Woodbury
7428b76dd6
Remove Travis references to jwt-and-basic-auth 2018-10-07 12:40:31 -07:00
Colin Woodbury
42aac2bb52
Remove Travis references to hoist-server-with-context
- This is in an attempt to get cookbooks building with GHC 8.6.
2018-10-07 12:30:31 -07:00
Colin Woodbury
b2ed29b0b9
Update Travis config for GHC 8.6 2018-10-07 11:33:05 -07:00
Oleg Grenrus
80c1ec14c8 Regenerate .travis.yml 2018-10-04 13:04:00 +03:00
Erik Aker
0c4dc88592 Add new cookbook recipe for hoistServerWithContext 2018-10-03 18:00:06 -07:00
Oleg Grenrus
e03b568b41 Regenerate .travis.yml 2018-09-19 13:27:43 +03:00
Marco Perone
5a65581beb added changelog and CI steps for Sentry recipe 2018-09-19 08:25:42 +02:00
Marco Perone
7a9504e046 cookbook sentry integration page 2018-09-19 08:21:09 +02:00
Jakob Demler
765b62b05b curl-mock cookbook example 2018-09-14 19:01:04 +02:00
Oleg Grenrus
5ba0e439dc Support only GHC-8.0+
Let's bump lower bounds to whatever is in LTS close to release date.
2018-07-10 17:17:56 +03:00
Oleg Grenrus
8dc323ef0a Add 'using free client' recipe 2018-07-06 00:21:17 +03:00
Oleg Grenrus
85ed092873 Enable rest of recipes 2018-06-19 21:23:46 +03:00
Oleg Grenrus
e5529471ae Regenerate .travis.yml 2018-06-19 21:23:14 +03:00
Oleg Grenrus
626762df7e Fix .travis.yml 2018-06-12 19:29:44 +03:00
Oleg Grenrus
0f4df5d429 Use fixed cabal-install-2.2 2018-06-09 10:15:48 +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
d073eb0619 Temporarily disable haddock in travis 2018-05-23 17:05:56 +03:00
Oleg Grenrus
397feed72a Try grayjay patchto fix 7.8.4 job 2018-05-23 16:06:42 +03:00
Oleg Grenrus
52f27de256 Add --max-backjumps to .travis.yml 2018-03-08 13:18:47 +02: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
Oleg Grenrus
816b7115f9 Regenerate .travis.yml 2018-01-05 10:33:10 +02:00
Oleg Grenrus
ccf0056f64 Regenerate .travis.yml 2017-12-10 14:27:40 +02: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
a3ce2c3ed8 Build only master and release-0.12 on travis 2017-11-11 00:06:19 +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
fcaef360cb Don't build --dep for all
As tutorial depends on servant-js, which isn't in this repository
cabal fails fatally to `new-build --dep all`.

Instead we are building deps for servant-server and servant-client only,
which already includes e.g. http-client and warp, i.e. pretty much
everything we need. It's not bad that some dependencies might be build
during `script` phase
2017-10-25 18:15:03 +03:00
Oleg Grenrus
b45e94de19 cabal new-build based .travis.yml 2017-10-25 18:15:02 +03:00
Oleg Grenrus
822b853590 Ignore -Wno-missing-home-modules in travis 2017-09-14 14:37:07 +03:00
Oleg Grenrus
8959d61173 GHC-8.2.1 stack.yaml 2017-06-07 17:29:15 +03:00
Oleg Grenrus
22d0f6ccb9 Make GHC-8.0.2 stack.yaml the default 2017-05-24 08:02:57 +03:00
Oleg Grenrus
e49d491164 Allow aeson-1.2 2017-04-17 21:35:20 +03:00
Sönke Hahn
1b83d30cf3 switch ci to stack and add ci cron job to test hackage breakage 2016-08-17 14:12:12 +02:00