1## 1.9.1
2
3* `]` characters inside doctype are now correctly handled
4* Entity expansion loops are now detected and avoided
5* Add field `psEntityExpansionSizeLimit` in `ParseSettings` to limit the length of an entity expansion; set to 8192 characters by default
6
7## 1.9.0
8
9* Remove deprecated functions (`ignoreTag`, `ignoreAllTreesContent`, `takeAllTreesContent`)
10* Rename `parseText'` into `parseText`
11* `takeContent` and `ignoreContent` now cover entities
12* Align behaviour of `take`* and `ignore`* functions
13
14## 1.8.0.1
15
16* Use doctest to validate code examples from documentation
17
18## 1.8.0
19
20* Upgrade to conduit 1.3.0
21
22## 1.7.1
23
24* Add `psDecodeIllegalCharacters` field in `ParseSettings` to specify how illegal characters references should be decoded
25* Fix compatibility with GHC 8.4.1 [#121](https://github.com/snoyberg/xml/issues/121)
26
27## 1.7.0
28
29* `psDecodeEntities` is no longer passed numeric character references (e.g., ` `, `A`) and the predefined XML entities (`&`, `<`, etc). They are now handled by the parser. Both of these construct classes only have one spec-compliant interpretation and this behaviour must always be present, so it makes no sense to force user code to re-implement the parsing logic.
30* In prior versions of xml-conduit, hexadecimal character references with a leading `0x` or `0X` like `&0x20;` were accepted. This was not in compliance with the XML specification and it has been corrected.
31* xml-conduit now rejects some (but not all) invalid-according-to-spec entities during parsing: specifically, entities with a leading `#` that are not character references are no longer allowed and will be parse errors.
32
33## 1.6.0
34
35* Dropped the dependency on `data-default` for `data-default-class`, reducing the transitive dependency load. For most users, this will not be a breaking change, but it does mean that importing `Text.XML.Conduit` will no longer bring various instances for `Default` into scope. This will break code that relies on those instances and does not otherwise see them. To fix this, import `Data.Default` from `data-default` or one of the more specific instance-providing packages directly (e.g., `data-default-dlist` for the `DList` instance).
36
37## 1.5.1
38
39* New render setting, `rsXMLDeclaration`; setting it to `False` omits the XML declaration.
40
41## 1.5.0
42
43* `tag` function no longer throws an exception when attributes don't match [#93](https://github.com/snoyberg/xml/pull/93)
44* Add `many_` combinator to avoid building results in memory [#94](https://github.com/snoyberg/xml/pull/94)
45* Turn some functions from `Consumer Event m a` to `ConduitM Event o m a` to allow yielding values
46* Replace `takeAllTreesContent` with `takeAnyTreeContent`, that only consumes one tree
47* Introduce `NameMatcher` type to refactor tag parsers
48* Add a couple of `take*` functions to stream events rather than parse them
49* Rename `ignore*` functions to comply with naming convention
50
51## 1.4.0.3
52
53* Compatibility with blaze-markup-0.8.0.0 [#95](https://github.com/snoyberg/xml/issues/95)
54
55## 1.4.0.2
56
57* Parse XML encoding case-insensitively
58* Remove extra EOL when printing XmlException
59
60## 1.4.0.1
61
62* Handle CDATA in takeAllTreesContent [#88](https://github.com/snoyberg/xml/pull/88)
63
64## 1.4.0
65
66* Improve XmlException definition and usage
67* Add 'takeAllTreesContent' function
68
69## 1.3.5
70
71* Improvements for using xml-conduit for streaming XML protocols [#85](https://github.com/snoyberg/xml/pull/85)
72
73## 1.3.4.2
74
75* transformers dep bump
76
77## 1.3.4.1
78
79* Remove unneeded ImpredicativeTypes
80
81## 1.3.4
82
83* dropWS retains consumed whitespace values [#74](https://github.com/snoyberg/xml/issues/74) [#75](https://github.com/snoyberg/xml/pull/75) [#76](https://github.com/snoyberg/xml/pull/76)
84
85## 1.3.3.1
86
87* Generalize signature of choose (Fixes [#72](https://github.com/snoyberg/xml/issues/72)) [#73](https://github.com/snoyberg/xml/pull/73)
88
89## 1.3.3
90
91* New render setting to control when to use CDATA [#68](https://github.com/snoyberg/xml/pull/68)
92* Escaping CDATA closing tag in CDATA [#69](https://github.com/snoyberg/xml/pull/69)
93
94## 1.3.2
95
96* Support for iso-8859-1 [#63](https://github.com/snoyberg/xml/issues/63)
97
98## 1.3.1
99
100* Add functions to ignore subtrees & result-streaming (yield) parsers [#58](https://github.com/snoyberg/xml/pull/58)
101
102## 1.3.0
103
104* Drop system-filepath
105
106## 1.2.6
107
108* Reuse 'MonadThrow' and 'force' for 'AttrParser' [#52](https://github.com/snoyberg/xml/pull/52)
109
110## 1.2.5
111
112*  Added helper functions to render XML elements [#48](https://github.com/snoyberg/xml/pull/48)
113
114## 1.2.4
115
116* 'parseText' becomes 'parseText'/'parseTextPos', depending on the output type [#47](https://github.com/snoyberg/xml/pull/47)
117
118## 1.2.3.3
119
120* Allow blaze-builder 0.4
121
122## 1.2.3.2
123
124* Doc fix [#44](https://github.com/snoyberg/xml/pull/44)
125
126## 1.2.3.1
127
128Support monad-control 1.0
129