Skip to content

0.318.0

Choose a tag to compare

@botberry botberry released this 19 Jun 20:39
· 6 commits to main since this release
a7914d8

This release adds a shared internal HTTP stream transport for multipart
subscription responses.

Application behavior for multipart subscriptions is largely unchanged. The
shared transport now owns multipart response headers, heartbeat frames,
completion frames, batching errors, and sync-mode errors, keeping Strawberry's
built-in HTTP integrations on the same streaming contract.

The one behavioral change is that each multipart part's Content-Length is now
computed from the UTF-8 byte length of the payload instead of its character
count, fixing the header for responses containing non-ASCII data.

This release was contributed by @patrick91 in #4469