Skip to content

Releases: nicolashenry/send-stream

v2.7.0

20 Nov 01:30
Compare
Choose a tag to compare
  • Add support for Node 20
  • Drop support for Node 14

v2.6.0

20 Jul 03:33
Compare
Choose a tag to compare
  • Add support for Node 18
  • Drop support for Node 12

v2.5.5

24 Dec 03:14
Compare
Choose a tag to compare
  • Fix: while sending treat all errors as premature close errors (fix for NodeJS 17.3.0)

v2.5.4

02 Dec 01:28
Compare
Choose a tag to compare
  • Fix: set more precise optional property types
  • Refactor: small enhancements

v2.5.3

18 Jul 21:26
Compare
Choose a tag to compare
  • Fix: add explicit errors for 405/412/416 statuses
  • Docs: add CONTRIBUTING.md file
  • Docs: add issue / pull request templates
  • Docs: enhance examples
  • Build: run linting after tests

v2.5.2

04 Jul 16:47
Compare
Choose a tag to compare
  • Fix: differentiate optional properties and undefined properties
  • Docs: add LICENCE and CODE_OF_CONDUCT.md file
  • Docs: simplify fastify examples
  • Docs: add json and buffer examples
  • Docs: enhance contentEncodingMappings documentation

v2.5.1

02 Jun 00:34
Compare
Choose a tag to compare
  • Fix: do not log errors coming from dynamic compression pipeline (errors should be managed by the stream itself)
  • Bump typescript from 4.2.x to 4.3.x
  • Use typescript override keyword and incremental option

v2.5.0

12 May 03:09
Compare
Choose a tag to compare
  • Feature: add send method in Storage to send directly a file without having to prepare the response before
  • Feature: add dispose method in StreamResponse to dispose stream response resources
  • Refactor: rename BufferOrStreamRange as Uint8ArrayOrStreamRange
  • Fix: call super._destroy in BufferStream._destroy
  • Docs: add better path example
  • Docs: add missing ignorePrematureClose documentation
  • Docs: add some missing jsdocs
  • Docs: enhance doc display

v2.4.0

01 Mar 03:02
Compare
Choose a tag to compare
  • Feature: add abstract class GenericFileSystemStorage as intermediate implementation for file system storage

v2.3.2

02 Feb 03:01
Compare
Choose a tag to compare
  • Docs: Revert use of fastify send in example (not safe to use)
  • Docs: Fix onDirectory parameter documentation