google / blockly

The web-based visual programming editor.
https://developers.google.com/blockly/
Apache License 2.0
12.51k stars 3.72k forks source link

refactor!: Use JSON instead of XML for defining dynamic toolbox categories. #8658

Open gonfunko opened 1 week ago

gonfunko commented 1 week ago

The basics

The details

Resolves

Fixes #5580

Proposed Changes

This PR updates the variable, dynamic variable, and procedure toolbox category definitions to use the newer JSON schema in place of the older XML-based format.

Reason for Changes

Support for XML will eventually be removed, and this serves as both eating our own dogfood and a practical example of implementing a dynamic category definition with JSON which third party developers may benefit from as a reference.

Breaking Changes