[go: nahoru, domu]

Skip to content

Releases: google/blockly

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

v9.2.0

15 Dec 18:43
b9e3626
Compare
Choose a tag to compare

What's Changed

New features ✨

Bug fixes 🐛

  • fix(renamings): Small correction to renaming of Blockly.utils.global by @cpcallen in #6599
  • fix: Rename Mutator#workspace back to workspace_ for compatibility with library blocks by @rachel-fenichel in #6634
  • fix: Add redirects to old demos. by @NeilFraser in #6657
  • fix: Fix the compiler test, and check if it worked. by @NeilFraser in #6638
  • fix(deps): update json schema validation by @BeksOmega in #6637
  • fix(appengine): Restore build products to previous location by @cpcallen in #6687
  • fix: set default field to any and fix validator function return type by @btw17 in #6690
  • fix: don't reopen dropdownDiv if it was already open by @maribethb in #6688
  • fix: Don't spellcheck number fields. by @NeilFraser in #6698
  • fix(tests): Fix bootstrapping of generators in compressed mode by @cpcallen in #6703
  • fix: not being able to set field values to empty by @BeksOmega in #6702

Cleanup ♻️

Other changes

New Contributors

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

v9.1.1

21 Nov 19:04
3d5f53e
Compare
Choose a tag to compare

What's Changed

Bug fixes

  • fix: Rename Mutator#workspace back to workspace_ for compatibility with library blocks (#6634)

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