How JSON schema versioning works and how it's different from the theme.json version #256
Replies: 4 comments 2 replies
-
The reason this is more relevant now is that the latest theme.json version has been incremented as of WordPress/gutenberg#58409. Anyone using the Gutenberg plugin or a minimum version of WordPress 6.6, when it is released, for their theme should update to use the latest theme.json version as new features are only developed on the latest version. Most themes, however, do not require the Gutenberg plugin or a minimum version of WordPress 6.6, so they should not be updating to version 3 just yet. All previous versions of theme.json are backwards-compatible on the latest version of WordPress and the Gutenberg plugin. The source of confusion I'm seeing is folks using the Anyone who is using the The living theme.json reference which @juanmaguitar is referencing in the twitter post is generated based on the |
Beta Was this translation helpful? Give feedback.
-
Can we also discuss blueprint.json for Playground? Just to make sure that people who have never heard about it do. |
Beta Was this translation helpful? Give feedback.
-
The topic was approved 5/2/24 and the conversation continues on the issue |
Beta Was this translation helpful? Give feedback.
-
Published at https://developer.wordpress.org/news/2024/07/19/json-schema-in-wordpress/ Thanks for all the help everyone! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Based on feedback like this one
https://twitter.com/ChrisHufnagel/status/1784316768393052284
It would be useful for developers to have an additional explanation about how JSON schema versioning works and how it's different from the theme.json version.
Such an article should cover IMO, at least the following ideas:
block.json
andtheme.json
version
property in atheme.json
?theme.json
?version
property in ablock.json
? Is it related to theversion
property in atheme.json
?@ajlende is on board about writing a post about this topic (see this comment)
Beta Was this translation helpful? Give feedback.
All reactions