jackson
jackson copied to clipboard
Bump blockly from 10.4.3 to 11.0.0
trafficstars
Bumps blockly from 10.4.3 to 11.0.0.
Release notes
Sourced from blockly's releases.
blockly-v11.0.0
Blockly v11 is here and it includes many new features and bug fixes!
For the full list of breaking changes, see the release notes below. You can click on each PR to learn why it's a breaking change, how to tell if you will be affected by it, and what to do if you are. There are a few major changes to be aware of:
- The colour, multiline input, and angle fields and their associated blocks have been removed from core. They are now available as plugins. If you use these blocks or fields, follow the instructions in the plugin READMEs to install them.
- If you install Blockly through npm, we now provide an
exportsclause to explicitly declare what you can import from our package.
- Your build tooling may now throw an error if you deep import from our package such as
import 'blockly/core/some/file/name.js', which has never been supported by Blockly but may have been made possible by your build tools.- We now provide Blockly as an esmodule if you use Blockly through
importstatements in JS.
import Blockly from 'blockly/core'has never been supported by Blockly, but your build tool may have "helpfully" made this work previously. Due to this change, your build tooling may no longer behave that way.- You should
import * as Blockly from 'blockly/core'instead, as described in our documentation.- Note that
<script type="module">in HTML files is not yet a supported method to load Blockly.- Calling
statementToCodeorvalueToCodeon inputs that don't exist will now throw an error instead of returning an empty string.
- This will make it easier to spot errors due to incorrect input names in block-code generator functions, but may expose previously silent issues with existing code.
This release also comes with many new features and bug fixes! A few notable ones include:
- Custom workspace comment behavior and appearance
- Custom draggable behavior
- More consistent undo/redo behavior for disabled blocks
- Keyboard navigation of flyout buttons
- More accurate Generator type definitions
What's Changed
Breaking changes đź›
- fix!: have Lua generators use 'nil' instead of 'None' by
@​BeksOmegain google/blockly#7837- fix!: have disposing be true from start of dispose by
@​BeksOmegain google/blockly#7891- feat!: delete angle, colour, and multiline input fields and blocks by
@​rachel-fenichelin google/blockly#7932- fix!: classes on text input bubble to match comment view by
@​BeksOmegain google/blockly#7935- feat(build)!: Introduce
exportssection inpackage.jsonby@​cpcallenin google/blockly#7822- fix!: remove couldConnect parameter from wouldDelete by
@​BeksOmegain google/blockly#7968- feat!: Throw errors on missing inputs by
@​NeilFraserin google/blockly#7969- feat!: migrate bubble dragging to use new dragging API by
@​BeksOmegain google/blockly#7974- fix!: various drag-adjacent interfaces by
@​BeksOmegain google/blockly#7975- feat!: change gestures to look at selected when dragging by
@​BeksOmegain google/blockly#7991- feat!: Add context menu options for workspace comments by
@​BeksOmegain google/blockly#8035- feat!: Invalid Blocks by
@​johnneskyin google/blockly#7958- fix!: Only fire intermediate events when editing input with invalid text. by
@​johnneskyin google/blockly#8054- fix!: add getContents to IFlyout by
@​maribethbin google/blockly#8064- feat(build)!: Introduce ESM entrypoints by
@​cpcallenin google/blockly#8091New features ✨
- feat: add comment view (for workspace comments, and block comments for partners) by
@​BeksOmegain google/blockly#7914- feat: allow overriding comment icons by
@​BeksOmegain google/blockly#7937- feat: add headless workspace comment class by
@​BeksOmegain google/blockly#7916- feat: rendered workspace comment by
@​BeksOmegain google/blockly#7918- feat: have RenderedWorkspaceComment implement IBoundedElement and IRenderedElement by
@​BeksOmegain google/blockly#7919- feat: add JSON serialization for workspace comments by
@​BeksOmegain google/blockly#7927- feat(dragging): Create (new)
IDraggerandIDraggableinterfaces by@​cpcallenin google/blockly#7953- feat(dragging): Introduce
Dragger, implementingIDraggerby@​cpcallenin google/blockly#7956
... (truncated)
Commits
9519333release: v11.0.02f15621release: Update version number to 11.0.044e0ba8release: Merge branch 'develop' into rc/v11.0.03ac2fb9chore: update metadata for v11 release (#8163)b4414c3chore: rollup of updates from TranslateWiki (#8162)28de9effix: paste in a better spot (#8123)fcdb8fcfix: Normalize CSS between comment types (#8161)7c4b0bdfix: delete area animation (#8149)139b4b9fix: creating comments in RTL (#8153)70ca676fix: Properly size comments. (#8158)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)