github RaspberryPiFoundation/blockly blockly-v12.4.1

9 hours ago

Hello Block Builders! This release is a rollup release of some goodies that we've been working on to improve stability and reduce bugs.

Please note that v12.4.0 release contains the unbuilt files (sorry about that) so v12.4.1 should be the release used for this version.

What's Changed

New features ✨

  • feat: make FlyoutButton.callbackKey public by @maribethb in #9381
  • feat: Allow calling WorkspaceSvg.getGesture() without passing an event by @gonfunko in #9583
  • feat: Add support for displaying contextual menus on icons by @gonfunko in #9581

Bug fixes 🐛

  • fix: 8945 (#8945) by @tashee in #9393
  • fix(ci): pass PR title to commitlint via environment variable by @AdnaneKhan in #9414
  • fix: Add support for icons to getSourceBlockFromNode(). by @gonfunko in #9438
  • fix: Make the 'welcome new contributors' workflow run again by @BenHenning in #9448
  • fix: improve file path handling in theme generator script by @mmvarma-pro in #9426
  • fix: Failing npm ci in GitHub CI actions by @BenHenning in #9476
  • fix: navigation in dropdown menu with a separator by @microbit-robert in #9474
  • fix: enforce placeholder usage for workspace comment by @SimonShiki in #9463
  • fix: Disable undoing events generated from flyout layout by @gonfunko in #9533
  • fix: Don't open the toolbox when clicking beneath the categories by @gonfunko in #9535
  • fix: Fix bug that prevented the first block change event in a flyout from being dispatched by @gonfunko in #9539
  • fix: Display dragged comments and bubbles atop the toolbox by @gonfunko in #9552
  • fix: Remove more instances of AnyDuringMigration by @gonfunko in #9562
  • fix: Fix bug that prevented deleting a variable referenced by two connected blocks by @gonfunko in #9563
  • fix: Modernize audio playback by @gonfunko in #9560
  • fix: collapsed warning propagation across siblings (#9566) by @goughjo02 in #9567
  • fix: Don't select shadow blocks on click by @gonfunko in #9538
  • fix: Fix bug that prevented redoing adding empty block comments by @gonfunko in #9568
  • fix: Add class to shadow blocks in Geras by @gonfunko in #9564
  • fix: Remove references to deprecated variable-related methods by @gonfunko in #9572
  • fix: Make MenuItem methods toggle classes immediately by @gonfunko in #9570
  • fix: Annotate potentially blocking event listeners with passivity by @gonfunko in #9555
  • fix: Fix bug that caused flyout buttons to retain their active appearance on mobile by @gonfunko in #9582
  • fix: Improve zoom animations by @gonfunko in #9584
  • fix: Improve flyout behavior by @gonfunko in #9576
  • fix: Fix running browser tests by @gonfunko in #9587

Cleanup ♻️

  • refactor(VariableMap): Stop using deprecated wrapper methods by @tashee in #9340
  • docs: vectorize README.md sample image by @jacobleclair in #9432
  • refactor: Make preconditionFn part of all context menu items by @gonfunko in #9558
  • refactor: Use IContextMenu to dispatch right clicks by @gonfunko in #9580

Other changes

New Contributors

Full Changelog: blockly-v12.3.1...blockly-v12.4.1

Don't miss a new blockly release

NewReleases is sending notifications on new releases.