Releases: inikulin/parse5
Releases · inikulin/parse5
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:
parseFragment
withlocationInfo
regression 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
start
andend
were renamed tostartOffset
andendOffset
respectively. - Update (breaking):
SimpleApiParser
was 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
Parser
class. - Add (breaking): parse5.serialize() method as replacement for the
Serializer
class. - Updated: parsing algorithm was updated with the latest HTML spec changes.
- Removed (breaking):
decodeHtmlEntities
andencodeHtmlEntities
options. (GH #75). - Add (breaking): TreeAdapter.setTemplateContent() and TreeAdapter.getTemplateContent() methods. (GH #78).
- Update (breaking):
default
tree adapter now stores<template>
content intemplate.content
property instead oftemplate.childNodes[0]
.