Skip to content

Releases: lunarmodules/luaexpat

1.5.2

27 Jun 14:37
947d2e9
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.5.1...1.5.2

1.5.1

27 Jun 14:35
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.5.0...1.5.1

LuaExpat 1.5.0

26 Aug 08:24
Compare
Choose a tag to compare
  • warning: this update requires a minimum libExpat version of 2.4.0. Though at the time of writing a minimum version of 2.4.6 is recommended due to CVE's fixed in the intermediate versions.
  • Added option "allowDTD" to the threat protection parser.
  • Add configuration for Billion Laughs Attack prevention. This includes adding #include "expat_config.h", since these functions are conditionally included in the exposed API of Expat. This means that LuaExpat will now be compiled using the same options used to compile Expat itself.
  • Expose Expat compile time constants (lxp._EXPAT_FEATURES), see Expat documentation.

LuaExpat 1.4.1

01 Apr 15:05
90b1af4
Compare
Choose a tag to compare
  • Fix bad buffer size calculation in threat parser

LuaExpat 1.4.0

29 Mar 12:36
Compare
Choose a tag to compare
  • Improved Lua version support (5.1 - 5.4)
  • Fix memory leak when callbacks reference a parser object
  • Expose Expat library version (lxp._EXPAT_VERSION)
  • Added lxp.totable module (thanks Tomás Guisasola Gorham)
  • Fix integers being returned as floats on Lua 5.3+ (thanks Kim Alvefur)
  • Fix XmlDecl callback can also return nil for standalone
  • Many documentation updates
  • Added triplet namespace setting (returnnstriplet)
  • Added EntityDecl handler
  • Added AttlistDecl handler
  • Added ElementDecl handler
  • Added SkippedEntity handler
  • Added EndDoctypeDecl handler
  • More tests and new test setup; Busted, LuaCheck, Github actions
  • Improved finishing, multiple nil-calls no longer throw errors
  • Fix lxp.lom to properly handle input as function, table, or file
  • Added option for namespace aware parsing to the lxp.lom module
  • Repository moved to lunarmodules
  • Added threat protection parser (protects against excessivly large inputs), with options for the lxp.lom and lxp.totable to use it.

LuaExpat 1.3.0

18 Feb 10:53
Compare
Choose a tag to compare
  • Lua 5.2 support (thanks Tomás Guisasola Gorham)
  • support for the XmlDecl handler
  • add parser:getcurrentbytecount() (XML_GetCurrentByteCount)
  • ability to disable CharacterData merging
  • Makefile improvements (thanks Vadim Misbakh-Soloviov)

Note: this is an older release, recreated in the lunarmodules/luaexpat repository

LuaExpat 1.2.0

18 Feb 10:50
Compare
Choose a tag to compare
  • support for the StartDoctypeDecl handler
  • add parser:stop() to abort parsing inside a callback

Note: this is an older release, recreated in the lunarmodules/luaexpat repository