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 ciin 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
AnyDuringMigrationby @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
MenuItemmethods 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
preconditionFnpart of all context menu items by @gonfunko in #9558 - refactor: Use
IContextMenuto dispatch right clicks by @gonfunko in #9580
Other changes
- release: merge master into develop following v12.3.1 by @maribethb in #9380
- Update bug_report.yaml by @sappm01 in #9358
- release: Bump version number to 12.4 by @gonfunko in #9594
New Contributors
- @tashee made their first contribution in #9340
- @sappm01 made their first contribution in #9358
- @AdnaneKhan made their first contribution in #9414
- @jacobleclair made their first contribution in #9432
- @mmvarma-pro made their first contribution in #9426
- @SimonShiki made their first contribution in #9463
- @goughjo02 made their first contribution in #9567
Full Changelog: blockly-v12.3.1...blockly-v12.4.1