Releases: RaspberryPiFoundation/blockly
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
blockly-v12.3.0
What's Changed
New features ✨
- feat: Add support for keyboard navigation to/from block comments. by @gonfunko in #9227
- feat: Add an option to copy subsequent blocks when getting copy data from a block. by @gonfunko in #9279
Bug fixes 🐛
- fix: Focus the first element in flyouts. by @gonfunko in #9228
- fix: Fire a
VarTypeChangeevent when changing a variable's type. by @gonfunko in #9236 - fix: Fix order of arguments in
IVariableMap.createVariable(). by @gonfunko in #9231 - fix: Fix toolbox categories tests by @RoboErikG in #9238
- fix: Refer to correct replacement method in deprecation warning. by @gonfunko in #9237
- fix: Make non-autoclosing flyouts stay open. by @gonfunko in #9245
- fix: Fix displaying HTML elements in
FieldDropdown. by @gonfunko in #9258 - fix: dont save ids when copying blocks and comments by @maribethb in #9255
- fix: Allow overriding
VariableModelviaoptions.plugins. by @gonfunko in #9257 - fix: Scroll
CommentBarButtons into view on selection. by @gonfunko in #9259 - fix: Check for existing event group in cleanUp() by @michaela-mm in #9265
- fix: dont add comments to full block fields by @maribethb in #9263
- fix: Display focused icons without transparency. by @gonfunko in #9268
- fix: Drag immovable and shadow blocks along with their parent. by @gonfunko in #9281
- fix: Update dependencies and schedule browser tests to run weekly on Mondays by @RoboErikG in #9297
Cleanup ♻️
- refactor: Make
InsertionMarkerPreviewer's block serialization amenable to subclassing. by @gonfunko in #9282 - refactor: Associate comment bar buttons with the comment view. by @gonfunko in #9278
- refactor: Remove duplicated method from contextmenu_items.ts. by @gonfunko in #9289
Other changes
- release: merge master into develop after v12.2.0 by @maribethb in #9225
- release: Merge
rc/v12.3.0intomaster. by @gonfunko in #9335
Full Changelog: blockly-v12.2.0...blockly-v12.3.0
blockly-v12.3.0-beta.0
What's Changed
New features ✨
- feat: Add support for keyboard navigation to/from block comments. by @gonfunko in #9227
- feat: Add an option to copy subsequent blocks when getting copy data from a block. by @gonfunko in #9279
Bug fixes 🐛
- fix: Focus the first element in flyouts. by @gonfunko in #9228
- fix: Fire a
VarTypeChangeevent when changing a variable's type. by @gonfunko in #9236 - fix: Fix order of arguments in
IVariableMap.createVariable(). by @gonfunko in #9231 - fix: Fix toolbox categories tests by @RoboErikG in #9238
- fix: Refer to correct replacement method in deprecation warning. by @gonfunko in #9237
- fix: Make non-autoclosing flyouts stay open. by @gonfunko in #9245
- fix: Fix displaying HTML elements in
FieldDropdown. by @gonfunko in #9258 - fix: dont save ids when copying blocks and comments by @maribethb in #9255
- fix: Allow overriding
VariableModelviaoptions.plugins. by @gonfunko in #9257 - fix: Scroll
CommentBarButtons into view on selection. by @gonfunko in #9259 - fix: Check for existing event group in cleanUp() by @michaela-mm in #9265
- fix: dont add comments to full block fields by @maribethb in #9263
- fix: Display focused icons without transparency. by @gonfunko in #9268
- fix: Drag immovable and shadow blocks along with their parent. by @gonfunko in #9281
- fix: Update dependencies and schedule browser tests to run weekly on Mondays by @RoboErikG in #9297
Cleanup ♻️
- refactor: Make
InsertionMarkerPreviewer's block serialization amenable to subclassing. by @gonfunko in #9282 - refactor: Associate comment bar buttons with the comment view. by @gonfunko in #9278
- refactor: Remove duplicated method from contextmenu_items.ts. by @gonfunko in #9289
Other changes
- release: merge master into develop after v12.2.0 by @maribethb in #9225
Full Changelog: blockly-v12.2.0...blockly-v12.3.0-beta.0
blockly-v12.2.0
The latest version of Blockly includes new features and bug fixes for the keyboard navigation experience. Please also check out the @blockly/keyboard-navigation plugin at v2.0.0 which accompanies this release of Blockly.
What's Changed
New features ✨
- feat: Add support for keyboard navigation into mutator workspaces. by @gonfunko in #9151
- feat: Run keyboard plugin tests in CI by @BenHenning in #9135
- feat: make comment editor separately focusable from comment itself by @maribethb in #9154
- feat: Add support for keyboard navigation in/to workspace comments. by @gonfunko in #9182
- feat: add copy api and paste into correct workspace by @maribethb in #9215
Bug fixes 🐛
- fix: Fix navigation for blocks with multiple statement inputs. by @gonfunko in #9143
- fix: Add isCopyable to the ICopyable interface and use it by @RoboErikG in #9134
- fix: Dispatch keyboard events with the workspace they occurred on. by @gonfunko in #9137
- fix: caret position when editing block comments by @maribethb in #9153
- fix: tweak redo shortcut order to match convention by @microbit-matt-hillsdon in #9169
- fix: clear touch identifier on comment text area pointerdown by @riknoll in #9172
- fix: Fix loss of focus when un/redoing block deletions or moves. by @gonfunko in #9195
- fix: Short-circuit node lookups for missing IDs by @BenHenning in #9174
- fix: Ensure focus changes when tabbing fields by @BenHenning in #9173
fix: Auto close drop-down divs on lost focus by @BenHenning in #9175(reverted)- fix: check for a drag specifically rather than a gesture for shortcuts by @maribethb in #9194
- fix: Improve workspace comment keyboard navigation behavior. by @gonfunko in #9211
fix: Auto close drop-down divs on lost focus (reapply) by @BenHenning in #9213(reverted)- fix: Prevent loss of focus when deleting a workspace comment. by @gonfunko in #9200
- fix: Fix more browser tests by @RoboErikG in #9183
fix: Auto-close widget divs on lost focus by @BenHenning in #9216(reverted)
Cleanup ♻️
- refactor: Make the cursor use the focus manager for tracking the current node. by @gonfunko in #9142
- refactor(interfaces): Make type predicates more robust by @cpcallen in #9150
- refactor(CSS): move
box-sizingfrom keyboard nav plugin tocore/css.tsby @cpcallen in #9201 - refactor: Ensure that the workspace cursor is never null. by @gonfunko in #9210
Reverted changes ⎌
- revert: "fix: Auto close drop-down divs on lost focus" by @cpcallen in #9204
-
- fix: Revert drop down and widget div PRs by @BenHenning in #9222
Full Changelog: blockly-v12.1.0...blockly-v12.2.0