[These notes were drafted on 23 September 2023 and v10.2.0 was published on 28 September 2023, but due to an oversight these release notes were not published at that time.]
What's Changed
This was a minor release!
Deprecations ๐งน - APIs that may be removed in future releases
- feat: make ICopyable generic and update clipboard APIs by @BeksOmega in #7348
- deprecate: workspace paste by @BeksOmega in #7356
New features โจ
- feat: add basic pasters by @BeksOmega in #7331
- feat: Export shape interfaces from ConstantProvider by @varshneydevansh in #7373
- feat: merge copy paste work into develop by @BeksOmega in #7379
- feat: Parse newlines in JSON message as row separators. by @johnnesky in #6944
- feat: add doFullSerialization support to blocks by @BeksOmega in #7363
- feat: add accessor for the workspace svg group by @BeksOmega in #7394
- feat: add custom context menu rendering by @BeksOmega in #7409
- feat: make generator quoting methods public by @BeksOmega in #7392
- feat: make ordered argument optional for workspace functions by @randrei12 in #7424
- feat: add getVariableName and getProcedureName to CodeGenerator by @maribethb in #7445
Bug fixes ๐
- fix: refactor CopyData interface to have the correct structure by @BeksOmega in #7344
- fix: bumping copied objects by @BeksOmega in #7349
- fix: remove specific warning text by @maribethb in #7376
- fix: insertion marker's next blocks are real blocks by @HollowMan6 in #7384
- fix(build): Fix import of parent chunk's shim by @cpcallen in #7398
- fix(tests): wait for the workspace to render before starting test actions by @rachel-fenichel in #7399
- fix: block change serialization by @BeksOmega in #7400
- fix: saveConnections listener not being disposed by @BeksOmega in #7407
- fix: Always draw dragged blocks atop others in the workspace. by @gonfunko in #6874
- fix: do not create extra shadow blocks when mirroring events by @maribethb in #7427
- fix: dragging blocks within a zoomed mutator by @BeksOmega in #7423
- fix: Prevent raw content being served from storage. by @NeilFraser in #7443
- fix: connection highlight not disposed when block deleted by @BeksOmega in #7454
- fix: doFullSerialization for insertion markers by @BeksOmega in #7467
- fix: insertion marker position when connection is resized (#7426) by @clementcontet in #7482
- fix(tests): contextMenuSelect sometimes clicks the wrong block by @rachel-fenichel in #7485
- fix: zelos full block fields rendering badly by @BeksOmega in #7490
- fix: minor issues in browser tests by @rachel-fenichel in #7493
- fix: immediately render for JavaFX by @BeksOmega in #7502
- fix: bad JSON state leaving events disabled by @BeksOmega in #7501
- fix: Call onFinishEditing_ for fields on mobile. by @laurensvalk in #7483
- fix: loading tooltips before messages by @BeksOmega in #7504
- fix: incorrect blockchange firing by @devbysn in #7492
Cleanup โป๏ธ
- refactor(tests): Introduce loading shims, use in playgrounds by @cpcallen in #7380
- refactor(tests): Use
import
instead ofgoog.bootstrap
to load Blockly in mocha tests by @cpcallen in #7406 - refactor(tests): Migrate generator tests to
import
shims; deletebootstrap.js
by @cpcallen in #7414 - refactor(build): Delete Closure Library by @cpcallen in #7415
- refactor(build): Remove
closure-make-deps
andclosure-calculate-chunks
by @cpcallen in #7473
Other changes
- Revert "fix: removed X & Y from toolbox.ts and replaced movBy to moveTo" by @BeksOmega in #7375
- Revert "fix: insertion marker's next blocks are real blocks" by @rachel-fenichel in #7429
- Revert "feat: Insertion marker json deserialization 7316" by @rachel-fenichel in #7430
- release: v10.2.0 by @rachel-fenichel in #7542
New Contributors
- @HollowMan6 made their first contribution in #7384
- @randrei12 made their first contribution in #7424
- @clementcontet made their first contribution in #7482
- @laurensvalk made their first contribution in #7483
- @devbysn made their first contribution in #7492
Full Changelog: blockly-v10.1.3...blockly-v10.2.0