In this release (Q4 2019)

  • Theme updates
    • Changing fonts
    • Ability to add start hats to all blocks
    • Support extending a base theme
  • Added ability to override renderer constants in options

This release had 102 PRs. For a full list of pull requests in this issue, see https://github.com/google/blockly/pull/3789.

Issues closed in this release

Extra padding on some dropdown fields on ios (https://github.com/google/blockly/issues/3782) Flyout labels don't respect font size (https://github.com/google/blockly/issues/3778) Typo at ja.js (https://github.com/google/blockly/issues/3770) Unable to include new categories (https://github.com/google/blockly/issues/3760) Input fields unresponsive in fullscreen mode (https://github.com/google/blockly/issues/3758) Output pop up shown twice on iPad for procedure testing (https://github.com/google/blockly/issues/3751) Unable to edit field when keyboard nav cursor is on block (https://github.com/google/blockly/issues/3744) Adding shadows to "any" inputs makes that input only accept the shadow output type (https://github.com/google/blockly/issues/3737) Variable fail do detect global scope (https://github.com/google/blockly/issues/3728) Blockly Developer-guides sidebar (https://github.com/google/blockly/issues/3726) Insertion Markers shows wrong when changing "inline" default property (https://github.com/google/blockly/issues/3718) Add custom blocks to blockly (npm) (https://github.com/google/blockly/issues/3717) Procedure args do not handle casing correctly (https://github.com/google/blockly/issues/3711) Display flex breaks measureFontMetrics (https://github.com/google/blockly/issues/3710) Rendering RTL collapsed blocks in geras error (https://github.com/google/blockly/issues/3700) Is there an official XSD that we can use to verify our blockly workspaces? (https://github.com/google/blockly/issues/3688) Zelos multi-line blocks with output connections grow without a limit. (https://github.com/google/blockly/issues/3684) Failed to run with Windows WebView API (https://github.com/google/blockly/issues/3683) Child SVG remains in DOM when parent is collapsed (https://github.com/google/blockly/issues/3682) Field Registration Doc Updates (https://github.com/google/blockly/issues/3678) code generators arent working (https://github.com/google/blockly/issues/3677) Zelos: Reporter block with statement input (https://github.com/google/blockly/issues/3676) Keyboard Nav Cursor reappears when block moves (https://github.com/google/blockly/issues/3669) Function to empty trash (https://github.com/google/blockly/issues/3666) Self-closing tag in XML will break the resulting 'if' block (https://github.com/google/blockly/issues/3664) "Zelos" the List field is not aligned properly (https://github.com/google/blockly/issues/3662) path typo. (https://github.com/google/blockly/issues/3661) Update custom fields documentation for updateColour->applyColour rename (https://github.com/google/blockly/issues/3660) Warning text is hard to read (white-on-lightgreen) (https://github.com/google/blockly/issues/3657) Flyouts are on the incorrect side of the screen (https://github.com/google/blockly/issues/3644) Row block in plane demo incorrect location after connecting (https://github.com/google/blockly/issues/3639) Turtles in turtle demo are black (https://github.com/google/blockly/issues/3636) TextInput fields have extra padding in readonly (https://github.com/google/blockly/issues/3632) Wrong cursor over text labels on block (https://github.com/google/blockly/issues/3617) Filename in compile error message is off-by-one (OBO) (https://github.com/google/blockly/issues/3613) Lua codegen of lists_getIndex block has problems with list literals (https://github.com/google/blockly/issues/3566) chore(tools): add release-drafter.yml inside .github (https://github.com/google/blockly/issues/3555) Deleting the first of a chained input may error out if checks do not match (https://github.com/google/blockly/issues/3392) Dropdown are acting weird with screen readers (https://github.com/google/blockly/issues/3340) Sizing of text inputs fields in mutator workspaces is broken (https://github.com/google/blockly/issues/3166) Workspace drag performance regression (https://github.com/google/blockly/issues/3094) Insertion Markers Do Not Properly Handle Typed Statement Connections (https://github.com/google/blockly/issues/2948) Flyout Buttons with Different Font Size are Not Rendered Correctly (https://github.com/google/blockly/issues/2793) Image Field Creation Doc Updates (https://github.com/google/blockly/issues/2717) Document setOnClickHandler Function for Image Fields (https://github.com/google/blockly/issues/2704) Add Dark Mode [FEATURE REQUEST] (https://github.com/google/blockly/issues/2639) Disabling orphan break blocks breaks undo (https://github.com/google/blockly/issues/2321) [Edge]: Field edit widget misaligned when browser page is zoomed. (https://github.com/google/blockly/issues/2032) Code Demo: Edge stops responding to touch (https://github.com/google/blockly/issues/1942) FieldInput on Win10: Overlay editor does not disappear when the user scrolls (https://github.com/google/blockly/issues/1685) Right-click shows browser context menu on top of Blockly context menu (https://github.com/google/blockly/issues/1516) Widget div doesn't change size with zoom level (https://github.com/google/blockly/issues/1335) Clicking on blank space between toolbox items closes the item tree (https://github.com/google/blockly/issues/714) Warning text resizes out of bubble (https://github.com/google/blockly/issues/510) Support for custom BlockSvg tabs/notches (https://github.com/google/blockly/issues/174)

Possible Breaking Changes

CSS styling for renderers now contain additional selector for theme (eg: "classic-theme"). This might require you to update some of your custom CSS styling for Blockly so that it is properly applied.

项目简介

🚀 Github 镜像仓库 🚀

源项目地址

https://github.com/google/blockly

发行版本 28

Q1 2021 Patch 1

全部发行版

贡献者 62

全部贡献者

开发语言

  • JavaScript 93.4 %
  • Python 1.9 %
  • HTML 1.6 %
  • PHP 1.2 %
  • Dart 0.9 %