Skip to content

littlexml: v0.6.0

Compare
Choose a tag to compare
@shun-shobon-bot shun-shobon-bot released this 19 Dec 01:39
4980501

0.6.0 (2023-12-19)

⚠ BREAKING CHANGES

  • Migrate to bun
  • element.ts: remove getters from Element class
  • Strictify re-exporting

Features

  • Add indent (478ea04)
  • Add xml builder (fd90598)
  • element.ts: allow adding multiple children to an element at once (e8a0dc3)
  • element.ts: remove getters from Element class (5667afd)
  • Initial commit (f08eb31)
  • Migrate to bun (58ea2d8)
  • render.ts: add renderToIterator function to render XML to an iterable iterator of strings (31c6f8f)
  • render.ts: add renderToStream function to render an XML element to a ReadableStream (e92bbcf)
  • render.ts: add support for encoding option (5697fea)
  • Strictify re-exporting (a24efee)

Bug Fixes

  • element.ts: fix infinite recursion in attributes getter by returning private field #attributes instead of the getter function itself (b483e75)
  • Fix npm build script (d6dbd33)
  • Fix publish ci (d744aac)
  • scripts: add compilerOptions.lib to build_npm.ts script for support of browser (b1c959b)