Skip to content

Add synchronous SSEParser and lower deployment minimums#2

Merged
zac merged 4 commits into
mainfrom
release-improvements
Jul 13, 2026
Merged

Add synchronous SSEParser and lower deployment minimums#2
zac merged 4 commits into
mainfrom
release-improvements

Conversation

@zac

@zac zac commented Jul 13, 2026

Copy link
Copy Markdown
Member

Summary

  • Add SSEParser as the synchronous incremental parser core for server-sent events
  • Rebuild async parsing on top of the parser and expose .sse() on any AsyncSequence<UInt8>
  • Keep reconnect state available directly from the parser and update EventSource to read it synchronously
  • Lower platform minimums in Package.swift and add the shared Xcode scheme and license files
  • Document the new parser workflow in the README and plan the 0.2.0 parser split

Testing

  • Added parser coverage for synchronous vs async parity, chunk-boundary invariance, state-only blocks, finish/reuse behavior, and trailing retry handling
  • Updated line-splitting tests to exercise the new synchronous splitter directly
  • Not run (not requested)

@zac zac merged commit 880220e into main Jul 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant