Skip to main content

syncache_drift 0.6.0 copy "syncache_drift: ^0.6.0" to clipboard
syncache_drift: ^0.6.0 copied to clipboard

Drift (SQLite) storage backend for Syncache. Provides durable persistent caching with full support for tag-based invalidation, pattern matching, and a mutation outbox sharing one SQL connection with the cache.

Changelog #

0.6.0 #

Changed #

  • syncache dependency constraint bumped to ^0.6.0 — released in lockstep with the core package (shared TaggableStore / MutationOutbox interfaces). No API changes in this package.

0.5.0 #

  • Initial release: Drift (SQLite) storage backend for Syncache.
  • DriftStore<T>: TaggableStore + IterableStore over a cache table with a relational cache_tags index (full tag lifecycle contract: plain write preserves tags, writeWithTags replaces them, delete/clear remove mappings) and glob (*/?) pattern operations.
  • DriftMutationOutbox: MutationOutbox over a mutation_outbox table (INSERT OR REPLACE / DELETE BY id / DELETE FROM / SELECT ORDER BY seq), with optimisticSnapshot persistence and corrupted-row tolerance.
  • Store and outbox share one database connection: clear never touches outbox records, and cache + outbox writes can run in one SQL transaction.
0
likes
130
points
94
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Drift (SQLite) storage backend for Syncache. Provides durable persistent caching with full support for tag-based invalidation, pattern matching, and a mutation outbox sharing one SQL connection with the cache.

Repository (GitHub)
View/report issues
Contributing

Topics

#cache #offline-first #drift #sqlite #persistence

License

MIT (license)

Dependencies

drift, syncache

More

Packages that depend on syncache_drift