-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCHANGELOG
106 lines (66 loc) · 3.37 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
0.10.3 --> 0.10.4
=================
* Fix a bug where Proc was incorrectly translated into Lambda.
0.10.2 --> 0.10.3
=================
* Explicit signatures are added to String attributes and attribute
names, to play nice with OverloadedStrings (thanks Jeremy Shaw).
* Bug fix where HSX.Transform treated := as a QVarOp instead of
QConOp (thanks again Jeremy).
0.10.1 --> 0.10.2
=================
* Turns out fixity information was needed for proper pretty-printing.
Turned it back on again, hoping to remove it when later switching
to exact-printing instead.
* Also bump lower version bound for haskell-src-exts dependency.
0.10.0 --> 0.10.1
=================
* trhsx no longer performs unnecessary fixity resolution before transforming,
which avoids problems with unknown imported operators in some cases.
0.9.1 --> 0.10.1
================
* Rename the associated types in XMLGen, to avoid frequent name clashes
(and enable compilation of various client libraries on GHC 7.4
without the need for CPP).
* Literal CDATA strings are now annotated with an explicit type signature,
to avoid unnecessary ambiguity when OverloadedStrings is enabled.
* Class XMLGenerator m now has EmbedAsChild m () as premise, and there
is a default instance XMLGen m => EmbedAsChild m ().
* Bug fix in the AST generated by trhsx: Nothing is now generated using
'con nothing_name' instead of 'var nothing_name'. Same with Just.
Thanks Jeremy Shaw for the patch.
0.9.0 --> 0.9.1
===============
* Upgrade to haskell-src-exts 1.11. Only change is to add a Just constructor
in Trhsx to the fixities used when parsing, to retain the previous behavior.
0.8.0 --> 0.9.0
===============
* Several small changes relating to upgrades to use type equality constraints.
0.7.0 --> 0.8.0
===============
* Introduce the new child tag syntax available with haskell-src-exts 1.10.x:
<%><foo/>bar</%>
now translates into the equivalent of
asChild [asChild <foo/>, asChild "bar"]
(though of course with appropriate translation of the <foo/> component as well).
0.6.1 --> 0.7.0
===============
* Give PCDATA children special treatment in the XMLGenerator translations. This is to
avoid situations where GHC has too little information to pick the correct instances,
and if the only children it sees are PCDATA strings then it defaults to (XML m ~ String).
Strings can now never be the XML type of any generator, but chances are fairly small
that anyone ever wanted that anyway. It also means that there is always a default
instance for EmbedAsChild for literal strings.
* Fix a bug with an erroneous parenthesis in the output of trhsx { (map (asAttr x)) instead
of the correct (map asAttr x) }.
* Import OldException on newer versions of base.
* Add mapXMLGenT to XMLGenerator, to allow mapping over the inner monad of a generator.
* Slight change to the format of error messages, to make them emacs-friendly.
0.6.0 --> 0.6.1
===============
* Upgrade to haskell-src-exts 1.5. Only change is to set the parsing to ignore LINE pragmas.
0.5.5 --> 0.6.0
===============
* Upgrade to haskell-src-exts 1.4. A lot of added cases in the AST traversal, but
nothing that would really warrant the major version number bump. Still, it feels better this
way, to get a fresh start with the new HSE versions.