CultLib/packages/cultcache-ts/CHANGELOG.md
Meta Vens d15f5a33f3 Changelogs and variants map: C2a's entries sit under Unreleased, not 0.15.0
The manifests stay at main's versions; C2a's bumps are not releases (c0-ships-with-c2a).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 19:45:28 +02:00

914 B

Changelog

Unreleased

Breaking

  • A single-file store refuses a zero-byte file as StoreUnreadableError; only a path with nothing at it is an empty store. A header this runtime does not read is refused, and the refusal echoes the header only as cultcache.store.v<digits>.
  • A dangling symbolic link at the store path is an I/O error with code ENOENT, not an empty store.

Added

  • readSingleFileStore(path), the one synchronous reader of a single-file store, for consumers that must read a store file rather than decode it themselves. pullAll, push, delete and pushAll ask the same reader.
  • StoreUnreadableError for a store file this runtime cannot read, SchemaConflictError for a write the catalog cannot describe, and schemaIdentityOf.
  • A soft pushAll writes only where nothing is at the path, leaves a store it can read byte for byte, and refuses what the reader refuses.