File: ChangeLog.md

package info (click to toggle)
haskell-xml-conduit 1.10.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 260 kB
  • sloc: haskell: 3,473; makefile: 3
file content (154 lines) | stat: -rw-r--r-- 6,253 bytes parent folder | download
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
## 1.10.1.0
* Add `document` function to wrap a stream of XML events in an 'EventBeginDocument'/'EventEndDocument' pair.
* Ensure compatibility with GHC 9.10

## 1.10.0.1
* Fix doctest on GHC 9.12

## 1.10.0.0

* `rsPretty` is now exported only from the new module `Text.XML.Render.Internal`
  - Migration path: Import it from its new home.
  - Since it is now internal, be prepared for it to be changed or removed in some future version.
* `prettify` is no longer exported at all.
  - Migration path: Use `rsPretty = True` in your `RenderSettings` when you finally render the stream instead of inserting the `prettify` combinator into your conduit pipeline.
  - Same caveat as above about `rsPretty` now being internal
  - If you require having the prettified version of an XML event stream as a conduit before rendering (we hope this use case occurs rarely if ever), things will be more awkward:
    - The hack of rendering with `rsPretty = True` and re-parsing might work.
    - Another hack could be to fork this library and add `prettify` to the export list in `Text.XML.Render.Internal`.
    - Otherwise, you might need to implement pretty-printing yourself. The source code of `Text.XML.Render.Internal` might be helpful in that case.

## 1.9.1.1

* Entity declarations with tags inside are now correctly handled
* Parser now fails gracefully on malformed entity declarations
* Parameter entity declarations are now ignored

## 1.9.1

* `]` characters inside doctype are now correctly handled
* Entity expansion loops are now detected and avoided
* Add field `psEntityExpansionSizeLimit` in `ParseSettings` to limit the length of an entity expansion; set to 8192 characters by default

## 1.9.0

* Remove deprecated functions (`ignoreTag`, `ignoreAllTreesContent`, `takeAllTreesContent`)
* Rename `parseText'` into `parseText`
* `takeContent` and `ignoreContent` now cover entities
* Align behaviour of `take`* and `ignore`* functions

## 1.8.0.1

* Use doctest to validate code examples from documentation

## 1.8.0

* Upgrade to conduit 1.3.0

## 1.7.1

* Add `psDecodeIllegalCharacters` field in `ParseSettings` to specify how illegal characters references should be decoded
* Fix compatibility with GHC 8.4.1 [#121](https://github.com/snoyberg/xml/issues/121)

## 1.7.0

* `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.
* 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.
* 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.

## 1.6.0

* 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).

## 1.5.1

* New render setting, `rsXMLDeclaration`; setting it to `False` omits the XML declaration.

## 1.5.0

* `tag` function no longer throws an exception when attributes don't match [#93](https://github.com/snoyberg/xml/pull/93)
* Add `many_` combinator to avoid building results in memory [#94](https://github.com/snoyberg/xml/pull/94)
* Turn some functions from `Consumer Event m a` to `ConduitM Event o m a` to allow yielding values
* Replace `takeAllTreesContent` with `takeAnyTreeContent`, that only consumes one tree
* Introduce `NameMatcher` type to refactor tag parsers
* Add a couple of `take*` functions to stream events rather than parse them
* Rename `ignore*` functions to comply with naming convention

## 1.4.0.3

* Compatibility with blaze-markup-0.8.0.0 [#95](https://github.com/snoyberg/xml/issues/95)

## 1.4.0.2

* Parse XML encoding case-insensitively
* Remove extra EOL when printing XmlException

## 1.4.0.1

* Handle CDATA in takeAllTreesContent [#88](https://github.com/snoyberg/xml/pull/88)

## 1.4.0

* Improve XmlException definition and usage
* Add 'takeAllTreesContent' function

## 1.3.5

* Improvements for using xml-conduit for streaming XML protocols [#85](https://github.com/snoyberg/xml/pull/85)

## 1.3.4.2

* transformers dep bump

## 1.3.4.1

* Remove unneeded ImpredicativeTypes

## 1.3.4

* 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)

## 1.3.3.1

* Generalize signature of choose (Fixes [#72](https://github.com/snoyberg/xml/issues/72)) [#73](https://github.com/snoyberg/xml/pull/73)

## 1.3.3

* New render setting to control when to use CDATA [#68](https://github.com/snoyberg/xml/pull/68)
* Escaping CDATA closing tag in CDATA [#69](https://github.com/snoyberg/xml/pull/69)

## 1.3.2

* Support for iso-8859-1 [#63](https://github.com/snoyberg/xml/issues/63)

## 1.3.1

* Add functions to ignore subtrees & result-streaming (yield) parsers [#58](https://github.com/snoyberg/xml/pull/58)

## 1.3.0

* Drop system-filepath

## 1.2.6

* Reuse 'MonadThrow' and 'force' for 'AttrParser' [#52](https://github.com/snoyberg/xml/pull/52)

## 1.2.5

*  Added helper functions to render XML elements [#48](https://github.com/snoyberg/xml/pull/48)

## 1.2.4

* 'parseText' becomes 'parseText'/'parseTextPos', depending on the output type [#47](https://github.com/snoyberg/xml/pull/47)

## 1.2.3.3

* Allow blaze-builder 0.4

## 1.2.3.2

* Doc fix [#44](https://github.com/snoyberg/xml/pull/44)

## 1.2.3.1

Support monad-control 1.0