Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .changeset/implement-cache-manager.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
'lino-cache': minor
---

Implement cache-manager compatible interface with Links Notation storage

- Add `LinoCache` class with full cache-manager store interface
- Support two storage modes: folder mode (separate files) and single-file mode
- Implement all cache-manager methods: `get`, `set`, `del`, `mget`, `mset`, `mdel`, `wrap`, `clear`, `reset`, `ttl`, `has`, `keys`, `disconnect`
- Add TTL (time-to-live) support for automatic entry expiration
- Use lino-objects-codec for serialization to Links Notation format
- Include comprehensive TypeScript type definitions
- Add factory functions: `createLinoCache` and `linoStore`
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:

- name: Run tests (Deno)
if: matrix.runtime == 'deno'
run: deno test --allow-read
run: deno test --allow-read --allow-write

# Release - only runs on main after tests pass (for push events)
release:
Expand Down
Loading