Repository navigation
Changed
- lazyflow-http (breaking):
SseConfiggainsmax_event_size
(default 16 MiB), bounding the bytes one event may hold while it is read:
data, type and id plus the line in progress. A server exceeding it ends the
pipe with an error and is not reconnected to. An exhaustiveSseConfig
struct literal needs the new field;..Default::default()covers it. - lazyflow-http: a WebSocket connection now lives as long as its incoming
pipe. Once that pipe ends or is dropped the socket closes andWsSender
sends fail withPipeError::Closed. - lazyflow-http: SSE decodes invalid UTF-8 to U+FFFD, as the
specification requires, instead of failing the stream. - lazyflow:
par_eval_mapkeeps at mostconcurrencyresults in flight,
running or finished but not yet emitted, and reports an upstream failure
after the results of the items before it. - lazyflow:
throttlepasses on one element per pull, so downstream sees
each element as soon as its interval allows. - lazyflow:
from_streamhands over the items a stream has ready, up to
the chunk size, instead of waiting to fill a chunk.
Fixed
- lazyflow:
chunks_timeoutno longer drops data held by an upstream pull
that is still running when the timer fires, and treats size 0 as 1 instead
of emitting empty batches forever. - lazyflow:
debounceno longer drops an element or error held by an
upstream pull that is still running when the quiet period ends. - lazyflow:
par_eval_mapworkers are cancelled when the pipe stops or an
earlier worker fails, and finished results are emitted while upstream is
pending. - lazyflow: a
broadcastorpartitionbranch dropped before being
consumed no longer stalls the other branches. - lazyflow: a
concurrentlybackground failure ends a main pull that is
waiting. - lazyflow:
chunks(n)emits full batches whatever the source chunking;
only the last batch may be short. - lazyflow:
un_none_terminatestays terminated after the firstNone. - lazyflow:
interleavealternates element by element whatever the
source chunking. - lazyflow:
lines()andlines_with_max_lenapply the length limit to
newline-terminated lines too. - lazyflow-http: SSE handles characters and CRLF split across body
chunks, bare CR line endings, and keeps theLast-Event-IDresume point
across id-only frames and reconnects; an empty id clears it. - lazyflow-macros: a bare-return
#[pipe_fn] async fnmay.await.
Full Changelog: v0.12.0...v0.13.0