Releases: nicolashenry/send-stream
Releases · nicolashenry/send-stream
v2.7.0
v2.6.0
- Add support for Node 18
- Drop support for Node 12
v2.5.5
- Fix: while sending treat all errors as premature close errors (fix for NodeJS 17.3.0)
v2.5.4
- Fix: set more precise optional property types
- Refactor: small enhancements
v2.5.3
- 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
- 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
- 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
- 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
- Feature: add abstract class GenericFileSystemStorage as intermediate implementation for file system storage
v2.3.2
- Docs: Revert use of fastify send in example (not safe to use)
- Docs: Fix onDirectory parameter documentation