Skip to content

[FSSDK-13110] cache update - #1175

Open
junaed-optimizely wants to merge 1 commit into
masterfrom
junaed/fssdk-13110-cached-datafile-validation-issue
Open

[FSSDK-13110] cache update#1175
junaed-optimizely wants to merge 1 commit into
masterfrom
junaed/fssdk-13110-cached-datafile-validation-issue

Conversation

@junaed-optimizely

Copy link
Copy Markdown
Contributor

Summary

  • Bump the datafile cache key to opt-datafile-v6-<sdkKey> so v6 never reads a datafile persisted by an older SDK under the old key.
  • Make AsyncStorageCache/LocalStorageCache Store<string> (no internal JSON.stringify/parse) and move event serialization into EventStore.

Test plan

  • npx vitest run — all 1091 tests pass, no type errors.
  • Updated cache and EventStore specs for string-only behavior.

Issues

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 77.624% (-0.007%) from 77.631% — junaed/fssdk-13110-cached-datafile-validation-issue into master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants