- Node v10, v12, and v15 reached end-of-life and are no longer supported.
- Add support for Node v16 and v18.
Saxophoneno longer emits thefinishevent after a parsing error occurs (see nodejs/node#28979).
- Fix parse error when a comment’s ending sequence sits astride two chunks (
--in the first and>in the second).
- Fix parse error on attribute values containing '>'
- Node v8 and v13 reached end-of-life and are no longer supported.
- Add support for Node v14 and v15.
- Node v6 reached end-of-life and is no longer supported.
- Properly process CDATA and comment tags that sits astride two chunks.
- Report an error when opening and closing tags are mismatched or omitted.
- Stop publishing the module as a transpiled source file, as all supported Node versions are compatible with the syntax that we use.
- Node v4 and v9 reached end-of-life and are no longer supported.
Saxophone()is now a constructor and no longer a factory function, so it should be prefixed by thenewoperator. Otherwise, an error will be thrown stating that a class cannot be called as a function.- Node v0.12 and v5 reached end-of-life and are no longer supported.
- Instances now support streaming through the Node.js stream API. The previous
Saxophone#parseAPI is still supported.
- To improve performance, attributes are no longer automatically parsed for every tag. Users should call
Saxophone#parseAttrswhenever they actually want the attributes parsed. - To improve performance, entities are no longer automatically decoded for every text chunk. Users should call
Saxophone#parseEntitieswhenever they actually want to decode entities from a text.