Breaking: 15 commits between 7.1.0 and 8.0.0, with multiple API changes.
Breaking changes
docker()target factory removed. Docker awareness is now an opt-indocker: { envVar, nameLabel, testRunLabel }option onSpecOptionspassed alongsidecommand(bin).DockerCliResultclass removed —CliResultgrewcontainer(name),containerIds, and[Symbol.asyncDispose]guarded on the docker option.toMatchFixturerenamed totoMatchon stream/json/filesystem accessors. Callers must pass an explicit extension in the name (e.g.toMatch('valid.txt')).- Test-run id is now stable per
createSpecificationRunnerinstance (i.e. per test file under vitest fileParallelism), not per.run()call. Multi-step tests that spawn in one run and inspect in another now see the same container scope.
New
StreamAccessor.toContain(substring)— substring assertion on the accessor itself.SpecOptions.transform— normalise stdout/stderr beforetoMatchcomparisons.ContainerAccessorwith lazy docker queries:exists,running,status,stdout,stderr,inspect,file(path),exec(cmd),id.- Seed handlers with pluggable routing for non-SQL overlays.
exec.adaptercaptures stderr regardless of exit code.