# What changed in sse.js

> 4 changes in sse.js 2 from its official release notes, upgrade guides and advisories. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/sse.js/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## sse.js 2

### Fixes and other changes

- ID fields containing NULL are ignored to improve SSE specification compliance. (2.8.0) — [release notes](https://github.com/mpetazzoni/sse.js/releases/tag/v2.8.0)
- lastEventId is updated even when no event is dispatched, improving SSE specification compliance. (2.8.0) — [release notes](https://github.com/mpetazzoni/sse.js/releases/tag/v2.8.0)
- The retry field now updates the reconnect delay to improve SSE specification compliance. (2.8.0) — [release notes](https://github.com/mpetazzoni/sse.js/releases/tag/v2.8.0)
- A UTF-8 BOM at the start of a stream is stripped to improve SSE specification compliance. (2.8.0) — [release notes](https://github.com/mpetazzoni/sse.js/releases/tag/v2.8.0)
