Skip to content

Releases: SoulKa/template-replace-stream

v2.2.0

Choose a tag to compare

@SoulKa SoulKa released this 13 Aug 21:03

What's Changed

  • feat: Support replacing async without streams by @SoulKa in #9

Full Changelog: v2.1.2...v2.2.0

v2.1.2

Choose a tag to compare

@SoulKa SoulKa released this 29 May 19:19
  • Add CI tests
  • Update README

v2.1.1

Choose a tag to compare

@SoulKa SoulKa released this 28 May 07:18
a1d3e98
  • Fix stream ending when replacing a template with another stream during the last chunk of data
  • Update README

v2.1.0

Choose a tag to compare

@SoulKa SoulKa released this 28 May 05:35
9b01ea3
  • Further improve performance by using Buffer.indexOf() to find the end of a template variable, too
  • Add more benchmarks

v2.0.0

Choose a tag to compare

@SoulKa SoulKa released this 27 May 05:35

Changes

  • Drastically improve performance (by ~10x) by using Buffer.indexOf() instead of iterating over the buffer myself
  • Add benchmarks

Breaking Changes

  • Rename option throwOnMissingVariable to throwOnUnmatchedTemplate