cultnet-ts imports readSingleFileStore and cultmesh-ts imports schemaIdentityOf and SchemaConflictError, none of which cultcache-ts 0.14.0 exports. The new check builds each tagged release a declared range admits and requires every runtime name the dependent imports to be an export of it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
910 B
910 B
Changelog
0.15.0
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 ascultcache.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,deleteandpushAllask the same reader.StoreUnreadableErrorfor a store file this runtime cannot read,SchemaConflictErrorfor a write the catalog cannot describe, andschemaIdentityOf.- A soft
pushAllwrites only where nothing is at the path, leaves a store it can read byte for byte, and refuses what the reader refuses.