Releases: RaspberryPiFoundation/blockly
blockly-v13.0.0-beta.4
What's Changed
Breaking changes 🛠
- feat!: Added additional keyboard shortcuts for context menu by @lizschwab in #9845
- fix!: set full block field status explicitly by @maribethb in #9840
- fix!: Flyout follows toolbox in DOM by @mikeharv in #9849
- feat!: Improve context announcement keyboard shortcuts by @gonfunko in #9863
- fix!: update default media location by @maribethb in #9870
- feat!: Add keyboard shortcut to toggle screenreader mode by @gonfunko in #9869
New features ✨
- feat: Insert blocks at focus point by @gonfunko in #9806
- feat: Display keyboard shortcuts in context menus by @gonfunko in #9785
- feat: Comments ARIA by @mikeharv in #9832
- feat: use custom aria labels for inputs with move announcements by @mikeharv in #9846
- feat: Display toasts when items are cut/copied/pasted by @gonfunko in #9842
- feat: use custom labels for block parent input labels by @maribethb in #9867
- feat: add aria labels for connections by @maribethb in #9862
Bug fixes 🐛
- fix: Added comma between labels for fields when composing ARIA label strings by @lizschwab in #9812
- fix: Avoid locking up the test suite by @gonfunko in #9821
- fix: Adjust keyboard navigation of external inputs by @gonfunko in #9820
- fix: Fix bug that could cause unintend block movements by @gonfunko in #9818
- fix: Improve focus management on block deletion by @gonfunko in #9831
- fix: Mark the
WidgetDivandDropDownDivas owned by the workspace by @gonfunko in #9825 - fix: Redo move templates by @mikeharv in #9822
- fix: Improve ARIA fallback generation for HTML-based menu items by @gonfunko in #9827
- fix: Update workspace ARIA label on focus by @gonfunko in #9841
- fix: Improve display of move-related hints by @gonfunko in #9843
- fix: Don't suppress passive focus on blocks by @gonfunko in #9839
- fix: improve block labels and aria roles by @maribethb in #9834
- fix: Improve display of workspace focus rings by @gonfunko in #9848
- fix: Fix bug that prevented display of move indicators in mutator workspaces by @gonfunko in #9856
- fix: Display appropriate help hint for navigating blocks in RTL by @gonfunko in #9857
- fix: Fix positioning of keyboard-driven workspace context menu in RTL by @gonfunko in #9858
- fix: Fix bug that could cause blocks to be inadvertently deleted by @gonfunko in #9859
- fix: always store initial drag connections by @mikeharv in #9851
- fix: skip empty label fields and dummy/end row inputs for move announcements by @mikeharv in #9847
- fix: Improve display of focus rings on workspace controls by @gonfunko in #9860
- fix: Block-level ARIA labels no longer include clickable image descri… by @lizschwab in #9844
- fix: labels for multi-statement blocks by @mikeharv in #9868
Full Changelog: blockly-v13.0.0-beta.3...blockly-v13.0.0-beta.4
blockly-v13.0.0-beta.3
What's Changed
New features ✨
- feat: Added support for custom input ARIA labels by @lizschwab in #9789
- feat: Icon ARIA by @mikeharv in #9805
Full Changelog: blockly-v13.0.0-beta.2...blockly-v13.0.0-beta.3
blockly-v13.0.0-beta.2
What's Changed
New features ✨
- feat: Added keyboard shortcut for displaying tooltip by @lizschwab in #9755
- feat:
FieldDropdownARIA by @mikeharv in #9766 - feat: ARIA for other field classes by @mikeharv in #9772
- feat: make flyouts and workspace labels properly accessible by @maribethb in #9774
- feat: Play delete sound when workspace comments are deleted by @gonfunko in #9776
- feat: allow setting custom role description for blocks by @maribethb in #9777
- feat: Bubble ARIA methods by @mikeharv in #9783
- feat: Add a sound effect when dropping top-level items on the workspace by @gonfunko in #9784
Bug fixes 🐛
- fix: Make the undo/redo API more ergonomic by @gonfunko in #9573
- fix: Fix bug that could cause focus to be lost in Chrome when dismissing a dropdown by @gonfunko in #9763
- fix: Don't focus newly created variable blocks when not using keyboard navigation by @gonfunko in #9764
- fix: Disable some shortcuts in the flyout by @gonfunko in #9765
- fix: Remove unneeded scrollbars on contextual menus by @gonfunko in #9771
- fix: Fix bug that caused focus rings to be inverted in RTL Zelos by @gonfunko in #9767
- fix: Fix Escape in toolboxes and flyouts by @gonfunko in #9770
- fix: Prevent errors when mixing keyboard/mouse input in the toolbox/flyout by @gonfunko in #9773
- fix: Make trashcan and zoom controls accessible by @gonfunko in #9768
- fix: Make live region coalesce messages by @gonfunko in #9778
- fix: Fix bug that could cause focus to be lost when deleting a block by @gonfunko in #9779
Other changes
Full Changelog: blockly-v13.0.0-beta.1...blockly-v13.0.0-beta.2
blockly-v13.0.0-beta.1
What's Changed (since v13.0.0-beta.0)
Breaking changes 🛠
New features ✨
- feat: Add keyboard shortcut to clean up the workspace by @gonfunko in #9728
- feat: Add keyboard shortcut for duplicating blocks and workspace comments by @gonfunko in #9727
- feat: Add basic support for generating ARIA labels and roles for blocks by @gonfunko in #9696
- feat: Screenreader announcements for move mode by @mikeharv in #9731
- feat: Update zelos path object to allowlist attributes by @lizschwab in #9742
- feat: add display text to shortcuts by @maribethb in #9743
- feat:
FieldInputARIA by @mikeharv in #9744
Bug fixes 🐛
- fix: Add default aria role to svg and group elements by @lizschwab in #9697
- fix: Fix positioning of move marker on blocks by @gonfunko in #9722
- fix: Improve accuracy of block navigability detection by @gonfunko in #9725
- fix: Fix bug that caused blocks inserted via Enter to not attach by @gonfunko in #9699
- fix: Inhibit keyboard navigation shortcuts when the dropdown or widget divs are open by @gonfunko in #9724
- fix: Increase contrast of active tree focus ring color by @gonfunko in #9726
- fix: Fix bug that caused blocks in flyout to disappear on click in Chrome by @gonfunko in #9729
- fix: Field text hidden from ARIA by @lizschwab in #9734
- fix: Improve navigation and movement looping behavior by @gonfunko in #9732
- fix: Fix dropdowndiv animations by @gonfunko in #9733
- fix: use correct key names for key codes by @maribethb in #9746
- fix: Don't close the flyout when creating a variable using keyboard nav by @gonfunko in #9745
- fix: set role application and fix block readouts by @maribethb in #9747
- fix: dont activate base delete areas for keyboard moves by @maribethb in #9748
- fix: Improve focus handling when clicking outside injection div by @gonfunko in #9749
Reverted changes ⎌
Full Changelog: blockly-v13.0.0-beta.0...blockly-v13.0.0-beta.1
blockly-v13.0.0-beta.0
What's Changed
Breaking changes 🛠
- fix!: Make
ISelectable.workspacean instance ofWorkspaceSvgby @gonfunko in #9534 - fix!: Remove event dependencies on XML by @gonfunko in #9536
- feat!: Use box-sizing: border-box by default by @gonfunko in #9556
- fix!: Use SVG icon assets by @gonfunko in #9569
- refactor!: Deprecate
Block.getVars()by @gonfunko in #9574 - fix!: Normalize Zelos connection indicators by @gonfunko in #9565
- feat!: Allow moving blocks, comments and bubbles using the keyboard by @gonfunko in #9593
- refactor!: Move responsibility for block creation out of flyouts by @gonfunko in #9610
- feat!: Allow using Blockly in web components/shadow DOM by @gonfunko in #9611
- feat!: Add support for keyboard navigation by @gonfunko in #9634
- fix!: Fix types on
BlockSvgconnections by @gonfunko in #9669 - feat!: announce toasts via shared ARIA live region by @mikeharv in #9672
New features ✨
- feat: Add a method to play beep tones by @gonfunko in #9612
- feat: Add keyboard shortcut to focus the workspace by @gonfunko in #9615
- feat: Move mode for stacks of blocks by @mikeharv in #9630
- feat: Beep when attempting constrained move on top-level block by @gonfunko in #9635
- feat: Add keyboard shortcut for disconnecting the selected block by @gonfunko in #9650
- feat: Stop on workspace during constrained move by @mikeharv in #9649
- feat: aria live region for announcements by @mikeharv in #9653
- feat: Update CSS for keyboard navigation by @gonfunko in #9674
- feat: Add a JSON Block definition interface by @heliacer in #9613
- feat: Add keyboard shortcuts to navigate between stacks by @gonfunko in #9678
- feat: i shortcut on workspace gives overview by @mikeharv in #9677
- feat: Add aria APIs to Field base class by @mikeharv in #9683
- feat: aria utility additions / improvements by @mikeharv in #9690
- feat: Add keyboard shortcut to perform an action on the currently focused element by @gonfunko in #9673
Bug fixes 🐛
- fix: visit all connection candidates in move mode by @mikeharv in #9641
- fix: Display focus rings on flyout buttons and labels by @gonfunko in #9679
- fix: add group when cutting workspace comments by @lizschwab in #9680
- fix: Fix navigation between toolbox and flyout in all layouts by @gonfunko in #9681
Other changes
New Contributors
- @heliacer made their first contribution in #9613
- @lizschwab made their first contribution in #9680
Full Changelog: blockly-v12.5.1...blockly-v13.0.0-beta.0
blockly-v12.5.1
blockly-v12.5.0
What's Changed
New features ✨
- feat: Add dynamic keycode for primary modifier key by @gonfunko in #9571
- feat: Add a keyboard shortcut for displaying the contextual menu by @gonfunko in #9602
Bug fixes 🐛
- fix: Focus nearest neighbor when deleting a focused block by @gonfunko in #9599
- fix: Fix a bug that could cause menus to scroll incorrectly on mouseover by @gonfunko in #9603
- fix: Remove unsafe non-null assertions by @gonfunko in #9598
- fix: Fix bug that caused blocks to become disconnected when undoing deletions by @gonfunko in #9636
Other changes
Full Changelog: blockly-v12.4.1...blockly-v12.5.0
blockly-v12.4.1
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
archiving the master branch
This tag serves to commemorate the final commits on the master branch. After this, we will no longer update the master branch. To get the latest released code, please use the latest release on npm or GitHub.
The master branch may be deleted in the future. Please update any references to it to use main instead.
blockly-v12.3.1
What's Changed
Bug fixes 🐛
- fix: pointercancel event is not handled by @nianxy in #9250 (reverted + fixed in #9373)
- fix: Fix positioning of pasted blocks and comments in RTL. by @gonfunko in #9302
- fix: Show the delete cursor when dragging a block by an editable field. by @gonfunko in #9326
- fix: Correct the alignment of narrow text in input fields. by @gonfunko in #9327
- fix: Fix bug that caused inadvertent scrolling when the
WidgetDivwas shown. by @gonfunko in #9291 - fix: Allow reregistering fields. by @gonfunko in #9290
- fix: Prevent mocha tests failures when window does not have focus. by @gonfunko in #9332
- fix: Fix bug that could cause errant line when rendering. by @gonfunko in #9333
- fix: Fix bug that could caused variable map to be left in an inconsistent state. by @gonfunko in #9339
- fix: Allow cross origin requests for Blockly assets. by @gonfunko in #9342
- fix: minor fixes to translation files by @maribethb in #9350
- fix: handle pointercancel only for in-progress gestures by @maribethb in #9373
Cleanup ♻️
- refactor: Make focusable elements responsible for scrolling themselves into bounds. by @gonfunko in #9288
New Contributors
Full Changelog: blockly-v12.3.0...blockly-v12.3.1