Changelog

v1.5.0 - 2022-11-09

  • 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.

v1.4.0 - 2021-06-05

  • 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.

v1.3.0 - 2020-10-18

  • Fix Saxy.Builder primitive type implementations.
  • Add :cdata SAX event type.
  • Introduce :cdata_as_characters option in parsers.

v1.2.2 - 2020-10-02

  • Bring back accidentally removed XML builders.

v1.2.1 - 2020-09-27 (retired)

  • Fix incorrect type spec.

v1.2.0 - 2020-06-02

  • Fix XML encoding without prolog #57.
  • Fix integer typespec #58.
  • Introduce parser halting #66.
  • Speed up XML builder #69.

v1.1.0 - 2020-02-09

  • Introduce :character_data_max_length option in stream and partial parsing.

v1.0.0 - 2019-12-19

  • Support Elixir 1.6+.
  • Fix white spaces emitting bug in empty elements.
  • BREAKING CHANGES:
    • Leading whitespaces before a tag open will be emitted.

v0.10.0 - 2019-08-26

  • Add support of partial parsing #42.

v0.9.1 - 2019-02-26

v0.9.0 - 2018-10-21

v0.8.0 - 2018-09-05

  • Improve streaming parsing #23.
  • Improve parser performance #24.
  • Improve parser error handling #25.

v0.7.0 - 2018-07-14

  • Introduce XML encoder #17.
  • Fix wrong ASCII code point matching #20.
  • Brought back UTF-8 encoding validation (#16).

v0.6.0 - 2018-04-08

  • 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).

v0.5.0 - 2018-03-15

  • Introduce Simple Form parsing.
  • Parse misc after finishing parsing root element.

v0.4.0 - 2018-03-12

  • Supported Elixir v1.3.
  • Increased parsing speed by 22 times.
  • Improved returning error.
  • Added handle_entity_reference callback in Saxy.Handler.

Breaking changes: