Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Versioning for JSON data #714

@lars-reimann

Description

@lars-reimann

Is your feature request related to a problem?

The format of the JSON data for API, annotations, and usages might change from time to time. This can be problematic since the IndexedDB might still contain data in the old format. This can lead to crashes for some users right after startup.

Desired solution

Store the format of the JSON data in the data itself. When the version does not match, discard the content of IndexedDB. Moreover, show a warning when users import old data.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions