Repository navigation
docs(theme): read every theme schema from 3 and write the oldest one that holds the theme - #4187
Merged
Merged
Conversation
…that holds the theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
theme.md:ThemeFileFormatreads every schema from 3 to the current one, refuses a key newer than the file's schema, and writes the oldest schema that holds the theme's keys.data-sync-storage.md: names the one exception to "readable by the previous stable": a value the previous stable has no field for, such as a theme color in a new slot.RELEASING.md: the storage check points to that exception.Under the old wording, adding a slot meant bumping the schema, and the bump refused every schema 3 theme on disk (shipped since 0.82). The value-type colors for discussion #4186 add slots and follow this rule.
Test plan
Docs only. The code and its tests land in the grid type colors PR.