Skip to content

Releases: haraka/message-stream

2.0.0

24 Mar 06:52
abe435e

Choose a tag to compare

fixes #4

Added

  • docs(README): added pretty good documentation
  • transformers: HeaderSkipper & LineTransformer (separated the concerns)
  • async Iteration: implemented Symbol.asyncIterator for for await...of.
  • pipeline Architecture: pipe() now generates independent PassThrough and Transform chains per call to support natural backpressure and sequential piping.

Changed

  • style(exnext): converted MessageStream internal state (#queue, #fd, #bufferMax, etc.) to private class fields.
  • style(esnext): replaced write_complete polling with a _write_complete event listener.
  • source delegation: pause() and resume() now delegate directly to the active #currentSource.

Fixed

  • error propagation: ensure disk I/O errors correctly propagate via this.emit('error')
  • race conditions: updated destroy() to close file descriptors before unlinking to prevent EBADF errors.

1.3.3

24 Mar 05:02
9030081

Choose a tag to compare

  • test: added functional tests.
  • dep(h-test-fixtures): removed, unused

1.3.2

31 Dec 19:44
ee40aa7

Choose a tag to compare

  • use optional chaining for c.main.dot_stuffed
  • doc(README): remove code climate badge

1.3.1

23 Jul 21:55
c05b246

Choose a tag to compare

  • fix: add a compat shim for dot_stuffing on Haraka < 3.1

1.3.0

06 Jul 23:17
d147847

Choose a tag to compare

  • fix: also remove dot-stuffing from leftovers #9
  • test: add tests for removing dot-stuffing
  • fix: replace polynomial regex with trimEnd()
  • change: rename dot_stuffing -> dot_stuffed, consistent with Haraka
    • improves readability, fixes a case of the not nots
  • change: switch test runner from mocha to node --test
  • doc(README): add ref to Haraka Transaction docs showing usage
  • deps(test-fixtures): bump to latest

1.2.3

02 Feb 19:00
1182dd1

Choose a tag to compare

  • dep(eslint): upgrade to v9
  • prettier: move config into package.json

1.2.2

05 Aug 21:58
c236405

Choose a tag to compare

  • chore: populate [files] in package.json. Delete .npmignore.
  • chore: automated code formatting
  • ci: updated to shared configs
  • dep: eslint-plugin-haraka -> @haraka/eslint-config
  • doc: added CONTRIBUTORS.md
  • doc: consistent naming of "special" files like CHANGELOG.md.

1.2.1

03 Apr 22:20
a0b8843

Choose a tag to compare

  • feat: use optional chaining (?.) & default params

1.2.0

24 Jun 18:13
39aeaa1

Choose a tag to compare

  • merged in ChunkEmitter, only used here

1.1.0

24 Jun 06:47
83fc346

Choose a tag to compare