In this release (Q2 2021)
This is a major release. Notable changes:
- IDeletable was renamed to IDragTarget
- variableDB_ was renamed to nameDB_
- compile.sh was removed
- Some scrollbar constants were renamed
For a full list of pull requests in this release see #4976
API Changes
- Adding IDragTarget support. (#4852)
- Rename Blockly..variableDB_ to .nameDB_ and add .nameDB_.getUserNames('VARIABLE') and .nameDB_.getUserNames('PROCEDURE') (#4845)
- Remove compile.sh (#4779)
- Update Flyout metrics and implement adjustable margin for scrollbars. (#4763)
Issues Closed
- Scrollbars Look Chunky on ChromeOS (#4953)
- Consider Renaming the project. (#4943)
- GoogleFI compatibility issues (#4942)
- Viewport change events causing out of memory error (#4916)
- Flyouts do not recalculate delete area (#4912)
- Escape no longer reverts field edits (#4910)
- Error to generate blocks on complex input (#4891)
- Add hook for getting id of component registered on
ComponentManager
(#4881) - .blocklyDraggable refers to blockly-demo.appspot.com (#4864)
- translation incorrect (Korean) (#4859)
- Context menu Delete X blocks preview does not match behavior (#4832)
- Calling getField/getFieldValue/setFieldValue without supplying name gets/changes (value of) first unnamed field (#4830)
- Connecting orphan block does not do type checks in correct order (#4826)
- Editing text field impossible on iPad while external keyboard connected (#4818)
- Invisible toolbox still reports delete area (#4811)
- Compatibility blockly with Franka version 4.1+ (#4810)
- Can I provide an interface to directly obtain the fast overall configuration of JSON (#4795)
- Why doesn't code generator give priority to Java (#4794)
- Blockly Developer Tools preview unavailable (#4768)
- Use captureWarning helper from dev-tools (#4761)
- Typo in custom blocks JSON vs. JS (#4759)
- Dynamically generated blocks output is being lost after last lib update (#4757)
- The xml of dynamic appendField block is not included (#4752)
- Cron job to delete expired data in appengine demos (#4751)
- JavaScript APIs (#4749)
- javascript.d.ts exports Blockly.Generator itself instead of its instance (#4742)
- Add an option allowing to select and drag multiple blocks at the same time (#4739)
- I cannot use text input field in blockly to set a dynamic dropdown (#4732)
- Click event should include access to thing being clicked (#4729)
- Zoom reset not centering workspace (#4724)
- Blocks unexpectedly scrolled up or down (reopened) (#4678)
- Toolbox and flyout metrics should report appropriate height and width (#4594)
- Allow the workspace to be panned when a block is dragged near the edge (#4570)
- Travis not properly reporting typing errors (#4546)
- Copying in Safari makes an error sound even if copy works (#4537)
- Workspace Comment Change event does not serialize/deserialize correctly (#4527)
- Very old deprecated functions (#4475)
- Consider adding get/setMetrics to the options struct when creating a workspace (#4377)
- Refactor event grouping to allow for nested groups (#4216)
- Fields don't group edits (#4189)
- Update Toolbox Events (#4187)
- Data retention enhancements needed for 3 blockly demos (code, cloud storage and block) (#3899)
- Create a Public Metrics Method (#3746)
- lastConnectionInRow inconsistent with lastConnectionInStack (#3656)
- Suspicious @Suppress (#3517)
- Typings not split into files (#3213)
- Script to bump version and tag release on master (#3210)
- Script for publishing blockly-demo to app engine (#3209)
- Keyboard Nav: Field Cursor Should be correct size (#3026)
- wrong variable scope (#2799)
- Undoing connecting a collapsed block causes positioning issues (#2675)
- Clearing workspace while dragging with insertion marker crashes (#2338)
- UI Event Handling API (#2253)
- Proposal: Mouse Wheel Behavior, Scrolling vs Zooming (#2205)
- Refactor Field validation (#2169)
- WorkspaceSVG: Better APIs to get and set workspace scroll and zoom. (#2145)
- Add finishedLoading event (#2142)
- Recenter issue with a horizontal toolbox (#2036)
- Long press broken on Playground and Multi-Playground (#1955)
- field_label modified in dynamic category resets when dragged onto workspace (#1954)
- Flyout getMetrics causes a reflow and style recalculation (#1303)