Commit Graph

88 Commits

Author SHA1 Message Date
bartavelle
c12c2b56c4 Dropped support for aeson < 1, tentative support for 1.2 2017-06-06 13:51:52 +02:00
bartavelle
c565a3966d Fix upper bound for aeson 2017-06-06 12:47:20 +02:00
bartavelle
9aba149b0c v0.4.1 2017-06-06 11:38:58 +02:00
bartavelle
832afd14e3 Actually fix the tests :( 2017-04-03 11:03:06 +02:00
bartavelle
dff83d0a42 Fix tests and redundant import 2017-04-03 09:28:30 +02:00
bartavelle
3cfa85799d Removal of old Elm import code
Should fix #17.
2017-04-03 09:01:15 +02:00
bartavelle
559deff102 Shorter synopsis :) 2016-11-25 17:18:04 +01:00
bartavelle
e7a67941a5 Longer synopsis 2016-11-25 16:38:54 +01:00
Alexander Thiemann
c07c054d08 Small changelog tweak 2016-11-25 10:58:12 +01:00
bartavelle
60783b81d1 v0.4.0 2016-11-25 10:21:52 +01:00
bartavelle
05621d5e7d Update all code to Elm 0.18 2016-11-25 10:18:20 +01:00
bartavelle
31d5ace75e Removal of unused file 2016-11-24 13:52:18 +01:00
bartavelle
aa48855e19 Do not pollute the global namespace with dictionnaries
This might have a performance impact, but dictionnaries are now living
in a `let` block for "sum unaries".
2016-08-23 17:59:11 +02:00
Alexander Thiemann
76acecc7ac Bump version 2016-05-27 17:36:14 +02:00
bartavelle
c02950405b Support for GHC 8.0.* 2016-05-27 07:52:13 +02:00
Alexander Thiemann
ee590ea62e update changelog, bump version 2016-05-22 12:05:40 +02:00
Alexander Thiemann
834e73c9e5 Merge pull request #12 from Kyarigwo/UpdateForElm0.17
Updated for Elm 0.17
2016-05-22 10:22:40 +02:00
Bruce Wielinga
87870f171d Added switch for Elm 0.16 compatibility
make module will by default still make 0.16 compatible modules, but
makeModuleWithVersion takes a Version argument to determine which
version to generate.
2016-05-21 07:59:07 +10:00
Bruce Wielinga
0e1b32e0fd Revert "Updated for Elm 0.17"
This reverts commit 00acc98990.
2016-05-17 06:40:33 +10:00
Bruce Wielinga
00acc98990 Updated for Elm 0.17
Changed where to exposing(..) in generated modules
2016-05-15 15:28:12 +10:00
bartavelle
b6db7631fa v0.2.2.1 2016-05-02 19:57:07 +02:00
bartavelle
ac96636de1 Make tests compatible with aeson 0.9.*
Fixing #11
2016-05-02 13:37:56 +02:00
bartavelle
1546fd38b5 Bump aeson version 2016-05-02 13:37:50 +02:00
Alexander Thiemann
f3f76bbdf5 fix version number 2016-04-28 13:47:51 +02:00
Alexander Thiemann
3ed5752ab2 some meta fixes and version management 2016-04-28 13:46:54 +02:00
Alexander Thiemann
d0979deb8a Merge pull request #10 from SimSaladin/master
Fix encoding of structures like [Map String v] on Elm side
2016-04-28 13:40:02 +02:00
Samuli Thomasson
f01497f438 Fix encoding of structures like [Map String v] 2016-04-28 12:40:51 +03:00
Alexander Thiemann
fbd704213a Merge pull request #6 from alexlegg/master
Compatibility with Aeson for unary sum types
2016-04-15 09:59:46 +02:00
Alex Legg
409937faef Updated changelog 2016-04-15 10:25:56 +10:00
Alex Legg
ad60f5368d Fixed unwrapUnaryRecords handling 2016-04-14 12:43:08 +10:00
Alex Legg
c7dfddea5f Swapped order for assertEqual so expected/got match up 2016-04-14 11:18:56 +10:00
Alex Legg
4c38c5400f Added extra imports to tests 2016-04-13 22:27:03 +10:00
Alex Legg
482393bae8 Preserve original structure a little better 2016-04-13 22:27:03 +10:00
Alex Legg
bad9d97bfb Added special case for unary sum types 2016-04-13 22:27:03 +10:00
Alex Legg
5373561087 Added imports for Dict and Set 2016-04-13 22:27:03 +10:00
bartavelle
33f23bb3fc Fix the end-to-end tests for simple values. 2016-04-13 12:08:25 +02:00
bartavelle
13e4bfdbdb New tests for simple records 2016-04-13 11:48:00 +02:00
Alexander Thiemann
20367eec9d bump version 2016-02-16 12:09:16 +01:00
bartavelle
c45e817a44 Fix compilation issue for aeson 0.11
The behaviour is probably faulty if the user tries to set
`unwrapUnaryRecords` to `True`.
2016-02-10 17:50:47 +01:00
Alexander Thiemann
2ffe819384 minor fix to version number 2016-01-22 18:16:19 +01:00
bartavelle
7729719949 Changelog 2016-01-20 14:22:56 +01:00
bartavelle
ec6b6c9274 More appropriate names in tests 2016-01-17 10:41:01 +01:00
bartavelle
72b5ccc1fb Add the Value import to the generic module implementation 2016-01-17 09:53:50 +01:00
bartavelle
fcd21efb42 Drop the custom ElmOptions type
Use the `aeson` type instead. This moves the newtyping decision to the
generation part.
2016-01-16 12:21:48 +01:00
Alexander Thiemann
8b590fb4dd remove x-revision from cabal file 2016-01-13 15:57:11 +01:00
bartavelle
81d32701c5 Add myself as an author! 2016-01-13 11:08:35 +01:00
bartavelle
2aad46de33 Sync the README and example 2016-01-13 11:08:01 +01:00
bartavelle
0894666e34 Add pointers to the Elm package 2016-01-13 11:07:40 +01:00
bartavelle
d6659740dd Better documentation 2016-01-12 15:49:59 +01:00
bartavelle
f1198a4f1e Type annotation for encoders 2016-01-04 14:06:05 +01:00