Changes for version v0.3.16 - 2026-11-25
- A quality release, of what a review of the code, tests and docs found.
- A | chain passes on its source's original and context, as an iterator does, and reads into a sink faster; from_csv no longer warns at an undefined first field; every module has a $VERSION; and the reference's examples, and runs pushed, pulled and fed, are tested. Each change below is listed by its finding.
- It ships part of roadmap 2026-0053, whose record numbers the findings, F1 to F17; v0.4.0 brings the rest. It fixes and adds, and changes nothing a stage depends on.
- F1: a run reading a chain made with |, given to iterator as its source, gets the chain's source's original, from result_original, and its context, as one reading an iterator of it does. It got the chain's own values as their originals. (roadmap 2026-0053)
- F2: from_csv no longer warns, from inside Ekorn::Pipeline::CSV, where a first row's first field is undefined, as Text::CSV's blank_is_undef and empty_is_undef make an empty one: dropping a byte order mark from it read it. (roadmap 2026-0053)
- F3: @{} and a chain into a sink read with the iterator's all, which takes a list sink's result at once, rather than a value at a time. 100,000 values, on Perl 5.36: @{} from 16.8 to 24.0 reads a second, and a chain of one stage into keep_all from 5.1 to 10.1. (roadmap 2026-0053)
- F4: a run with a flush no longer checks, at each value, whether a flush it hasn't reached yet has been called. (roadmap 2026-0053)
- F5: Ekorn::Pipeline makes a run's parts, and words a failed stage's or end's message, in one place each, where each was written out three times; and a run looks for each part's role method only as far as the first it offers. The messages are as they were. A short run, two stages and five values, is 2 to 3% quicker, pushed or pulled, on Perl 5.36; long runs cost what they did. (roadmap 2026-0053)
- F6: every sub has one blank line above its comment, or two above it without one, in the modules, tests and scripts, as the style says; 110 had two above a comment. (roadmap 2026-0053)
- F7: small slips of style: a section comment stranded between Sinks' subs, a blank line before each module's closing 1;, and Ekorn::Pipeline::Feed cleans its namespace, as the other classes do, so croakf isn't one of its methods. (roadmap 2026-0053)
- F8: the notes that a name was "new in v0.3.0", 25 of them in the POD and the reference, are gone: v0.3.0 was only a trial, and they said the same thing over and over. Later notes stay. (roadmap 2026-0053)
- F9: "Made for a run", in Ekorn::Pipeline's POD and the reference, lists a source's original, and the keys a set-up or role method can return its parts by include original, as they have since v0.3.13. (roadmap 2026-0053)
- F10: Ekorn::Pipeline::Pipes links to Factories' pipeline, where it linked to a section of Ekorn::Pipeline's that doesn't exist. (roadmap 2026-0053)
- F11: Ekorn::Pipeline's SEE ALSO names CSV, Context and Errors. (roadmap 2026-0053)
- F12: the README no longer says, twice, that nothing is held between stages, as batch, collect and the like hold values; nor that Tooling has everything but the operators, as Sugar isn't in it either. (roadmap 2026-0053)
- F13: CSV's DIAGNOSTICS, and the reference, give its messages for a field that's a reference, and for a wide character written raw, each word for word. (roadmap 2026-0053)
- F15: xt/examples.t runs each of the reference's examples, and checks it prints what its comments say, as xt/howto.t does the how-to's, and compiles each of the README's. Four examples were made to run on their own; 11 that can't are marked, and checked by hand. All 81 that run print what they say. (roadmap 2026-0053)
- F16: xt/agreement.t runs 3,000 random pipelines, from a fixed seed, pushed, pulled, read with all and fed, and fails if any way gives other values. (roadmap 2026-0053)
- Every module has a $VERSION, the distribution's, so a caller can ask for the version a module's feature came in, as use Ekorn::Pipeline::Tooling v0.3.16 qw(:all). Only Ekorn::Pipeline had one. (roadmap 2026-0053)
- F17: the 41 patterns in the tests of JSON, CSV and a source's original that lacked the x flag, against the house style, have it. (roadmap 2026-0053)
Documentation
Ekorn::Pipeline user guide
Ekorn::Pipeline reference
Modules
run values through a list of stages
read and write CSV and TSV, as sources, stages or sinks
what a stage can ask about the result it's making
what Ekorn's types are made from
report Ekorn::Pipeline's errors at the caller's line
words that make Ekorn's types
one run, fed values as they arrive
a stage made afresh for each run, told when its values run out
one run, handing out its values as they're pulled
read and write JSON and JSON Lines, as sources, stages or sinks
|, |= and @{} for Ekorn's types
pipe and tap methods, running an object through stages
a sink made afresh for each run
ready-made sinks, needing only Perl
a source made afresh for each run
ready-made sources, needing only Perl
a stage, as an object
stages gathering values: batch and collect
stages taking or dropping values: take, drop, take_if, drop_if, take_while and drop_while
stages run for their side effects: peek, count_into, dump_to and tee
end a pipeline early
name pipelines as the program compiles, each with a function
Ekorn's stages, sources, sinks and words, from one module
Provides
in lib/Ekorn/Pipeline/CSV.pm
in lib/Ekorn/Pipeline/Operators.pm
in lib/Ekorn/Pipeline/Operators.pm
in lib/Ekorn/Pipeline/Sink.pm
in lib/Ekorn/Pipeline/Sink.pm