Releases: inikulin/parse5
Releases · inikulin/parse5
v3.0.2
v3.0.1
v3.0.0
- Added: parse5 now ships with TypeScript definitions from which new documentation website is generated (GH #125).
- Added: PlainTextConversionStream (GH #135).
- Updated: Significantly reduced initial memory consumption (GH #52).
- Updated (breaking): Added support for limited quirks mode.
document.quirksMode
property was replaced withdocument.mode
property which can have
'no-quirks'
,'quirks'
and'limited-quirks'
values. Tree adaptersetQuirksMode
andisQuirksMode
methods were replaced withsetDocumentMode
andgetDocumentMode
methods (GH #83). - Updated (breaking): AST collections (e.g. attributes dictionary) don't have prototype anymore (GH #119).
- Updated (breaking): Doctype now always serialized as
<!DOCTYPE html>
as per spec (GH #137). - Fixed: Incorrect line for
__location.endTag
when the start tag contains newlines (GH #166) (by @webdesus).
v2.2.3
v2.2.2
- Fixed: Incorrect location info for text in SAXParser (GH #153).
- Fixed: Incorrect
LocationInfo.endOffset
for implicitly closed<p>
element (GH #109). - Fixed: Infinite input data buffering in streaming parsers. Now parsers try to not buffer more than 64K of input data. However, there are still some edge cases left that will lead to significant memory consumption, but they are quite exotic and extremely rare in the wild (GH #102, GH #130)
v2.2.1
- Fixed: SAXParser HTML integration point handling for adjustable SVG tags.
- Fixed: SAXParser now adjust SVG tag names for end tags.
- Fixed: Location info line calculation on tokenizer character unconsumption (by @ChadKillingsworth).
v2.2.0
-
SAXParser (by @RReverser)
-
Latest spec changes
-
Fixed: Element nesting corrections now take namespaces into consideration.