- ...
- Now uses miniBill/elm-xml-parser fork for parsing XML. Thanks @miniBill!
- Doc fix
- Added
node
for customized decoding. Thanks @marmutro!
- Added
with
for CPS. - [Misc change] Upgraded benchmark.
- Added
oneOf
,index
. - Re-defined
Error
structure to fitOneOf
. Also it is aligned withJson.Decode.Error
now. - [Behavior change] Improved error messages. Now they have newlines with indented structure.
Decoder
andListDecoder
are now opaque types.fail
now takes plainString
, allowing easier failure construction.- Removed
date
anddateAttr
since coreDate
module has been removed.- For now, pipe
string
orstringAttr
intoandThen
with your favorite date string parser, such as rtfeldman/elm-iso8601-date-strings.
- For now, pipe
- Removed
(|:)
since custom infix operators are no longer supported.- You may replace them with
|> andMap ( ... )
, or use Pipeline-style.
- You may replace them with
- Collapse
Xml.Decode.Extra
andXml.Decode.Pipeline
intoXml.Decode
. - [Behavior change] Elements with no children are now decoded into empty strings (
""
) when usingstring
.
- Initial release 🎉