Skip to content

Releases: google/blockly

April 2019

19 Apr 18:49
9c4f9d6
Compare
Choose a tag to compare

Issues closed

  • Small typo in field.js documentation (#2368)
  • Menus change layout while moving highlight (#2351)
  • Blockly math operators error (#2348)
  • Trashcan's flyout badly positioned on X axis (#2345)
  • Dropdown sizing issues (width and height) (#2337)
  • Blocks unplugged during drag can be lost/deleted (#2336)
  • Blockly.setTheme errors out if Blockly.getMainWorkspace() does not return a value (#2331)
  • updateToolbox doesn't correctly remeasure the toolbox size (#2330)
  • Dart math generator contains Python reference (#2329)
  • Context Menus not Receiving Clicks (#2312)
  • Scroll Event Bound in inject.js Doesn't Work for Multiple Workspaces (#2310)
  • involuntary hatless mode (#2302)
  • Add Constant for Scrolling with Non-Pixel Delta Modes (#2301)
  • Recenter algorithm does not adapt to simple toolbox correctly (#2297)
  • Message does not reference all 5 arg(s). (#2293)
  • Multiple workspaces on the same page breaks when using trashcan (#2291)
  • Bumping in RTL can push blocks unexpectedly far away (#2290)
  • Q: Should the absoluteLeft and absoluteTop Metrics be Shifted to Avoid Simple Toolboxes? (#2280)
  • Disable Next Blocks in Toolbox (#2273)
  • Insertion marker flickering (#2255)
  • Local build fails when run from top level (#2172)
  • Test blocks should have common prefix (#2103)
  • Clicking on document should call Blockly.hideChaff (#2066)
  • make list from text block throws uncaught Error (#2061)
  • New variable should default setter to that variable. (#2050)
  • Custom Dialogs does not have an entry/icon in demos/index.html (#1709)
  • FieldImage alt text does not propagate to page markup (#1632)
  • Rename workspaceSvg.getFlyout_ to workspaceSvg.getFlyout (#1101)
  • Underscore naming convention mismatch with jsdoc privacy annotations. (#695)

Pull requests

  • Rebuild (#2372)
  • typo fix in line 134 of field.js for documentation (#2371)
  • typo fix in line 134 of field.js documentation (#2369)
  • Updates function call (#2367)
  • Common prefix for test blocks (#2361)
  • Fixes bumping too much when in RTL (#2360)
  • Hides chaff on document mouseup (#2359)
  • Develop1709 (#2358)
  • Rename WorkspaceSvg.getFlyout_ to WorkspaceSvg.getFlyout (#2357)
  • Fix margins/checkbox in RTL dropdown menus (#2356)
  • Adds check for a targetConnection (#2355)
  • Update selected menu sizing to fix #2351 (#2353)
  • Fix bubble open/close events (#2352)
  • Ignores urls for eslint (#2350)
  • Fixed Trashcan Flyout Positioning (#2349)
  • Random upgrades (#2346)
  • Fix zoom bug while dragging in Mutators (#2344)
  • Remove Python references in Dart math generator (#2343)
  • Set theme fix (#2335)
  • Keyboard nav cleanup (#2334)
  • Fixed updateToolbox Not Properly Updating Flyouts (#2332)
  • Add a playgound for debugging SVG paths (#2328)
  • Reverts changes to fix bug with selecting dropdown (#2327)
  • Fix issue 2061 (make list from text block throws uncaught Error) (#2326)
  • style -> categorystyle change (#2325)
  • Don't try to bump if the object has already been deleted. (#2324)
  • Fixed Scroll Event Binding to Work with Multiple Workspaces (#2323)
  • Added Event Filtering to workspaceChanged in Mutator (#2320)
  • Add click target property to fields, with accessor (#2318)
  • Add dropdowndiv and use it for the colour picker and angle fields (#2313)

February 2019

16 Feb 00:58
82871b3
Compare
Choose a tag to compare

Major features

  • Insertion markers
  • Large workspace performance
  • Trashcan contents
  • Theme API

Issues closed

  • Insertion marker flickering (#2255)
  • Multiple workspaces on the same page breaks when using trashcan (#2291)
  • Disable Next Blocks in Toolbox (#2273)
  • Complete adding Hausa language (ha) (#2264)
  • getTertiaryColour -> getColourTertiary (#2262)
  • request: Auto-generate Create buttons for added variable types (#2256)
  • Should the "FinishedLoading" event be added to Events.fromJson? (#2250)
  • Disabled blocks can't be retrieved from the trash. (#2239)
  • Image dropdowns of disabled blocks don't render properly. (#2238)
  • Trash hotspot wrong when trash is full. (#2237)
  • workspace.getAllBlocks shouldn't return insertion markers by default (#2236)
  • Shadow blocks are positioned wrong when converted to real blocks in DevTools (#2234)
  • I can't get blockly working in Angular (#2232)
  • Blocks disapper when a custom block connects with a defined block (#2231)
  • feature request - Hide not so important "Inputs" (#2229)
  • block.dispose(/healStack/ true) should not attempt to heal shadow block connections (#2227)
  • Maximum Block Limit demo off by one (#2216)
  • Colours on advanced compilation demos are all black (#2215)
  • Exception "Cannot set property 'textContent' of undefined" from a custom block after blockly update (#2214)
  • blockfactory error (#2206)
  • No default jsDelivr CDN file set (#2200)
  • store generated code safely on server (#2199)
  • No Accessor to tell if BlocklyStorage has Anything Stored (#2197)
  • Can Blockly use upload file button? (#2194)
  • Document maxTrashcanContents Option (#2192)
  • Undeletable Blocks Created Through .domToWorkspace can be "Deleted" through Undo (#2191)
  • Display Trashcan Flyout Horizontally when Layout is Horizontal (#2166)
  • uncheckedconversions compilation error: Fix in progress (#2164)
  • text_join argument precedence bug in PHP (#2161)
  • flyout_base's .filterForCapacity Does Not Consider Children When Checking .remainingCapacityOfType (#2154)
  • Document Max Instances Option (#2141)
  • Trashcan Contents (#2136)

Pull requests

  • Rebuild 02 11 19 (#2288)
  • Update dependencies (#2284)
  • Fixed Horizontal Scrolling on Window Resize for Simple Toolboxes (#2282)
  • Fixed Flyout Scrollbars Not Being Repositioned on Window Resize (#2281)
  • Fixed next blocks not being disabled in flyout. (#2278)
  • Check against healing child shadow blocks (#2271)
  • Changes colour names (#2270)
  • Typo fix in code comment (#2269)
  • Pull in pxt-blockly's rendering file and hack until blocks can be created without errors (#2266)
  • Typo in code comment (#2265)
  • Update to latest Closure Template jars, recompile. (#2263)
  • Rebase rendering branch on develop (#2260)
  • Fix event description for theme (#2259)
  • Speed up the connection DB (#2254)
  • Added a Test Block for a Dynamic Dropdown (#2252)
  • Update procedures.js (#2251)
  • Update procedures.js (#2248)
  • Fixed Image Dropdowns on Disabled Blocks not Rendering Correctly. (#2246)
  • Ignore insertion markers in getAllBlocks; add accessors for insertion markers (#2243)
  • Changed Trashcan Lid Opening Direction (#2242)
  • Retrieve Disabled Blocks from the Trashcan (#2241)
  • Fixed Trashcan Hotspot & Changed Positioning (#2240)
  • Added FinishedLoading Event (#2235)
  • Ignore insertion markers when checking remaining capacity (#2233)
  • Access colours using bracket notation (#2226)
  • Block in (#2225)
  • Add support for rendering a vertical input based cursor (#2224)
  • Show the cursor with attached to a statement connection (#2223)
  • Block nav (#2222)
  • Initial cursor rendering, supports coordinate positioning only (#2221)

December 2018

19 Dec 22:43
Compare
Choose a tag to compare

Issues closed

  • Blockly not compiling totally when using build.py (#2138)
  • IO loop going away before the audio device has been stopped (#2134)
  • FieldImage opt_onClick initialisation when the block is defined in json (#2132)
  • C shaped blocks don't wrap around other blocks (insertion markers, develop) (#2131)
  • Mobile Demos scale is off and user can zoom page (#2119)
  • Update selenium to latest (#2116)
  • Upgrade chromedriver to latest (#2115)
  • Upgrade build.py to python 3 (#2112)
  • broken when rename arguments of function (#2110)
  • getVariable can fail (#2107)
  • how to build blocks_compressed.js? (#2099)
  • Undo broken when deleting multiple blocks in a stack (#2097)
  • Serializing a stack of blocks only outputs the first block (#2096)
  • logic_boolean block can not be dragged from toolbox on Android (#2055)
  • BlockFactory is broken (#2040)
  • controls_if: Mutation actions do not undo correctly (#2037)
  • Calling setTooltip on a field label or image during Block.init() crashes (#2030)
  • Add randomness to bump distances (#2011)
  • Upgrade to Dart 2.0 (#1951)
  • Deleting workspace comments sometimes throws console warnings (#1848)
  • Dragging a block off the edge breaks undo in fixed size workspaces (#1653)
  • Renaming a procedure does not group events (#1508)
  • Replace goog.asserts when validating user data (#824)
  • [Edge, IE] Zoom control mouseover is not clipped (#172)

Pull requests

  • Disable insertion markers for the December 2018 release (#2170)
  • Groups events fired during field input change (#2168)
  • Reconnects child blocks when an undo is done on an else block (#2167)
  • Propagate the event group when enforcing bounds on blocks (#2163)
  • Handle promise rejection for sound.play() in preload (#2162)
  • #172, Fixed [Edge, IE] Zoom control mouseover is not clipped (#2159)
  • Fixed Filter Capacity not Considering Child Blocks. (#2155)
  • #1848 Fixed throw console warning when deleting workspace comments (#2151)
  • Tweak insertion marker snap radii (#2149)
  • Added randomness to bumping per Issue #2011 (#2148)
  • Allow statement connections to connect around block stacks during drags (#2147)
  • Pulls from MakeCode fork the ability to rename and delete variables i… (#2144)
  • Bugfix/2107 (#2139)
  • Generate Code For Single Block (#2133)
  • Added Max Instances Property to Workspace Options (#2130)
  • Rebase insertion markers into the rendering branch (#2129)
  • Feature/insertion markers (#2127)
  • Update selenium version (#2126)
  • Fix issues related to Python 3 compatibility (#2125)
  • Update chromedriver version (#2124)
  • Make build.py compatible with Python 2 and 3 (#2123)
  • Add support for handling window.prompt(..) etc in iOS mobile demo (#2121)
  • Removing comment around (#2120)
  • [rendering] update build script (#2113)
  • Run generator tests on Travis (#2111)
  • fix #2090 (#2109)
  • Rebuild to include blockToDom fix; bump version number (#2106)
  • Immovable blocks should not move when workspace is cleaned (#2104)

November 2018 patch

05 Nov 22:14
d3a7324
Compare
Choose a tag to compare

This release contains all of the changes from the October 2018 release, plus a rebuild to apply those changes to the compressed files.

October 2018

01 Nov 23:50
09853c3
Compare
Choose a tag to compare

The compressed files are out of date in this release. Please use the November patch release instead.

Bugs closed in this release (not all bugs were present on master):

  • Blocks unable to be dragged or fields edited (#2089)
  • Pull vs Downloading .zip (#2075)
  • Typed variables do not appear in the toolbox (#2071)
  • mathRandomInt problem (#2070)
  • Add connection.getChecks function (#2048)
  • field_image opt_onClick not work (#2034)
  • Remove goog library calls from blocks/ files. (#1922)
  • Image field: click handler gets ignored (#1887)
  • Combine code for CommentDelete.run and CommentCreate.run (#1871)
  • Disallow block type names that might match anything in Blockly.Generator.prototype (#1558)
  • Audit all uses of goog.dom.createDom (#1423)
  • Move block animations to a separate file (#1022)
  • Serializing a stack of blocks only outputs the first block (#2096)

Release notes:

  • Generator test improvements (#2085)
  • Fix setting tooltips in field init for fields (#2084)
  • Fix setting tooltips in field init for label fields (#2083)
  • Upgrade to dart 2.0 (#2081)
  • Remove all calls to goog.dom.createDom (#2080)
  • Add new atan2 block (#2079)
  • Honour reductions to MAX_UNDO (#2078)
  • Adding hooks for Android dialogs upon console.prompt() and similar (#2077)
  • Updating Android ContraintLayout (#2074)
  • Update Android project to gradle 3.2.0 (#2073)
  • Update gradle to 3.1.4 (#2072)
  • Fix inconsistent return type warning (#2069)
  • Remove unneeded String() and str() calls. (#2068)
  • Optimized Images by the GitHub [ImgBot] (61.18kb -> 44.41kb (27.42%)) (#2065)
  • Optimized Images by the GitHub [ImgBot] (61.18kb -> 44.41kb (27.42%)) (#2064)
  • Playground upgrades (#2063)
  • Remove .children access (#2059)
  • Adding demos/mobile/README.md (#2058)
  • Adding mobile HTML demo (#2057)
  • Android/iOS demos (#2056)
  • Moving all mobile demos into demos/mobile. (#2054)
  • Restructure isConnectionAllowed to match scratch blocks (#2053)
  • Calls to getAllBlocks should pass a value for ordered (#2052)
  • Add some functions for insertion markers (#2051)
  • Add connection.getCheck function #2048 (#2049)
  • Mark some field properties protected (#2047)
  • fix #1887 #2034 (#2046)
  • fix bug.when create get/set dynamic variable block from set/get , lost the type. (#2045)
  • Merge Sept patch release (PR #2042) into develop (#2044)
  • Bumping develop branch version to 1.20180904.0-develop (#2043)
  • Fix bad xml element when generating next node (#2100)

September 2018 patch release

17 Oct 20:59
1d9fad0
Compare
Choose a tag to compare

This release is associated with PR #2042.

This is a minor change from the August 2018 release.

August 2018 release

17 Oct 20:59
ad27d6d
Compare
Choose a tag to compare

This release is associated with PR #2027