The web-based visual programming editor.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by ericblackmonGoogle about 1 year ago
HSV_SATURATION
and HSV_VALUE
accessors and deprecate by @cpcallen in https://github.com/google/blockly/pull/7249
initView
and initModel
more accessible by @maribethb in https://github.com/google/blockly/pull/7345
import
s correct and more consistent by @cpcallen in https://github.com/google/blockly/pull/7260
HSV_SATURATION
, HSV_VALUE
accessors by @cpcallen in https://github.com/google/blockly/pull/7297
render
method by @BeksOmega in https://github.com/google/blockly/pull/7308
Full Changelog: https://github.com/google/blockly/compare/blockly-v10.0.1...blockly-v10.1.0
Published by ericblackmonGoogle over 1 year ago
HSV_SATURATION
, HSV_VALUE
accessors by @cpcallen in https://github.com/google/blockly/pull/7297
Full Changelog: https://github.com/google/blockly/compare/blockly-v10.0.1...blockly-v10.0.2
Published by ericblackmonGoogle over 1 year ago
HSV_SATURATION
and HSV_VALUE
accessors and deprecate by @cpcallen in https://github.com/google/blockly/pull/7249
Full Changelog: https://github.com/google/blockly/compare/blockly-v10.0.0...blockly-v10.0.1
Published by maribethb over 1 year ago
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:
javascript
, python
, etc. which may conflict with global variables already in your app. Read more in the linked PRs below.CodeGenerator
per-block-type generator function dictionary by @cpcallen in https://github.com/google/blockly/pull/7150
this
CodeGenerator
to individual generator functions by @cpcallen in https://github.com/google/blockly/pull/7168
JavascriptGenerator
class, Order
enum by @cpcallen in https://github.com/google/blockly/pull/7153
DartGenerator
class, Order
enum by @cpcallen in https://github.com/google/blockly/pull/7160
PythonGenerator
class, Order
enum by @cpcallen in https://github.com/google/blockly/pull/7163
PhpGenerator
class, Order
enum by @cpcallen in https://github.com/google/blockly/pull/7162
LuaGenerator
class, Order
enum by @cpcallen in https://github.com/google/blockly/pull/7161
@private
methods @internal
by @cpcallen in https://github.com/google/blockly/pull/7194
blocks/lists.js
to TypeScript by @cpcallen in https://github.com/google/blockly/pull/6902
blocks/loops.js
to TypeScript by @rachel-fenichel in https://github.com/google/blockly/pull/6957
blocks/variables.js
and blocks/variables_dynamic.js
to TypeScript by @rachel-fenichel in https://github.com/google/blockly/pull/7001
blocks/text.js
to TypeScript by @rachel-fenichel in https://github.com/google/blockly/pull/6958
bootstrap.js
to better support generator chunks by @cpcallen in https://github.com/google/blockly/pull/7171
blocks/logic.js
to TypeScript by @cpcallen in https://github.com/google/blockly/pull/7003
blocks/procedures.js
to TypeScript by @cpcallen in https://github.com/google/blockly/pull/7192
blocks/blocks.js
to TypeScript by @cpcallen in https://github.com/google/blockly/pull/7193
goog.require
to import
by @cpcallen in https://github.com/google/blockly/pull/7196
Full Changelog: https://github.com/google/blockly/compare/blockly-v9.3.3...blockly-v10.0.0
Published by BeksOmega over 1 year ago
Published by BeksOmega over 1 year ago
Full Changelog: https://github.com/google/blockly/compare/blockly-v9.3.1...blockly-v9.3.2
Published by BeksOmega over 1 year ago
Full Changelog: https://github.com/google/blockly/compare/blockly-v9.3.0...blockly-v9.3.1
Published by maribethb over 1 year ago
Greetings, Block Builders! This release brings some exciting new features and important bug fixes.
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 #6818tests/typescript
to test supported TS examples by @btw17 in https://github.com/google/blockly/pull/6775
tsc
on blocks/
and generators/
by @cpcallen in https://github.com/google/blockly/pull/6836
core/field.ts
value functions by @btw17 in https://github.com/google/blockly/pull/6639
scripts/package/node/core.js
and core/utils/xml.ts
by @cpcallen in https://github.com/google/blockly/pull/6764
npm start
run a full build by @cpcallen in https://github.com/google/blockly/pull/6770
buildDeps
by @cpcallen in https://github.com/google/blockly/pull/6773
build/msg/en.js
instead of msg/messages.js
by @cpcallen in https://github.com/google/blockly/pull/6825
Field.SKIP_SETUP
a Symbol
; remove class Sentinel
by @cpcallen in https://github.com/google/blockly/pull/6919
blocks/colour.js
to TypeScript by @cpcallen in https://github.com/google/blockly/pull/6901
blocks/math.js
to TypeScript by @cpcallen in https://github.com/google/blockly/pull/6900
Full Changelog: https://github.com/google/blockly/compare/blockly-v9.2.1...blockly-v9.3.0
Published by gonfunko over 1 year ago
Full Changelog: https://github.com/google/blockly/compare/blockly-v9.2.0...blockly-v9.2.1
Published by cpcallen almost 2 years ago
test_tasks.js
by @cpcallen in https://github.com/google/blockly/pull/6615
getWorkspace
, getFlyout
, and getToolbox
public by @NeilFraser in https://github.com/google/blockly/pull/6666
Blockly.utils.global
by @cpcallen in https://github.com/google/blockly/pull/6599
Mutator#workspace
back to workspace_
for compatibility with library blocks by @rachel-fenichel in https://github.com/google/blockly/pull/6634
Full Changelog: https://github.com/google/blockly/compare/blockly-v9.1.1...blockly-v9.2.0
Published by maribethb almost 2 years ago
Mutator#workspace
back to workspace_
for compatibility with library blocks (#6634)Full Changelog: https://github.com/google/blockly/compare/blockly-v9.1.0...blockly-v9.1.1
Published by cpcallen almost 2 years ago
//
isn't a legal comment in CSS by @NeilFraser in https://github.com/google/blockly/pull/6467
core/field_dropdown.ts
by @btw17 in https://github.com/google/blockly/pull/6550
Full Changelog: https://github.com/google/blockly/compare/blockly-v9.0.1...blockly-v9.1.0
Published by cpcallen almost 2 years ago
Full Changelog: https://github.com/google/blockly/compare/blockly-v9.0.0...blockly-v9.0.1
Published by maribethb about 2 years ago
To help deal with breaking changes from this release:
npx @blockly/migrate rename --from <your version> <./path/to/my/files*>
npx @blockly/migrate fix-imports --from <your version> <./path/to/my/files*>
These commands will automatically modify your files so that they are compatible with version 9. The first command will automatically rename properties that have been renamed. And the second command will add/fix imports for blocks/generators that have been moved.
Some problems may still exist after running the migration scripts, but the majority of them should be fixed!
Most are removing deprecated, unused, or outdated APIs. Each of the PRs listed below has information about what to do if you are affected by the change.
goog.module.declareLegacyNamespace
. (#6254)These are changes which deprecate an API but do not remove it. APIs in this category will be removed at a future time. Each of the following PRs should provide guidance on an alternative.
is3dSupported
(#6400)core/
(#6220) (4070ffc)object.mixin
with Object.assign
(#6138) (df41c23)is3dSupported
(#6400) (55ea12b)goog.module.declareLegacyNamespace
. (#6254) (f947b3f)Full Changelog: https://github.com/google/blockly/compare/blockly-v8.0.5...blockly-v9.0.0
Published by maribethb about 2 years ago
This patch fixes additional message loading problems. Message loading now works as expected in these scenarios:
Included in this release:
Published by maribethb about 2 years ago
This patch fixes some problems related to message loading. Previously, when loading message files from script tags, translations appeared broken. If using a module loader, things worked correctly. Now, both cases should work correctly.
In this patch: https://github.com/google/blockly/pull/6289
Fixes: https://github.com/google/blockly/issues/6123
Note: This does not fix all of the issues reported in https://github.com/google/blockly/issues/4369 (namely, issues related to lazy loading or code splitting) but it may address some of the issues reported there that overlapped with #6123.
Published by maribethb over 2 years ago
This patch releases fixes certain errors with TypeScript declaration files. In v8.0.0-8.0.2, you might have seen a TypeScript error such as: node_modules/blockly/blocks.d.ts:14:26 - error TS2497: This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
This was due to an error in our declaration files. After this patch, this error should be resolved. You may still have TypeScript type errors even after this patch, as our declarations don't exactly match reality; in such cases you will have to silence the compiler or cast the problematic types to any
.
Full Changelog: https://github.com/google/blockly/compare/blockly-v8.0.2...blockly-v8.0.3
Published by BeksOmega over 2 years ago
The v8.0.1 patch to NPM did not have the correct files. So we must create a new patch to fix this.
This contains all of the same code as v8.0.1, it just bumps the version number.
Published by BeksOmega over 2 years ago
Published by BeksOmega over 2 years ago