Releases: inikulin/parse5
Releases · inikulin/parse5
v2.2.0
-
SAXParser (by @RReverser)
-
Latest spec changes
-
Fixed: Element nesting corrections now take namespaces into consideration.
v2.1.5
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
- Added: location info for attributes (GH #43) (by @sakagg and @yyx990803).
- Fixed:
parseFragmentwithlocationInforegression when parsing<template>(GH #90) (by @yyx990803).
v2.0.2
v2.0.1
v2.0.0
- Added: ParserStream with the scripting support. (GH #26).
- Added: SerializerStream. (GH #26).
- Added: Line/column location info. (GH #67).
- Update (breaking): Location info properties
startandendwere renamed tostartOffsetandendOffsetrespectively. - Update (breaking):
SimpleApiParserwas renamed to SAXParser. - Update (breaking): SAXParser is the transform stream now. (GH #26).
- Update (breaking): SAXParser handler subscription is done via events now.
- Added: SAXParser.stop(). (GH #47).
- Add (breaking): parse5.parse() and parse5.parseFragment() methods as replacement for the
Parserclass. - Add (breaking): parse5.serialize() method as replacement for the
Serializerclass. - Updated: parsing algorithm was updated with the latest HTML spec changes.
- Removed (breaking):
decodeHtmlEntitiesandencodeHtmlEntitiesoptions. (GH #75). - Add (breaking): TreeAdapter.setTemplateContent() and TreeAdapter.getTemplateContent() methods. (GH #78).
- Update (breaking):
defaulttree adapter now stores<template>content intemplate.contentproperty instead oftemplate.childNodes[0].