merge-streams

Merge multiple streams into a unified stream

MIT License

Downloads
25.2M
Stars
50
Committers
2

Bot releases are visible (Hide)

merge-streams - Latest Release

Published by sindresorhus 8 months ago

Breaking

  • Make .remove() async (#40) b8f7605
  • Improve behavior when no streams are being merged (#38) 589ff52

Improvements

  • Removed streams are not completely removed (#34) 09fc37a

Fixes

  • Fix race condition (#36) 27d3d14
  • Fix error event emitted on the merged stream (#32) f136687
  • Fix calling mergeStream() twice on the same stream (#30) 423e27c

https://github.com/sindresorhus/merge-streams/compare/v2.3.0...v3.0.0

merge-streams -

Published by sindresorhus 8 months ago

  • Clean up input streams when merged stream is destroyed (#23) aa9d258
  • Allow adding streams after other streams have already ended (#27) 6b40099
  • Make .remove() idempotent (#25) 9bf8eff
  • Fix mergeStream.destroy() logic (#21) e530f56
  • Fix maxListeners edge case (#28) 62af04a

https://github.com/sindresorhus/merge-streams/compare/v2.2.1...v2.3.0

merge-streams -

Published by sindresorhus 8 months ago

  • Fix Node.js >=18.0.0 <18.17.0 compatibility (#19) 6bb0c2d

https://github.com/sindresorhus/merge-streams/compare/v2.2.0...v2.2.1

merge-streams -

Published by sindresorhus 8 months ago

  • Allow adding/removing streams (#15) 07c9cce

https://github.com/sindresorhus/merge-streams/compare/v2.1.0...v2.2.0

merge-streams -

Published by sindresorhus 9 months ago

  • Improve listeners cleanup (#12) 95d331b
  • Fix using .unpipe() (#14) cbf704c

https://github.com/sindresorhus/merge-streams/compare/v2.0.3...v2.1.0

merge-streams -

Published by sindresorhus 9 months ago

  • Internal: Improve maxListeners (#9) a55965b

https://github.com/sindresorhus/merge-streams/compare/v2.0.2...v2.0.3

merge-streams -

Published by sindresorhus 9 months ago

merge-streams -

Published by sindresorhus 9 months ago

merge-streams -

Published by sindresorhus 9 months ago

Breaking

  • objectMode now remains false when no input streams use objectMode (#4) 35f24a2
    • Previously, it was always true.
  • It now sets the correct highWaterMark on the merged stream (#4) 35f24a2
    • Marked as breaking because changing the highWaterMark could technically result in some consumer's logic behaving differently, if that logic depends on reading the streams a specific amount of times, or if it assumes the chunks being read to have a specific size.

Improvements

  • Improve stream termination (#4) 35f24a2

https://github.com/sindresorhus/merge-streams/compare/v1.0.0...v2.0.0

merge-streams -

Published by sindresorhus 12 months ago

🦄