Skip to content

docs(theme): read every theme schema from 3 and write the oldest one that holds the theme - #4187

Merged
datlechin merged 1 commit into
mainfrom
docs/theme-schema-reading
Nov 11, 2026
Merged

datlechin merged 1 commit into
mainfrom
docs/theme-schema-reading

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

  • theme.md: ThemeFileFormat reads 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.

@datlechin
datlechin enabled auto-merge (squash) November 11, 2026 11:42
@datlechin
datlechin merged commit 1b5fe88 into main Nov 11, 2026
11 checks passed
@datlechin
datlechin deleted the docs/theme-schema-reading branch November 11, 2026 16:01
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.

1 participant