ssevents breaking changes
ssevents 0.19.0 (December 2, 2026) is its newest release with breaking changes, 2 of them. The first: Behavior changed decode. Every breaking API change we have recorded in ssevents on Hex: 42 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.19.0, released December 2, 2026. MIT license. Source repository
ssevents 0.19.0 breaking changes
- Behavior changed
decode
With default_limits, decode now returns LineTooLong(8192) for a data line over 8186 bytes instead of returning changed data. Raise max_line_bytes to read such lines. github.com - Behavior changed
encode
encode now writes each data line as one data line however long it is, so the output for data longer than 8000 bytes differs from earlier versions. Code that relied on the split lines must be updated. github.com
ssevents 0.18.0 breaking changes
- Removed
InvalidUtf8
The InvalidUtf8 variant is removed. Invalid bytes are now read as U+FFFD, so code matching on it must be removed. github.com - Behavior changed
decode
An event at the end of the input without its closing blank line is no longer returned by decode. Make sure senders end each event with a blank line. github.com - Behavior changed
finish
An event at the end of the input without its closing blank line is no longer returned by finish. github.com - Signature changed
comment
comment now returns Result(_, Nil) and gives Error(Nil) for a value with CR or LF. Wrap calls in a result case or result.try. github.com - Signature changed
finish
finish now returns List(Item) instead of Result(List(Item), SseError). Remove the result handling around it. github.com - Signature changed
id
id now returns Result(_, Nil) and gives Error(Nil) for a value with CR, LF or NUL. Wrap calls in a result case or result.try. github.com - Signature changed
Item
Item has a new third variant, ReconnectItem(id:, retry:), returned by decode, push and finish. Code that matches on Item must handle it. github.com - Signature changed
named
named now returns Result(_, Nil) and gives Error(Nil) for a value with CR or LF. Wrap calls in a result case or result.try. github.com
ssevents 0.17.0 breaking changes
- Removed
decode_bytes
Use decode with a BitArray instead. github.com - Removed
decode_bytes_with_limits
Use decode with a BitArray and the limits instead. github.com - Removed
decode_with_limits
Use decode with the limits argument instead. github.com - Removed
default_content_type
content_type() stays available. github.com - Removed
default_limits
default_limits is now a constant rather than a function. Drop the call parentheses. github.com - Removed
encode_bytes
Use encode_items and bit_array.from_string for bytes. github.com - Removed
encode_item
Use encode_items with a one-item list. github.com - Removed
encode_stream
Feed chunks to push and finish instead of the iterator functions. github.com - Removed
event_item
Wrap an event with EventItem(event). Use named(name, data) to set the event name. github.com - Removed
EventError
The *_checked builders and validation helpers are gone. named, id and comment strip CR, LF and NUL instead. github.com
And 22 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.