Skip to content

rtTools.Storage 0.1.0-preview.2

Pre-release
Pre-release

Choose a tag to compare

@bgtnt bgtnt released this 21 Oct 09:50

Adds the missing object persistence, persistent FIFO and dictionary snapshot families to the BCL-only .NET 10 package.

  • StreamPersistence, StreamPersistence<T>, IPersistent, IPersistentBinary: explicit object saves, load callbacks and binary reconstruction factories.
  • BufferedQueuePersistent<T> and its LimitedList<T> helper: a disk backlog with a bounded decoded head cache, paired codecs and FIFO refill after space reuse.
  • DictionaryLogger<TKey,TValue> and SerializableKeyValuePair<TKey,TValue>: current state plus explicit shallow timestamped snapshots, with separate state/history codecs.
  • Complete public API overview, lifecycle samples, constructor cleanup and callback reentry guards.

Validation: clean checkout and package-only consumption; four builds without warnings/errors; four State contract groups; 90 History/persistence contract groups plus one confirmed characterization; all sample lifecycles and a standalone sample extracted from this package. Windows and Ubuntu CI run the same verification. Independent read-only review accepted the implementation and release artifact.

Download the .nupkg into a local package feed and install:

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

release-verification.json binds the package and library hashes to the source commit and CI evidence. SHA256SUMS.txt covers both release files.

Preview APIs/file formats may change. There are no transactions, atomic state/history commits, crash recovery or power-loss durability guarantees. Queue startup/enumeration decode the backlog; only its head cache is bounded. Default serialization requires trusted data.