- Require Elixir 1.12+.
- Introduce
Saxy.stream_events
(#118) - Several bug fixes and compilation warnings
- Saxy.encode! now supports "UTF-8"/"utf-8" as string in the prolog #102.
- Access user state inside partial to allow streaming output #100.
- Introduce :never to expand_entity option #114.
- Bug fixes around typespecs.
- Optimize
Saxy.parse_string
(about 20% faster) #84. Previously this could be achieved with application config, you no longer have to do that. - Support custom transformer in
Saxy.Builder
#87. - Miscellaneous fixes #81, #82, #89.
- Fix Saxy.Builder primitive type implementations.
- Add
:cdata
SAX event type. - Introduce
:cdata_as_characters
option in parsers.
- Bring back accidentally removed XML builders.
- Fix incorrect type spec.
- Fix XML encoding without prolog #57.
- Fix integer typespec #58.
- Introduce parser halting #66.
- Speed up XML builder #69.
- Introduce
:character_data_max_length
option in stream and partial parsing.
- Support Elixir 1.6+.
- Fix white spaces emitting bug in empty elements.
- BREAKING CHANGES:
- Leading whitespaces before a tag open will be emitted.
- Add support of partial parsing #42.
- Fix type spec warnings in
Saxy.SimpleForm
.
- Allow turning off streaming feature in config #30.
- Skip DTD instead of crashing #33.
- Minor bug fix on element attributes order 09b90a9b50ea3ffa17ba2736c29ff791ff9859d0.
- Introduce XML encoder #17.
- Fix wrong ASCII code point matching #20.
- Brought back UTF-8 encoding validation (#16).
- Introduce
:expand_entity
option (#14). - Hard deprecate
Saxy.Handler.handle_entity_reference/1
callback (#14). - Fix a UTF-8 buffering bug for streaming parsing (#13, #15).
- Return only root tag in simple form parsing (e8c062).
- Introduce Simple Form parsing.
- Parse misc after finishing parsing root element.
- Supported Elixir v1.3.
- Increased parsing speed by 22 times.
- Improved returning error.
- Added
handle_entity_reference
callback inSaxy.Handler
.
Breaking changes:
- Required entity reference handling in
Saxy.Handler
.