What's Changed
Breaking changes 🛠
- feat!: deprecate scopeType and include focusedNode in context menu options by @maribethb in #8882
- refactor!: Finish refactor of
WorkspaceSvg
VariableMap
methods by @cpcallen in #8946 - feat!: add scope to keyboard shortcuts and use it by @maribethb in #8917
- fix!: Remove alt+key commands by @RoboErikG in #8961
- refactor!: Use navigation rulesets instead of ASTNode to control keyboard navigation. by @gonfunko in #8992
- fix!: remove MarkerSvg and uses by @rachel-fenichel in #8991
New features ✨
- feat: Add a method for creating flyout options by @RoboErikG in #8829
- feat: Allow for HTML elements in dropdown field menus. by @gonfunko in #8889
- feat: show context menu for connections by @maribethb in #8895
- Feature: Add a dropdown options setter by @RoboErikG in #8833
- feat: Add support for displaying toast-style notifications. by @gonfunko in #8896
- feat!: Introduce new focus tree/node functions. by @BenHenning in #8909
- feat: Make WorkspaceSvg and BlockSvg focusable by @BenHenning in #8916
- feat: Make toolbox and flyout focusable by @BenHenning in #8920
- feat: Make WorkspaceSvg and BlockSvg focusable (roll forward) by @BenHenning in #8938
- feat: Make toolbox and flyout focusable (roll forward) by @BenHenning in #8939
- feat: Make fields focusable by @BenHenning in #8923
- feat: Make connections focusable by @BenHenning in #8928
- feat: Update line cursor to use focus manager by @BenHenning in #8941
- feat(WorkspaceSvg): Add support for tracking keyboard moves by @cpcallen in #8959
- feat(WorkspaceSvg): Ignore gestures when keyboard move in progress by @cpcallen in #8963
Bug fixes 🐛
- fix: fix bug that modalInputs option is not working in toolbox area by @zhiyan in #8817
- fix: Fix bug that allowed some invisible fields/inputs to be navigated to. by @gonfunko in #8899
- fix: Fix bug that caused flyout items under the mouse to be selected without movement. by @gonfunko in #8900
- fix: Recreate the dropdowndiv when clearing it. by @gonfunko in #8903
- fix: Add some missing message strings. by @gonfunko in #8908
- Fix: Remove the collapsed block warning when expanding a block by @RoboErikG in #8854
- fix: LineCursor can loop forward, but not back by @microbit-grace in #8926
- fix: Support RTL in WorkspaceSvg.scrollIntoBounds by @RoboErikG in #8936
- fix: Fix bug in
BlockSvg.prototype.setParent
by @cpcallen in #8934 - fix: remove black outline on focused items by @rachel-fenichel in #8951
- fix: Fix conventional auto labeling by @BenHenning in #8956
- fix: Address remaining invisible input positions by @microbit-robert in #8948
- fix: Ensure flyout remains open after creating a variable with mouse by @BenHenning in #8982
- fix: Synchronize gestures and focus by @BenHenning in #8981
- fix: focus for autohideable flyouts by @maribethb in #8990
- fix: Replace explicit calls to refreshToolboxSelection with a workspace listener by @RoboErikG in #8980
- fix: Add private to variableChangeCallback by @RoboErikG in #8995
- fix: use copyable interface for cut action, add tests by @maribethb in #8993
- fix: Improve missing node resiliency by @BenHenning in #8997
Other changes
- release: v11.2.2 by @gonfunko in #8812
- Fix: Revert focus prs by @RoboErikG in #8933
New Contributors
- @zhiyan made their first contribution in #8817
- @microbit-grace made their first contribution in #8926
- @microbit-robert made their first contribution in #8948
Full Changelog: blockly-v12.0.0-beta.4...blockly-v12.0.0-beta.5