Skip to content

Releases: RaspberryPiFoundation/blockly

blockly-v12.5.1

20 Mar 17:05

Choose a tag to compare

What's Changed

Bug fixes 🐛

Full Changelog: blockly-v12.5.0...blockly-v12.5.1

blockly-v12.5.0

19 Mar 18:43
92dd086

Choose a tag to compare

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

18 Feb 17:37
39c4b58

Choose a tag to compare

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

archiving the master branch

03 Dec 21:25
1c280d1

Choose a tag to compare

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

22 Sep 21:53
1c280d1

Choose a tag to compare

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 WidgetDiv was 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

28 Aug 23:31
2bd8b63

Choose a tag to compare

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 VarTypeChange event 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 VariableModel via options.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

Full Changelog: blockly-v12.2.0...blockly-v12.3.0

blockly-v12.3.0-beta.0

21 Aug 21:22

Choose a tag to compare

Pre-release

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 VarTypeChange event 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 VariableModel via options.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

Full Changelog: blockly-v12.2.0...blockly-v12.3.0-beta.0

blockly-v12.2.0

09 Jul 23:02
c92314d

Choose a tag to compare

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-sizing from keyboard nav plugin to core/css.ts by @cpcallen in #9201
  • refactor: Ensure that the workspace cursor is never null. by @gonfunko in #9210

Reverted changes ⎌

Full Changelog: blockly-v12.1.0...blockly-v12.2.0

blockly-v12.1.0

30 May 20:40

Choose a tag to compare

This release contains bug fixes and new features for use with @blockly/keyboard-navigation. Learn more on our accessibility site!

What's Changed

New features ✨

Bug fixes 🐛

Cleanup ♻️

  • refactor(shortcuts): Factor copy-eligibility out of cut/copy preconditionFn by @cpcallen in #9102

Other changes

New Contributors

Full Changelog: blockly-v12.0.0...blockly-v12.1.0

blockly-v12.0.1-beta.1

22 May 23:24

Choose a tag to compare

Pre-release

What's Changed

New features ✨

Bug fixes 🐛

Full Changelog: blockly-v12.0.0...blockly-v12.0.1-beta.1