mirror of
https://github.com/google/blockly.git
synced 2026-01-09 18:10:08 +01:00
* fix!: Move backwards-compatibility hacks out of blockly.js Move accessor properties for Blockly.alert, .confirm, .mainWorkspace, .prompt, .selected, .HSV_SATURATION and .HSV_VALUE, as well as the hack to allow loading of messages via <script> tags, from core/blockly.js to core/main.js, which becomes the entrypoint for the first chunk when compiled. BREAKING CHANGE: The aforementioned properties / hack are no longer available in uncompiled mode (or when using advanced compilation, unless also compiling against main.js.) * fix!: Move backwards-compatibility hacks out of contextmenu.js Move accessor property for ContextMenu.currentBlock from core/contextmenu.js to core/main.js. * chore: Update deprecation date for Generator.variableDB_ accessors Bring the deprecation date forward from May 2026 to September 2022. Not technically a breaking change—just a warning that there will be a breaking change earlier than previously advertised. * fix!: Move backwards-compatibility hacks out of tooltip.js Move accessor properties for Blockly.Tooltip.visible and .DIV from core/tooltip.js to core/main.js. * fix!: Move backwards-compatibility hacks out of widgetdiv.js Move accessor property for Blockly.WidgetDiv.DIV from core/widgetdiv.js to core/main.js.