blockly @ blockly-v9.3.0
integrity
- size
- 2.4 MiB
- downloaded
- last checked
- detected
- raw version: universal archives only
release notes
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.textToDomhas been renamed toBlockly.utils.xml.textToDomin #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 https://github.com/google/blockly/pull/6810
- feat: added
tests/typescriptto test supported TS examples by @btw17 in https://github.com/google/blockly/pull/6775 - feat: updated flyout button to set border radius via static variable by @btw17 in https://github.com/google/blockly/pull/6838
- feat(build): Run
tsconblocks/andgenerators/by @cpcallen in https://github.com/google/blockly/pull/6836 - feat: add basic render queueing by @BeksOmega in https://github.com/google/blockly/pull/6851
- feat: make renderer methods public or protected by @maribethb in https://github.com/google/blockly/pull/6887
Bug fixes 🐛
- fix: undoing and redoing parameter events by @BeksOmega in https://github.com/google/blockly/pull/6721
- fix: undoing and redoing deleting procedures by @BeksOmega in https://github.com/google/blockly/pull/6722
- fix: change assertFieldValue in test helpers to use deepEqual by @Samridhi-98 in https://github.com/google/blockly/pull/6739
- fix: correct docs for flyout metrics by @maribethb in https://github.com/google/blockly/pull/6751
- fix: replace 'AnyDuringMigration' for
core/field.tsvalue functions by @btw17 in https://github.com/google/blockly/pull/6639 - fix: export Abstract event class directly by @maribethb in https://github.com/google/blockly/pull/6752
- fix: undoing pasting procedure callers that create defs by @BeksOmega in https://github.com/google/blockly/pull/6750
- fix: proc json serialization by @BeksOmega in https://github.com/google/blockly/pull/6746
- fix: CI exits properly after failure by @maribethb in https://github.com/google/blockly/pull/6763
- fix: copying and pasting procedure definitions by @BeksOmega in https://github.com/google/blockly/pull/6747
- fix(deps): Don't use global variables for jsdom injection in
scripts/package/node/core.jsandcore/utils/xml.tsby @cpcallen in https://github.com/google/blockly/pull/6764 - fix(tests): Have
npm startrun a full build by @cpcallen in https://github.com/google/blockly/pull/6770 - fix: Increase generator test timeout by @maribethb in https://github.com/google/blockly/pull/6776
- fix: Make metadata tests more resilient. by @gonfunko in https://github.com/google/blockly/pull/6771
- fix(build): Fix event tests, improve
buildDepsby @cpcallen in https://github.com/google/blockly/pull/6773 - fix: don't splice into unmovable stacks by @maribethb in https://github.com/google/blockly/pull/6800
- fix(tests): Use
build/msg/en.jsinstead ofmsg/messages.jsby @cpcallen in https://github.com/google/blockly/pull/6825 - fix: Fire deletion events when clearing variables. by @NeilFraser in https://github.com/google/blockly/pull/6827
- fix: move deprecation warning to correct fromJson by @NeilFraser in https://github.com/google/blockly/pull/6831
- fix: serializing disabled interactions by @BeksOmega in https://github.com/google/blockly/pull/6847
- fix: variable events not deserializing properly by @BeksOmega in https://github.com/google/blockly/pull/6832
- fix: updating connections in the db multiple times by @BeksOmega in https://github.com/google/blockly/pull/6859
- fix: Don't repeatedly recreate the last marker block during a drag. by @gonfunko in https://github.com/google/blockly/pull/6875
- fix: export Field-related types from Blockly by @btw17 in https://github.com/google/blockly/pull/6877
- fix: improve collapse / uncollapse performance by @BeksOmega in https://github.com/google/blockly/pull/6860
- fix: creating duplicate params via renaming vars by @BeksOmega in https://github.com/google/blockly/pull/6885
- fix: improve performance of modifying block shape by @BeksOmega in https://github.com/google/blockly/pull/6884
- fix: empty procedure arrays in serialization by @BeksOmega in https://github.com/google/blockly/pull/6872
- fix: toString performance by @BeksOmega in https://github.com/google/blockly/pull/6896
- fix: improve performance of connecting blocks by @BeksOmega in https://github.com/google/blockly/pull/6876
- fix: dispose performance by @BeksOmega in https://github.com/google/blockly/pull/6894
- fix: Don't clobber event group when renaming vars by @NeilFraser in https://github.com/google/blockly/pull/6829
- fix: Fix scrolling of menus on mobile. by @gonfunko in https://github.com/google/blockly/pull/6911
- fix: scrolling dropdown items into view by @BeksOmega in https://github.com/google/blockly/pull/6912
- fix: flyouts resizing for blocks by @BeksOmega in https://github.com/google/blockly/pull/6914
- fix: overwriting flyout def with dynamic categories by @BeksOmega in https://github.com/google/blockly/pull/6913
- fix(fields): Make
Field.SKIP_SETUPaSymbol; removeclass Sentinelby @cpcallen in https://github.com/google/blockly/pull/6919 - fix: connection locations not updating by @BeksOmega in https://github.com/google/blockly/pull/6921
- fix: Make Escape cancel changes in text fields. by @gonfunko in https://github.com/google/blockly/pull/6923
- fix: mutator not resizing for flyout by @BeksOmega in https://github.com/google/blockly/pull/6917
Cleanup ♻️
- refactor: Don't use skew_ and translate_ attributes on SVGs to animate blocks. by @gonfunko in https://github.com/google/blockly/pull/6782
- refactor: Use the field registry to instantiate fields in block definitions. by @gonfunko in https://github.com/google/blockly/pull/6811
- refactor: Use input type=number for field_number.ts by @gonfunko in https://github.com/google/blockly/pull/6845
- refactor: Remove more uses of AnyDuringMigration by @gonfunko in https://github.com/google/blockly/pull/6863
- docs: Fix a few typos by @timgates42 in https://github.com/google/blockly/pull/6878
- refactor(blocks): Migrate
blocks/colour.jsto TypeScript by @cpcallen in https://github.com/google/blockly/pull/6901 - refactor(blocks): Migrate
blocks/math.jsto TypeScript by @cpcallen in https://github.com/google/blockly/pull/6900
New Contributors 👋
- @Samridhi-98 made their first contribution in https://github.com/google/blockly/pull/6739
Full Changelog: https://github.com/google/blockly/compare/blockly-v9.2.1...blockly-v9.3.0
download
unix · zip
curl -fL -o blockly-v9.3.0.zip https://ratatoskr.space/pkg/blockly/blockly-v9.3.0.zip
printf '%s %s\n' '343f9e1fc9396e27908b6c9cfd9ed5e47c12066d7db4b618f15d43014887f982' 'blockly-v9.3.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/blockly/blockly-v9.3.0.zip"
$out = "blockly-v9.3.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "343f9e1fc9396e27908b6c9cfd9ed5e47c12066d7db4b618f15d43014887f982") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o blockly-v9.3.0.tar.gz https://ratatoskr.space/pkg/blockly/blockly-v9.3.0.tar.gz
printf '%s %s\n' '5ac1b90b93ae5beec56cccb7f5d176d64b81db618609bec6f408f4b666f0788e' 'blockly-v9.3.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/blockly/blockly-v9.3.0.tar.gz"
$out = "blockly-v9.3.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "5ac1b90b93ae5beec56cccb7f5d176d64b81db618609bec6f408f4b666f0788e") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o blockly-v9.3.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/blockly/blockly-v9.3.0.zip
printf '%s %s\n' '343f9e1fc9396e27908b6c9cfd9ed5e47c12066d7db4b618f15d43014887f982' 'blockly-v9.3.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/blockly/blockly-v9.3.0.zip"
$out = "blockly-v9.3.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "343f9e1fc9396e27908b6c9cfd9ed5e47c12066d7db4b618f15d43014887f982") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o blockly-v9.3.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/blockly/blockly-v9.3.0.tar.gz
printf '%s %s\n' '5ac1b90b93ae5beec56cccb7f5d176d64b81db618609bec6f408f4b666f0788e' 'blockly-v9.3.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/blockly/blockly-v9.3.0.tar.gz"
$out = "blockly-v9.3.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "5ac1b90b93ae5beec56cccb7f5d176d64b81db618609bec6f408f4b666f0788e") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| blockly-v9.3.0.zip | zip | 2.4 MiB |
blake3-24 8a62d212f864e73353ad0d98198cea6053b96f259318d599
sha256 343f9e1fc9396e27908b6c9cfd9ed5e47c12066d7db4b618f15d43014887f982
sha1 3c0b815aa702ee9e38d82b0f6cdb7a8b566a2284
|
| blockly-v9.3.0.tar.gz | tar.gz | 1.8 MiB |
blake3-24 98a0631a09ccfac23d04185cc2cb79101f43eacf01ccb8fc
sha256 5ac1b90b93ae5beec56cccb7f5d176d64b81db618609bec6f408f4b666f0788e
sha1 675da8da001a84457db50700cb2854274d3d9ffa
|
install
bazel
http_archive(
name = "blockly",
urls = ["https://ratatoskr.space/pkg/blockly/blockly-v9.3.0.tar.gz"],
integrity = "sha256-WsG5C5OuW+7FbMy39dF21kuB22GGCb7G9Aj0tmbweI4=",
strip_prefix = "blockly-blockly-v9.3.0",
)
zig
.url = "https://ratatoskr.space/pkg/blockly/blockly-v9.3.0.tar.gz",
install via yggdrasil mesh
bazel
http_archive(
name = "blockly",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/blockly/blockly-v9.3.0.tar.gz"],
integrity = "sha256-WsG5C5OuW+7FbMy39dF21kuB22GGCb7G9Aj0tmbweI4=",
strip_prefix = "blockly-blockly-v9.3.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/blockly/blockly-v9.3.0.tar.gz",