Skip to content

Releases: google/blockly

blockly-v10.1.1

10 Aug 21:17
7bca438
Compare
Choose a tag to compare

What's Changed

Other changes

  • Revert "fix: removed X & Y from toolbox.ts and replaced movBy to moveTo" by @BeksOmega in #7375

Full Changelog: blockly-v10.1.0...blockly-v10.1.1

blockly-v10.1.0

10 Aug 16:52
80b1b44
Compare
Choose a tag to compare

What's Changed

Deprecations 🧹 - APIs that may be removed in future releases

  • fix: Restore HSV_SATURATION and HSV_VALUE accessors and deprecate by @cpcallen in #7249

New features ✨

Bug fixes 🐛

  • fix: set flyout visbility on calling setExpanded by @jibranabsarulislam in #7199
  • fix(tests): Make test imports correct and more consistent by @cpcallen in #7260
  • fix: disposing workspace comments. by @johnnesky in #7264
  • fix: add compose and decompose errors to mutator icon by @BeksOmega in #7289
  • fix(generators): Changes to exports and access controls for TypeScript compatibility by @cpcallen in #7295
  • fix: Correct errors in HSV_SATURATION, HSV_VALUE accessors by @cpcallen in #7297
  • fix: have icons use the new render management system by @BeksOmega in #7296
  • fix: make deserialization use the new render management system by @BeksOmega in #7306
  • fix: make insertion markers use new render management system by @BeksOmega in #7307
  • fix: remove old render method by @BeksOmega in #7308
  • fix(blocks): boolean variable block wrong shape for zelos by @zfangqijun in #7335
  • fix(build): support running Blocky locally on Windows machines by @abdul-alhasany in #7281
  • fix: removed X & Y from toolbox.ts and replaced movBy to moveTo by @varshneydevansh in #7333
  • fix: deprecate render functions by @BeksOmega in #7359
  • fix: connect animation persisting by @BeksOmega in #7365

New Contributors

Full Changelog: blockly-v10.0.1...blockly-v10.1.0

blockly-v10.0.2

17 Jul 20:35
e06aa02
Compare
Choose a tag to compare

What's Changed

Bug fixes 🐛

  • fix(generators): Changes to exports and access controls for TypeScript compatibility by @cpcallen in #7295
  • fix: Correct errors in HSV_SATURATION, HSV_VALUE accessors by @cpcallen in #7297

Full Changelog: blockly-v10.0.1...blockly-v10.0.2

blockly-v10.0.1

10 Jul 15:53
2042334
Compare
Choose a tag to compare

What's Changed

Deprecations 🧹 - APIs that may be removed in future releases

  • fix: Restore HSV_SATURATION and HSV_VALUE accessors and deprecate by @cpcallen in #7249

Full Changelog: blockly-v10.0.0...blockly-v10.0.1

blockly-v10.0.0

28 Jun 19:49
d832085
Compare
Choose a tag to compare

Blockly v10 is here! This quarter we’ve edged closer to 100% TypeScript in the core repo: blocks have been converted and generators are not far behind. We’ve also improved performance in multiple scenarios and added APIs to customize Blockly in new ways.

Here are the highlights for this release:

  • Added ability to use custom Icons. This included some refactoring and breaking changes to the old APIs; read more in the PRs below.
  • Removed the drag surfaces! This greatly improves performance in Chrome. No action needed unless you were doing something special with the drag surfaces (which is rare)
  • Removed the debug renderer, which was previously deprecated and moved to the dev-tools plugin
  • Changes to generators. Most of the changes were backwards compatible, but if you use Blockly through script tags, be aware that we've added new global variables under the names javascript, python, etc. which may conflict with global variables already in your app. Read more in the linked PRs below.
  • Added support for custom inputs
  • Improved rendering performance and added hooks for managing the render lifecycle
  • Improved types for those using TypeScript

What's Changed

Breaking changes 🛠

Deprecations 🧹 - APIs that may be removed in future releases

  • refactor(generators): Introduce JavascriptGenerator class, Order enum by @cpcallen in #7153
  • fix: remove old icon handling code by @BeksOmega in #7141
  • refactor(generators): Introduce DartGenerator class, Order enum by @cpcallen in #7160
  • refactor(generators): Introduce PythonGenerator class, Order enum by @cpcallen in #7163
  • refactor(generators): Introduce PhpGenerator class, Order enum by @cpcallen in #7162
  • refactor(generators): Introduce LuaGenerator class, Order enum by @cpcallen in #7161
  • fix: input exports by @BeksOmega in #7165

