You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: default persistence to 'auto' with 'false' opt-out
Persistence now defaults to 'auto' (auto-detect environment) instead of
undefined (no persistence). Users can opt out with `persistence: false`.
Default adapter values:
- Node.js file path: .objectstack/data/memory-driver.json
- Browser localStorage key: objectstack:memory-db
Changes:
- schema: persistence defaults to 'auto', added false to disable
- driver: initPersistence() defaults to 'auto' when undefined
- tests: updated to reflect new default, use persistence: false for pure memory
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
0 commit comments