github google/blockly blockly-v11.2.0

15 hours ago

What's Changed

New features ✨

Bug fixes 🐛

  • fix: change which element keydown is bound to from document to injection div by @mark-friedman in #8188
  • fix: statement input blocks disappearing by @BeksOmega in #8203
  • fix(dev-tools): only initSvg on rendered blocks by @maribethb in #8215
  • fix: Drag and Resize events for workspace comments by @johnnesky in #8217
  • fix: correctly report the pre-resize-drag size to workspace comment size change listeners by @gonfunko in #8240
  • fix: export the layer constants. by @gonfunko in #8256
  • fix: use the correct with in getBoundingRectangleWithoutChildren(). by @gonfunko in #8298
  • fix: added id to rendered ws comments; made getCommentById public; ad… by @changminbark in #8358
  • fix: Enable blocks if user can't manually enable them. by @johnnesky in #8354
  • fix: drag strategy only clear group id set by us by @HollowMan6 in #8355
  • fix: Codify component weights with toolbox in front of flyouts. by @johnnesky in #8432
  • fix: comments and bubbles on click by @UCYT5040 in #8451
  • fix: Update dev-tools, remove toolbox category tests Colour and Angles by @johnnesky in #8457
  • fix(touch): prevent infinite loop on multi-touch drag by @AbhinavKRN in #8470
  • fix: Let workspace comment have delete cursor over trash. by @johnnesky in #8477
  • fix: Detect if deleting shadow block affects selection highlight by @johnnesky in #8533
  • fix(events): Simplify filter function, add new enqueueEvent function by @cpcallen in #8539
  • fix(comments): added workspace comments and comment drag strategy isDeadOrDying() checks (for multiselect plugin) by @changminbark in #8532
  • fix: Ensure immovable blocks are considered during workspace tidying by @BenHenning in #8550
  • fix: Factor out workspace drag methods into utils. by @johnnesky in #8566
  • fix: Simplify list and text WHERE validation by @johnnesky in #8575
  • fix: Group field validator changes with field value changes. by @johnnesky in #8589
  • fix: Let old block factory overwrite user defined blocks. by @johnnesky in #8605
  • fix: bump initiator group in an orthogonal direction from neighboring group by @johnnesky in #8613
  • fix: clear touch identifier on comment icon down by @riknoll in #8627
  • fix: Use a readonly textarea for non-editable comments. by @gonfunko in #8632
  • fix: Fix crash when resizing page while editing a field. by @gonfunko in #8646
  • fix: Fix bug that caused comments to be incorrectly positioned. by @gonfunko in #8668
  • fix: Disable newly created function call blocks when the corresponding definition is disabled. by @gonfunko in #8665
  • fix: Fix bug that caused text to be selected when long-pressing in the workspace on a touch device. by @gonfunko in #8670
  • fix: typo in comment by @winnchen in #8685
  • fix: workspace shifts when deleting a block by @mateusslezinsky in #8666

Cleanup ♻️

  • docs(blocks): block.ts and blocks/* JSDoc / formatting / etc. cleanup by @cpcallen in #8431
  • refactor(events): introduce EventType enum in separate module by @cpcallen in #8530
  • refactor(events): Don't filter events before undo by @cpcallen in #8537
  • refactor(events): Introduce and use event type predicates by @cpcallen in #8538
  • refactor: Use arrow functions when calling Array.prototype.filter by @cpcallen in #8557
  • refactor: Omit unused exception arguments from catch blocks by @cpcallen in #8559
  • refactor(shortcuts): Improve shortcut registry documentation & style by @cpcallen in #8598
  • refactor: Move functions into FieldDropdown. by @gonfunko in #8634

Other changes

New Contributors

Full Changelog: blockly-v11.1.1...blockly-v11.2.0

Don't miss a new blockly release

NewReleases is sending notifications on new releases.