Skip to content

rtTools.Storage 0.1.0-preview.3

Pre-release
Pre-release

Choose a tag to compare

@bgtnt bgtnt released this 21 Oct 11:10

Corrects three independently reproduced defects without changing public APIs, record layouts or runtime dependencies.

  • TimeLogClient<T> propagates application decoder, action and predicate EndOfStreamException failures. Physical-read EOF keeps its existing prefix/header-count behavior, documented separately in README.
  • DictionaryPersistent and ListPersistent validate paired codecs before opening a filename, preserving sentinel bytes even with FileMode.Create. Initialization attempts owned-stream cleanup while preserving the primary error; rejected caller-stream arguments retain caller ownership.
  • DataStorage validates complete record headers, nonnegative representable lengths and payload bounds before allocation, callbacks or record acceptance, including opens without scanners and subsequent reads.

Validation: 58 new contract groups join the existing checks; 149 History/persistence groups (148 Contract PASS + one Characterization CONFIRMED), four State groups and all three sample lifecycles. Clean checkout, package-only consumers and a standalone sample extracted from this exact package pass without build warnings/errors. Windows and Ubuntu CI verify the same commit; independent read-only review accepts the source, tests and exact release artifact.

Safe before/after evidence: the released preview.2 package reproduces 24 expected regression failures while six controls pass; the same 30 cases pass against this package. Large/near-int-max malformed cases are exercised only against the corrected version with tiny/synthetic fixtures.

Download the .nupkg into a local feed and install:

dotnet add package rtTools.Storage --version 0.1.0-preview.3 --source ./packages

release-verification.json binds package/library hashes to the source commit, baseline evidence and CI. SHA256SUMS.txt covers both release files. Previous preview releases remain available.

This preview does not promise transactions, crash recovery or power-loss durability. Physical EOF prefix/header-only queries do not validate or repair damaged history. Default serialization requires trusted data.