Changelog for xmlbf-0.6.2
0.6.2
encode
now renders attributes in alphabetical order.
0.6.1
-
Documentation improvements.
-
Compatible with GHC 8.8.
0.6
-
COMPILER ASSISTED BREAKING CHANGE.
pFail
was removed in favour offail
fromMonad
ofMonadFail
. -
Added instances for
Parser
:Semigroup
,Monoid
,Selective
,MonadFix
,MonadZip
. -
Documentation improvements.
-
Added dependency on
selective
. -
Removed unnecessary test dependencies.
0.5
-
COMPILER ASSISTED BREAKING CHANGE.
element
now returns[Node]
. This makes the library safer. It's not possible to construct a malformedElement
anymore using the names exported by the library. It is also ergonomic, since most functions with which you would want to use a manually constructedElement
expect a[Node]
anyway. -
COMPILER ASSISTED BREAKING CHANGE.
element'
now returnsEither String Node
. -
COMPILER ASSISTED BREAKING CHANGE.
text
now returns[Node]
. -
COMPILER ASSISTED BREAKING CHANGE. Removed
IsString Node
instance. -
COMPILER ASSISTED BREAKING CHANGE. Use lazy
Text
insideText
nodes. This improvesText
concatenation performance, performed internally byXmlbf
, and makes more intelligent use of memory when dealing with long texts. -
COMPILER ASSISTED BREAKING CHANGE. Removed
pRead
. You are encouraged to usepFail
ormzero
if you want to write a failing parser. -
BREAKING CHANGE.
pText
now skips empty text nodes. -
Added
node
. -
Added
pFail
. -
Added
text'
. -
Added
pChildren
. -
Added
pAnyElement
. -
Added
pName
. -
Added
NFData
instance forNode
. -
encode
doesn't render self-closing tags anymore. Instead, each element has its corresponding closing tag.
0.4.1
- Generalized type of
pRead
.
0.4
-
BREAKING CHANGE.
pElement
now skips leading whitespace before an element. -
Fixed nested element parsing (#6)
0.3
-
BREAKING CHANGE. Renamed
df
anddfM
todfpos
anddfposM
respectively. -
Added
dfpre
anddfpreM
. -
Improved
Show
instance forNode
. -
Added
element'
.
0.2
-
Text
constructor hidden in favor of atext
function plus aText
pattern synonym, just like withelement
andElement
. -
Documentation: Render
Element
pattern synonym.
0.1
- First version.