Repository navigation
Tags
Tags
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.
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>