Skip to content

Tags

Tags

v0.0.6

Toggle v0.0.6's commit message
v0.0.6

Internal reader and CI hardening.

- Keep the public API unchanged while consolidating Reader parsing internally.

- Simplify CR/LF splitting and saturating retry parsing.

- Pin the Go 1.23.0 floor and upgrade CI actions to v7.

- Preserve 100% statement coverage with no called vulnerabilities.

v0.0.5

Toggle v0.0.5's commit message
v0.0.5

Re-tag after rewriting commit authorship to tangerg@qq.com. The published
v0.0.1 through v0.0.4 remain pinned in the module proxy to their original
commits, so this is the first version whose contents can be reproduced from
the repository.

v0.0.4

Toggle v0.0.4's commit message
v0.0.4: exported ErrLineTooLong, runnable examples, internal polish

v0.0.2

Toggle v0.0.2's commit message
v0.0.2: minimal single-package SSE codec + light HTTP adapter

v0.0.1

Toggle v0.0.1's commit message
feat: add optional bufSize to NewReader/NewHTTPReader; lift scanner t…

…o Reader field

- NewReader and NewHTTPReader now accept an optional bufSize ...int argument
  that overrides the scanner's default 64 KiB per-line limit via
  bufio.Scanner.Buffer; zero/negative values leave the default unchanged.
- Reader.scanner promoted from a closure-local variable to a struct field,
  initialised lazily on the first call to Messages and reused on subsequent
  calls, preventing accidental state reset when Messages is called more than once.
- go.mod: lower minimum version from 1.25.0 to 1.23.0 (iter.Seq2 requirement).
- docs/README: document bufSize option, lazy scanner init, and buffer-exceeded
  error behaviour.
- reader_test: add TestNewReaderBufSize and TestReaderMessagesCalledTwice.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>