Skip to content

Releases: inikulin/parse5

v3.0.2

25 Feb 20:07
Compare
Choose a tag to compare
  • Fixed: location.startTag is not available if end tag is missing (GH #181).

v3.0.1

16 Dec 09:48
Compare
Choose a tag to compare
  • Fixed: MarkupData.Location.col description in TypeScript definition file (GH #170).

v3.0.0

05 Dec 14:52
Compare
Choose a tag to compare
  • 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 with document.mode property which can have
    'no-quirks', 'quirks' and 'limited-quirks' values. Tree adapter setQuirksMode and isQuirksMode methods were replaced with setDocumentMode and getDocumentMode 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

19 Oct 12:16
Compare
Choose a tag to compare
  • Fixed: Fixed incorrect LocationInfo.endOffset for non-implicitly closed elements (refix for GH #109) (by @wooorm).

v2.2.2

29 Sep 13:59
Compare
Choose a tag to compare
  • 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

01 Sep 11:16
Compare
Choose a tag to compare
  • 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

11 Aug 11:34
Compare
Choose a tag to compare
  • SAXParser (by @RReverser)

    • Fixed: Handling of \n in <pre>, <textarea> and <listing>.
    • Fixed: Tag names and attribute names adjustment in foreign content (GH [#99] (#99)).
    • Fixed: Handling of <image>.
  • Latest spec changes

    • Updated: <isindex> now don't have special handling (GH #122).
    • Updated: Adoption agency algorithm now preserves lexical order of text nodes (GH #129).
    • Updated: <menuitem> now behaves like <option>.
  • Fixed: Element nesting corrections now take namespaces into consideration.

v2.1.5

27 Jan 13:31
Compare
Choose a tag to compare
  • Fixed: ParserStream accidentally hangs up on scripts (GH #101).

v2.1.4

26 Jan 11:03
Compare
Choose a tag to compare
  • Fixed: Keep ParserStream sync for the inline scripts (GH #98 follow up).

v2.1.3

19 Jan 20:11
Compare
Choose a tag to compare
  • Fixed: Synchronously calling resume() leads to crash (GH #98).