Skip to content

blockly-v12.2.0

Latest
Compare
Choose a tag to compare
@maribethb maribethb released this 09 Jul 23:02
c92314d

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