blockly-v11.2.0-beta.0
Pre-release
Pre-release
gonfunko
released this
11 Nov 18:44
·
37 commits
to rc/v11.2.0
since this release
What's Changed
New features ✨
- feat(scripts): Create script to help with CJS -> ESM migration by @cpcallen in #8197
- feat: add legacy warning to block factory by @maribethb in #8234
- feat: allow fetching block bounds not including children. by @gonfunko in #8284
- feat: expose
bringToFront()
method by @UCYT5040 in #8472 - feat: mark some marker_svg properties protected instead of private by @rachel-fenichel in #8558
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 newenqueueEvent
function by @cpcallen in #8539 - fix(comments): added workspace comments and comment drag strategy isDeadOrDying() checks (for multiselect plugin) by @changminbark in #8532
Cleanup ♻️
- docs(blocks):
block.ts
andblocks/*
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
Other changes
- Revert "chore: Pin node.js v22 to v22.4.1 in CI" by @BeksOmega in #8398
New Contributors
- @changminbark made their first contribution in #8358
- @AbhinavKRN made their first contribution in #8470
- @abhinavjha0239 made their first contribution in #8478
Full Changelog: blockly-v11.1.1...blockly-v11.2.0-beta.0