rocicorp / replicache

Realtime Sync for Any Backend Stack
https://doc.replicache.dev
1.05k stars 37 forks source link

refactor!: Update Replicache.schemaVersion to readonly. #800

Closed grgbkr closed 2 years ago

grgbkr commented 2 years ago

This should always have been readonly, the schema version of a Replicache instance should be constant through out its life. Previously modifying this had no effect.

BREAKING CHANGE: Code modifying Replicache.schemaVersion must be removed (to resolve TypeScript errors).

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/rocicorp/replicache/C5GVLdxWrV9Y5Lddtwhq3M5S3zfY
✅ Preview: https://replicache-git-grgbkr-name-schema-readonly-rocicorp.vercel.app