github google/blockly blockly-v12.0.0-beta.0

latest release: blockly-v11.2.0
pre-release18 days ago

What's Changed

Breaking changes πŸ› 

New features ✨

Bug fixes πŸ›

  • fix: Remove references to getFastTextWidth (#8277) by @ga-fleury in #8307
  • fix: improve prompting when deleting variables by @gonfunko in #8529
  • fix: display the correct variable reference count when deleting a variable. by @gonfunko in #8549
  • fix: improve flyout performance by @gonfunko in #8571
  • fix: size text with computed styles even when hidden by @gonfunko in #8572
  • fix: include potential variables in variable dropdowns in the flyout by @gonfunko in #8574
  • fix: Fix bug that prevented dismissing the widgetdiv in a mutator workspace. by @gonfunko in #8600
  • fix: Fix bug that caused fields in the flyout to use the main workspace's scale. by @gonfunko in #8607
  • fix: Correctly calculate the bounds of hat blocks. by @gonfunko in #8616
  • fix: Take the flyout into account when positioning the workspace after a toolbox change. by @gonfunko in #8617
  • fix: Fix exception when disposing of a workspace with a variable block obscuring a shadow block. by @gonfunko in #8619
  • fix: improve typings and export additional types by @gonfunko in #8631
  • fix: Create CSS vars for SVG patterns. by @johnnesky in #8671

Cleanup ♻️

  • refactor: field_checkbox dom.addClass params by @ishon19 in #8309
  • refactor: Add addClass and removeClass methods to blockSvg by @ishon19 in #8337
  • refactor: make VariableModel implement IVariableModel. by @gonfunko in #8381
  • refactor: update the variable interfaces. by @gonfunko in #8388
  • refactor: make VariableMap implement IVariableMap. by @gonfunko in #8395
  • refactor: Use IVariableModel instead of VariableModel. by @gonfunko in #8400
  • refactor: clean up VariableModel. by @gonfunko in #8416
  • refactor: deprecate and clean up variable-related methods. by @gonfunko in #8415
  • refactor: use getters for flyout width and height. by @gonfunko in #8564
  • refactor: remove redundant flyout positioning. by @gonfunko in #8573

Other changes

  • Added blocklyImageField CSS class to image fields by @vexora-0 in #8439

New Contributors

Full Changelog: blockly-v11.2.0-beta.2...blockly-v12.0.0-beta.0

Don't miss a new blockly release

NewReleases is sending notifications on new releases.