Skip to content

Latest commit

 

History

History
194 lines (112 loc) · 5.62 KB

CHANGELOG.md

File metadata and controls

194 lines (112 loc) · 5.62 KB

Changelog

All notable changes to saxen are documented here. We use semantic versioning for releases.

Unreleased

Note: Yet to be released changes appear here.

10.0.0

  • FEAT: turn into ES module
  • CHORE: require Node >= 18
  • CHORE: drop UMD distribution

Breaking Changes

  • No longer ships UMD distribution
  • Requires Node >= 18

9.0.0

  • FEAT: do not transform xsi:type attribute contents (#23)
  • FEAT: do not hardcode xsi namespace prefix (#23)

Breaking Changes

  • Moved xsi:type attribute manipulation by saxen and xsi prefix binding out of this library, to be handled by downstream libraries, this one is low-level (#23)

8.1.2

  • FIX: correct skipping of > in body tag (#22)

8.1.1

  • FIX: parse > in attribute names (#17, #20)
  • CHORE: drop leftover console.log statement

8.1.0

  • FEAT: warn on non-whitespace outside root node (#11, #12)
  • FEAT: allow dots in tag names

8.0.0

Breaking Changes

  • CHORE: rename ES module to dist/index.esm.js for improved bundler compatibility
  • FIX: drop browser field for better interoperability with module bundlers

7.0.1

  • FIX: allow . in attribute name part

7.0.0

Breaking Changes

  • FEAT: expose Parser and decode via single export only. Use import or destructuring to access it:

    var { Parser } = require('saxen');

Other Improvements

  • FEAT: generate pre-built distributions for CommonJS and Browser targets
  • FEAT: generate UMD bundle
  • CHORE: Migrate code base to ES6

6.0.1

This is a re-publish of the broken v6.0.0 version.

  • FEAT: recover from attribute parse errors (#13)

6.0.0

Unpublished; Use v6.0.1 instead.

5.7.0

  • FEAT: detect and gracefully handle local attribute re-declarations that are forbidden via the XML spec: We'll now emit a warning and ignore the offending attribute (7d0c8629)

5.6.0

This release accidently introduced backwards incompatible changes; use >= 5.7.0 instead.

5.5.0

  • FEAT: expose getContext on all hooks (634857b0)

5.4.1

  • FIX: bundle decode.js with published package (528cd1c0)

5.4.0

  • CHORE: configure hooks only if actually used (5ab3e2ee)

5.3.1

  • FIX: properly handle missing open tags </a>

5.3.0

  • CHORE: simplify and speed up entity decoding (066e712d)

5.2.0

5.1.0

  • FEAT: proxy mode exposes clonable view (73c6c44a)

5.0.1

  • FIX: return {} on non-existing attributes, too

5.0.0

  • CHORE: don't return true on empty attrs (f7360b11)

4.0.1

  • DOCS: improve readme

4.0.0

  • FEAT: fully support anonymous elements in namespace mode (2f48744a)
  • FEAT: emit <warn> for all attribute parse issues (a5014b25)

3.1.0

  • FEAT: keep non-decodeable entities as is
  • FEAT: decode only required sub-set of named entities

3.0.1

  • CHORE: add license field to package.json

3.0.0

  • FEAT: throw on handler errors (4b0ebb1)
  • FEAT: expose current namespaces in proxy mode
  • FEAT: normalize xsi:type attribute values (#4)
  • FEAT: add warn event, informing about recoverable errors (7fce2151)

2.0.0

  • FEAT: rename events

    • textNode -> text
    • startNode -> openTag
    • endNode -> closeTag

1.1.0

  • FEAT: handle non-xml input

1.0.4

  • DOCS: better @type annotations
  • CHORE: save a few bytes in decoding logic

1.0.3

  • DOCS: correct @type and @return annotations in parser

1.0.2

  • FIX: properly handle namespace prefix collisions (#1)

1.0.1

  • CHORE: improve test coverage and documentation

1.0.0

  • FEAT: don't skip unknown namespace nodes
  • FEAT: expose parse context in startNode, endNode and error
  • FEAT: introduce parser object mode
  • FEAT: pipe handler errors to error handler
  • FEAT: allow non-args #ns call
  • FIX: various namespace handling errors
  • STYLE: unify code style
  • CHORE: rename library to saxen
  • CHORE: improve test coverage
  • CHORE: add linting
  • DOCS: move to english language for documentation and README

...

Check git log for earlier history.