All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
4.2.2 (2026-01-27)
- there is no "end" event when stream is closing in case you depended on it
- Drop support for Fastify v3
- add disable retryDelay (#86) (760fd6a)
- add the ability to override default stream buffer size (fd0382d)
- Added option to send comment in Event (#60) (a11044a)
- enable fastify-sse style api (#41) (538f67b)
- add fastify@v4 support (#47) (c9cf800)
- add utf-8 charset to content-type (#68) (4fb15be)
- edge case when user (or server) sends headers before first event is sent (#73) (77d1b51)
- handle newlines in the data properly (#93) (f83d8d2)
- missing closing bracket in readme (#50) (b3496f2)
- remove default stream close event (#81) (311c920)
- throwing exceptions after headers are sent (#100) (bdf73ed)
4.2.2 (2026-01-27)
- there is no "end" event when stream is closing in case you depended on it
- Drop support for Fastify v3
- add disable retryDelay (#86) (760fd6a)
- add the ability to override default stream buffer size (fd0382d)
- Added option to send comment in Event (#60) (a11044a)
- enable fastify-sse style api (#41) (538f67b)
- add fastify@v4 support (#47) (c9cf800)
- add utf-8 charset to content-type (#68) (4fb15be)
- edge case when user (or server) sends headers before first event is sent (#73) (77d1b51)
- handle newlines in the data properly (#93) (f83d8d2)
- missing closing bracket in readme (#50) (b3496f2)
- remove default stream close event (#81) (311c920)
- throwing exceptions after headers are sent (#100) (bdf73ed)
4.2.1 (2024-12-05)
4.2.0 (2024-12-02)
- add the ability to override default stream buffer size (fd0382d)
4.1.0 (2024-09-16)
- bump braces from 3.0.2 to 3.0.3 (#82) (6bdaa62)
- bump micromatch from 4.0.5 to 4.0.8 (#87) (866547c)
- bump path-to-regexp from 1.8.0 to 1.9.0 (#88) (6e0f9c2)
4.0.0 (2024-03-20)
- there is no "end" event when stream is closing in case you depended on it
3.1.2 (2023-07-25)
3.1.1 (2023-07-03)
3.1.0 (2023-04-03)
- bump json5 from 1.0.1 to 1.0.2 (#55) (9de4a61)
- README.md typo (#58) (49de69d)
- update semantic PR check (758b878)
3.0.0 (2022-11-22)
- Drop support for Fastify v3
2.2.1 (2022-06-09)
2.2.0 (2022-06-06)
2.1.0 (2022-06-06)
- removed vulnerable and not needed dependencies
- added export for EventMessage
- headers from reply (other plugins like cors) not being set on stream
- vulnerable dependencies
- default export
- headers not being set
- add headers to prevent compression
- fastify v3 support
- bug with too much new lines between messages
- type definitions referencing itself
- update npm links
- update what files gets published on npm