New features ✨

Bug fixes 🐛

Cleanup ♻️

  • refactor: Remove some more uses of AnyDuringMigration. by @gonfunko in #6970
  • refactor(blocks): Migrate blocks/lists.js to TypeScript by @cpcallen in #6902
  • refactor(blocks): Migrate blocks/loops.js to TypeScript by @rachel-fenichel in #6957
  • refactor(blocks): Migrate blocks/variables.js and blocks/variables_dynamic.js to TypeScript by @rachel-fenichel in #7001
  • refactor(blocks): Migrate blocks/text.js to TypeScript by @rachel-fenichel in #6958
  • refactor(test...
Read more

v9.3.3

26 Apr 17:27
399bd65
Compare
Choose a tag to compare
  • fix: icons not having their locations updated (#7012)
  • fix: insertion markers firing move events (#7005)
  • fix: offset location of connection ripple (#6973)

v9.3.2

06 Apr 19:16
ec6e951
Compare
Choose a tag to compare

What's Changed

Other changes

  • fix: remove forced rerender from mutator (#6918)
  • fix: disposing during dragging (#6954)

Full Changelog: blockly-v9.3.1...blockly-v9.3.2

v9.3.1

30 Mar 21:13
cf850d5
Compare
Choose a tag to compare

What's Changed

Other changes

Full Changelog: blockly-v9.3.0...blockly-v9.3.1

v9.3.0

29 Mar 18:32
9c9aef1
Compare
Choose a tag to compare

Overview

Greetings, Block Builders! This release brings some exciting new features and important bug fixes.

  • New procedure blocks that enable sharing procedures between workspaces. The new blocks are being published as a plugin, so the old procedure blocks will continue to work as expected. Learn more here and check out the plugin here.
  • The JSON serializer now serializes movable, editable, and deletable properties. If you were previously relying on the serialize-disabled-interactions plugin to do so, see the README for next steps.
  • Performance improvements during rendering and collapsing blocks
  • Fixes problem with dropdowns on mobile devices (if you're on v9.2.0, this is an important fix!)

What's Changed

Deprecating changes 🚧

These are not breaking changes yet, but deprecate something that will be removed in the next major release

  • Blockly.Xml.textToDom has been renamed to Blockly.utils.xml.textToDom in #6818

New features ✨

  • feat: Support for the new shareable procedure blocks plugin
  • feat: Add support for centering on a block itself vs its stack. by @gonfunko in #6810
  • feat: added tests/typescript to test supported TS examples by @btw17 in #6775
  • feat: updated flyout button to set border radius via static variable by @btw17 in #6838
  • feat(build): Run tsc on blocks/ and generators/ by @cpcallen in #6836
  • feat: add basic render queueing by @BeksOmega in #6851
  • feat: make renderer methods public or protected by @maribethb in #6887

Bug fixes 🐛

Cleanup ♻️

  • refactor: Don't use skew_ and translate_ attributes on SVGs to animate blocks. by @gonfunko in #6782
  • refactor: Use the field registry to instantiate fields in block definitions. by @gonfunko in #6811
  • refactor: Use input type=number for field_number.ts by @gonfunko in #6845
  • refactor: Remove more uses of AnyDuringMigration by @gonfunko in #6863
  • docs: Fix a few typos by @timgates42 in #6878
  • refactor(blocks): Migrate blocks/colour.js to TypeScript by @cpcallen in #6901
  • refactor(blocks): Migrate blocks/math.js to TypeScript by @cpcallen in #6900

New Contributors 👋

Full Changelog: blockly-v9.2.1...blockly-v9.3.0

v9.2.1

19 Jan 19:11
4125fd3
Compare
Choose a tag to compare

What's Changed

Bug fixes 🐛

  • fix(deps): Don't use global variables for jsdom injection in scripts/package/node/core.js and core/utils/xml.ts in #6764

Full Changelog: blockly-v9.2.0...blockly-v9.2.1