Changelog for xmlbf-0.6
0.6
-
COMPILER ASSISTED BREAKING CHANGE.
pFailwas removed in favour offailfromMonadofMonadFail. -
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.
elementnow returns[Node]. This makes the library safer. It's not possible to construct a malformedElementanymore using the names exported by the library. It is also ergonomic, since most functions with which you would want to use a manually constructedElementexpect a[Node]anyway. -
COMPILER ASSISTED BREAKING CHANGE.
element'now returnsEither String Node. -
COMPILER ASSISTED BREAKING CHANGE.
textnow returns[Node]. -
COMPILER ASSISTED BREAKING CHANGE. Removed
IsString Nodeinstance. -
COMPILER ASSISTED BREAKING CHANGE. Use lazy
TextinsideTextnodes. This improvesTextconcatenation 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 usepFailormzeroif you want to write a failing parser. -
BREAKING CHANGE.
pTextnow skips empty text nodes. -
Added
node. -
Added
pFail. -
Added
text'. -
Added
pChildren. -
Added
pAnyElement. -
Added
pName. -
Added
NFDatainstance forNode. -
encodedoesn'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.
pElementnow skips leading whitespace before an element. -
Fixed nested element parsing (#6)
0.3
-
BREAKING CHANGE. Renamed
dfanddfMtodfposanddfposMrespectively. -
Added
dfpreanddfpreM. -
Improved
Showinstance forNode. -
Added
element'.
0.2
-
Textconstructor hidden in favor of atextfunction plus aTextpattern synonym, just like withelementandElement. -
Documentation: Render
Elementpattern synonym.
0.1
- First version.