Commit Graph

102 Commits

Author SHA1 Message Date
Sönke Hahn
bc1a3e7faa bump version 2016-09-17 11:47:57 -04:00
Tim Habermaas
5d4b730b3e Fix typo in servant-js README 2016-09-16 18:48:54 +02:00
Julian K. Arni
bf824a3889 Bump version to 0.8.1 2016-09-02 13:09:47 -03:00
Julian Arni
9e7356c6d3 Merge pull request #506 from haskell-servant/jkarni/servant-js-docs
Add more JS documentation.
2016-08-25 16:14:09 -03:00
Sönke Hahn
23493d982d add Raw to ComprehensiveAPI (and add ComprehensiveAPIWithoutRaw) 2016-08-17 23:36:30 +02:00
Julian K. Arni
7aa550aa05 Make Javascript tutorial compile. 2016-08-17 13:37:34 -03:00
Oleg Grenrus
6999b00297 Support aeson-1 2016-08-07 20:12:09 +03:00
Julian Arni
f2a7adb748 Merge pull request #536 from jkachmar/fix-js-examples
Fix servant-js examples
2016-08-04 14:18:45 -03:00
Sönke Hahn
8eb412ff23 bump version 2016-07-10 17:21:36 +02:00
Arian van Putten
05379ed7e3 Replace all occurances of () with NoContent
We use NoContent to signify an empty response nowadays. This commit
replaces all occurences of () with NoContent so that all packages use
the new semantics.
2016-07-10 16:58:59 +02:00
Joseph Kachmar
a8e1315ee7 Fix servant-js examples
The Servant.JS Counter example was broken:

- `axios` was not completely applied. It now uses `defAxiosOptions`
similarly to the `angular` example
- `OverloadedStrings` was required, but not included
2016-07-05 11:34:30 -04:00
Sönke Hahn
5effdfdbbb Rename type variables 'layout' and 'sublayout' to 'api' 2016-07-03 22:46:46 +08:00
Sönke Hahn
d8a4cce691 version bump 2016-05-11 12:09:25 +08:00
Sönke Hahn
e0216781b0 set the homepage to readthedocs 2016-04-22 14:12:21 +08:00
Sönke Hahn
b26bbfccda travis: enable -Wall -Werror 2016-04-21 13:06:10 +08:00
Sönke Hahn
ab6131d733 version bump 2016-04-15 18:35:17 +08:00
Rémi Vion
c3bb14fb26 remove redundant import to remove warnings 2016-04-13 15:41:51 +02:00
Rémi Vion
96abac7ef2 remove duplicated HeaderArg export
it is also 2 lines below
2016-04-13 15:41:28 +02:00
Sönke Hahn
c2c9bef571 version bump 2016-04-07 18:24:29 +08:00
Sönke Hahn
14a8139cbe version bump 2016-04-04 16:22:11 +08:00
Arian van Putten
75da1a1b4b Update servant-js changelog 2016-03-19 13:41:27 +01:00
Julian K. Arni
101e138a4b Cut 0.5 in changelogs 2016-03-19 13:26:13 +01:00
Julian Arni
da1beba7f4 Merge pull request #404 from haskell-servant/base-compat
prefer base-compat to CPP macros
2016-03-18 13:53:13 +01:00
Steve Purcell
5188e842a9 [servant-foreign] Parameterise type classes with a foreign representation type
We allow a user-specified type to represent the foreign type of haskell
types encountered in the API. This lets users map Integer, Date etc. to
representations other than Text, and have those representations
available in the returned list of Req.

For example, we might want to map a type which has an instance of
Generic to both a foreign type name and a class declaration for that
foreign type such that it can encode/decode itself to JSON. The previous
limitation to a single Text output prevented this case.
2016-03-14 10:34:53 +13:00
Denis Redozubov
460a0c90b4 more purging 2016-03-13 12:44:38 +03:00
Steve Purcell
207f05e759 [servant-foreign] Parameterise Req with a foreign type 2016-03-13 18:35:49 +13:00
Steve Purcell
bfe812f5d9 [servant-foreign] Normalise names of arg field accessors 2016-03-13 17:27:31 +13:00
Denis Redozubov
d8e98a1f16 fix lens export mismatch 2016-03-12 13:59:40 +03:00
Denis Redozubov
e5635a044e use newtypes in servant-foreign 2016-03-12 12:51:22 +03:00
Ondrej Palkovsky
2cdd6a5fea Bump aeson version. 2016-02-18 22:45:05 +01:00
Denis Redozubov
e6e13fde84 Make servant-foreign code nicer
* non-messy imports
* got rid of most long lines (>80 chars)
* prisms for sum types and newtypes(we use lens anyway, so why not)
* consistent indentation
2016-02-11 15:26:01 +03:00
Julian K. Arni
be36e5b313 Change copyright to servant contributors 2016-01-20 16:58:29 +01:00
Sönke Hahn
ac930ef198 ComprehensiveAPI: add some comments (and minor tweaks) 2016-01-18 20:06:45 +01:00
Sönke Hahn
e5974ec94d add ComprehensiveAPI to test whether we're missing instances
Some of the combinators are commented atm, because we *are* missing combinators.
2016-01-18 12:28:29 +01:00
Julian K. Arni
bd77b4acba Verb for -mock, -js and -foreign. 2016-01-07 13:47:08 +01:00
Julian Arni
3d0ae36189 Merge pull request #310 from arianvp/294
Fix #294
2016-01-07 13:00:47 +01:00
Luigy Leon
17fcc25d87 add include header files to extra-source-files 2016-01-04 23:05:05 -05:00
Julian K. Arni
79d4f944a4 less OverlappingInstances noise 2016-01-04 13:09:11 -05:00
Arian van Putten
82fa23507f Add 205 2015-12-27 17:23:46 +01:00
Arian van Putten
a15d1d9314 Fix 294 2015-12-27 14:05:32 +01:00
Arian van Putten
cf475c26c9 WIP: Fix issue #285 2015-12-06 12:40:27 +01:00
Arian van Putten
60f1ddb89e WIP: Fix issue #285 2015-12-06 12:22:18 +01:00
Denis Redozubov
1bd2d913de Merge pull request #277 from MaxOw/master
Type information in servant-foreign.
2015-12-03 01:00:45 +03:00
Maksymilian Owsianny
721151a32d Added default NoTypes parameter for dynamic languages. 2015-12-02 15:56:56 +00:00
Maksymilian Owsianny
83600d5326 Added myself as co-author. 2015-12-02 14:26:45 +00:00
Maksymilian Owsianny
0c0c382ae6 Fix broken servant-js tests. 2015-12-02 13:22:01 +00:00
Maksymilian Owsianny
2d8db45907 Moved GenerateList to servant-foreign. 2015-12-02 11:21:37 +00:00
Sebastián Estrella
38cb32cda6 [servant-js] README-md - Fix broken link 2015-12-01 00:38:37 -05:00
Maksymilian Owsianny
69f09f2622 Added lang parameter. 2015-11-29 04:53:50 +00:00
Maksymilian Owsianny
0b37222733 Fix servant-js based on changes to servant-foreign. 2015-11-28 08:24:55 +00:00