Changelog for xml-conduit-1.7.0.1
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
or0X
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
fordata-default-class
, reducing the transitive dependency load. For most users, this will not be a breaking change, but it does mean that importingText.XML.Conduit
will no longer bring various instances forDefault
into scope. This will break code that relies on those instances and does not otherwise see them. To fix this, importData.Default
fromdata-default
or one of the more specific instance-providing packages directly (e.g.,data-default-dlist
for theDList
instance).
1.5.1
- New render setting,
rsXMLDeclaration
; setting it toFalse
omits the XML declaration.
1.5.0
tag
function no longer throws an exception when attributes don't match #93- Add
many_
combinator to avoid building results in memory #94 - Turn some functions from
Consumer Event m a
toConduitM Event o m a
to allow yielding values - Replace
takeAllTreesContent
withtakeAnyTreeContent
, 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
1.4.0.2
- Parse XML encoding case-insensitively
- Remove extra EOL when printing XmlException
1.4.0.1
- Handle CDATA in takeAllTreesContent #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
1.3.4.2
- transformers dep bump
1.3.4.1
- Remove unneeded ImpredicativeTypes
1.3.4
1.3.3.1
1.3.3
1.3.2
- Support for iso-8859-1 #63
1.3.1
- Add functions to ignore subtrees & result-streaming (yield) parsers #58
1.3.0
- Drop system-filepath
1.2.6
- Reuse 'MonadThrow' and 'force' for 'AttrParser' #52
1.2.5
- Added helper functions to render XML elements #48
1.2.4
- 'parseText' becomes 'parseText'/'parseTextPos', depending on the output type #47
1.2.3.3
- Allow blaze-builder 0.4
1.2.3.2
- Doc fix #44
1.2.3.1
Support monad-control 1.0