---
title: "ssevents 0.19.0 Breaking Changes on Hex | Since.dev"
description: "What each ssevents release removed, renamed or changed: 42 breaking changes in 3 versions on Hex, each with its source."
canonical_url: https://since.dev/packages/hex/ssevents
last_updated: 2026-12-04
---

# 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

Latest version `0.19.0`, released December 2, 2026. MIT license. [Source repository](https://github.com/nao1215/ssevents)

- From [0.17.0](#v-0-17-0) to [0.19.0](#v-0-19-0): 10 breaking changes in 2 versions.

## ssevents 0.19.0 breaking changes

ssevents 0.19.0, released December 2, 2026: 2 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](https://github.com/nao1215/ssevents/releases/tag/v0.19.0)
- **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](https://github.com/nao1215/ssevents/releases/tag/v0.19.0)

## ssevents 0.18.0 breaking changes

ssevents 0.18.0, released November 23, 2026: 8 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](https://github.com/nao1215/ssevents/releases/tag/v0.18.0)
- **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](https://github.com/nao1215/ssevents/releases/tag/v0.18.0)
- **Behavior changed** `finish`  

An event at the end of the input without its closing blank line is no longer returned by finish. [github.com](https://github.com/nao1215/ssevents/releases/tag/v0.18.0)
- **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](https://github.com/nao1215/ssevents/releases/tag/v0.18.0)
- **Signature changed** `finish`  

finish now returns List(Item) instead of Result(List(Item), SseError). Remove the result handling around it. [github.com](https://github.com/nao1215/ssevents/releases/tag/v0.18.0)
- **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](https://github.com/nao1215/ssevents/releases/tag/v0.18.0)
- **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](https://github.com/nao1215/ssevents/releases/tag/v0.18.0)
- **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](https://github.com/nao1215/ssevents/releases/tag/v0.18.0)

## ssevents 0.17.0 breaking changes

ssevents 0.17.0, released November 23, 2026: 32 breaking changes.

- **Removed** `decode_bytes`  

Use decode with a BitArray instead. [github.com](https://github.com/nao1215/ssevents/releases/tag/v0.17.0)
- **Removed** `decode_bytes_with_limits`  

Use decode with a BitArray and the limits instead. [github.com](https://github.com/nao1215/ssevents/releases/tag/v0.17.0)
- **Removed** `decode_with_limits`  

Use decode with the limits argument instead. [github.com](https://github.com/nao1215/ssevents/releases/tag/v0.17.0)
- **Removed** `default_content_type`  

content_type() stays available. [github.com](https://github.com/nao1215/ssevents/releases/tag/v0.17.0)
- **Removed** `default_limits`  

default_limits is now a constant rather than a function. Drop the call parentheses. [github.com](https://github.com/nao1215/ssevents/releases/tag/v0.17.0)
- **Removed** `encode_bytes`  

Use encode_items and bit_array.from_string for bytes. [github.com](https://github.com/nao1215/ssevents/releases/tag/v0.17.0)
- **Removed** `encode_item`  

Use encode_items with a one-item list. [github.com](https://github.com/nao1215/ssevents/releases/tag/v0.17.0)
- **Removed** `encode_stream`  

Feed chunks to push and finish instead of the iterator functions. [github.com](https://github.com/nao1215/ssevents/releases/tag/v0.17.0)
- **Removed** `event_item`  

Wrap an event with EventItem(event). Use named(name, data) to set the event name. [github.com](https://github.com/nao1215/ssevents/releases/tag/v0.17.0)
- **Removed** `EventError`  

The \*\_checked builders and validation helpers are gone. named, id and comment strip CR, LF and NUL instead. [github.com](https://github.com/nao1215/ssevents/releases/tag/v0.17.0)

And 22 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
