Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: Include versions in IDB name #741

Merged
merged 1 commit into from Dec 2, 2021
Merged

feat!: Include versions in IDB name #741

merged 1 commit into from Dec 2, 2021

Commits on Dec 1, 2021

  1. feat!: Include versions in IDB name

    For Simplified Dueling Dags we need to ensure that different tabs
    running different versions of Replicache do not interact with IDB data
    it does not know how to read/write.
    
    To achieve this the name if the IDB database now contains the
    `REPLICACHE_FORMAT_VERSION` (which is currently at `3`).
    
    The IDB name also contains the `schemaVersion` som if the schema changes
    a fresh IDB database is used. The motivation is the same. Multiple tabs
    with different schemaVersions should not interact with the same IDB
    database.
    
    BREAKING CHANGE
    
    Towards rocicorp#671
    arv committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    cd30795 View commit details
    Browse the repository at this point in the history