mirror of
https://github.com/google/blockly.git
synced 2026-05-12 15:10:11 +02:00
31 KiB
31 KiB
Changelog
9.0.0 (2022-10-25)
⚠ BREAKING CHANGES
- v9.0.0
- Update deprecations for the new release. (#6470)
- remove unused functions in style.ts (#6386)
- Removed backwards compatibility for getDeveloperVars(). (#6385)
- remove checks for IE and EdgeHTML in core (#6336)
- allow blocks to receive their own delete events (#6337)
- build: compile to ES2015 instead of ES5 (#6335)
- Move backwards-compatibility hacks to main.js (#6260)
- Remove remaining use of
goog.module.declareLegacyNamespace. (#6254) - properly add the removal of utils.global to the renamings file. (#6204)
- fix or silence type errors (#6105)
Features
- add basic observable implementations of procedure interfaces (#6489) (a7247af)
- add interface definitions for procedure stuff (#6488) (1162a66)
- Add margin around zoomToFit (#6042) (a202558)
- allow blocks to receive their own delete events (#6337) (e9920a5)
- build: Support TypeScript in
core/(#6220) (4070ffc) - creates a new way to add shortcut key mappings (#6122) (adb5ad1)
- make isMutator public (#6316) (8f4b49a)
- return element from menu.render (#6426) (e3fa43d)
- trigger updates to IProcedureBlock blocks (#6570) (c9ced48)
- updates accessors for getMainWorkspace and getSelected (#6313) (fd127f6)
Bug Fixes
//isn't a legal comment in CSS (#6467) (84f6dfe)- add compose and decompose to block (#6102) (619ee66)
- add timeouts to delay expensive mutation operations (#6149) (91b570a)
- adding and removing css classes that contained spaces (#6455) (8530e6d)
- build: Fix sourcemaps (#6352) (e10bf99)
- build: Have prepare task signal async completion (#6356) (079699b)
- bump version to 8.0.2 (5620515)
- Check for empty array in thrasos.RenderInfo.addElemSpacing_ (#6211) (16b5ccd)
- checkin built files (f21b9db)
- component id should be on the prototype (#6104) (172a8ce)
- Connections can be highlighted multiple times (#6502) (581e8ac)
- context menu not working (#6399) (79051a6)
- Deep copy options used by dropdown fields (#6425) (05b221b)
- deprecate functions in object.ts (#6387) (9775b51)
- disposing of a workspace that has overwritten shadows (#6424) (f2e408b)
- Don't warn if field is acually 0 width (#6558) (321f619)
- dragging fails for collapsed blocks with Icons, which have been … (#6081) (f5206d4)
- dragging fails for collapsed blocks with Icons, which have been … (#6081) (5240301)
- feedback on procedure model implementations (#6560) (41db0c5)
- field defaults not being defined correctly (#6453) (eb1b786)
- fix block factory in manual mode (#6533) (a64d6e9)
- Fix blocks with mutators. (#6440) (ab03c65)
- Fix compilation errors under Closure's strict mode (#6073) (edc2a5c)
- Fix errors in TS declarations with blocks and generators (#6200) (d61f4ca)
- fix message loading by removing vestgial dependency (#6219) (c0f81c2)
- fix message loading from script tags (#6060) (44edbb8)
- fix or silence type errors (#6105) (daf78af)
- fix pinch to zoom (#6544) (5cdcd02)
- fix pinch to zoom (#6544) (caf91c8)
- generator type declarations (#6412) (b2fa356)
- improve types in touch code (#6099) (7c7cfbe)
- Increases the speed of deleting blocks (#6128) (71e8356)
- inject function options dictionary has wrong type definition (#6231) (233cce8)
- JSON deserialization fails (bug #6091) (collapsed procedure call… (#6103) (75a071e)
- JSON deserialization fails (bug #6091) (collapsed procedure call… (#6103) (45c36f8)
- json hooks for lists blocks not needing extra state (#6177) (8b69b61)
- json serialize lists_getIndex with json extraState (#6136) (#6170) (0afff23)
- loading messages from script tags. (#6184) (188ba98)
- loading messages from script tags. (#6184) (2a7d6b0)
- Made workspace non-nullable. (#6300) (83a3e74)
- make eventUtils throw if event type not registered (#6381) (60bc01a)
- Make generator types and BlockDefinition less restrictive (#6185) (2ff4f88)
- make getSourceBlock nullable again (#6542) (5f42361)
- make getSourceBlock nullable again (#6542) (df660af)
- Make message files work in unpackaged mode, and rebuild msg files (c3af8de)
- Make message files work in unpackaged mode, and rebuild msg files (4b1bb8c)
- message types being incorrect (#6414) (9c81e75)
- Modifying size update handling for multiline field in parent block. (#6461) (2a2cbb4)
- Move backwards-compatibility hacks to main.js (#6260) (aaafbc2)
- move Theme to use a Partial type for BlockStyle (#6532) (ca3b9bd)
- mutators disconnecting from children instead of moving them (#6047) (493444c)
- options parser should add trailing slash to 'media' if not present. (#6263) (#6264) (bf1a40c)
- packaging .d.ts files (#6327) (c8dd01a)
- parent blocks not bumping neighbours (#6538) (7147813)
- path object not checking theme props (#6451) (893787b)
- provide initial values to reduce functions in generated js (#6178) (706c2bf)
- refactors concrete implementations of the procedure data models (#6575) (fed57f2)
- remove calls to removeClass and hasClass (#6413) (5f11f34)
- remove checks for IE and EdgeHTML in core (#6336) (ffe6d55)
- remove deprecated use of objectUtils from generators (#6499) (224af0a)
- Remove float() coercion in Python loops (#6259) (5612e13)
- remove some IE-specific code in dom and style (#6396) (a785ab8)
- remove unused functions in style.ts (#6386) (856e74d)
- remove unused or obsolete useragent checks (#6355) (aff21b9)
- remove vestigial dependency (#6219) (334956b)
- replace
object.mixinwithObject.assign(#6138) (df41c23) - reuse the 'bumpObjects' module in inject.js (#6121) (df8349c)
- Silence Closure errors when modifying tooltips. (#6098) (29b6b87)
- some AnyDuringMigration (#6430) (c2cbed1)
- stop using
is3dSupported(#6400) (55ea12b) - tests: Fix race condition causing flakiness in PHP generator test (#6213) (d7ab815)
- tests: revert change in marker_svg to keep keyboard nav tests working (#6457) (dd0d0f6)
- theme types (#6423) (abad51f)
- Theme.name does not match registered name (#6186) (#6226) (9797943)
- TS errors on dependent projects with certain tsconfig settings (#6360) (#6361) (e58cf77)
- type error in uneditable bubbles (#6092) (7353c61)
- update a moved function in developer tools so it loads (#6500) (ce3ec78)
- Update deprecations for the new release. (#6470) (d3447ea)
- update extraState property in serializer typedefs (#6057) (55cae6e)
- update package files (b5c4494)
- update prettify url (#6459) (852e48a)
- Update readme and remove travis build badge (e65835c)
- Update typescript definition files for core, blocks, and generators (#6174) (87aa4c0)
- update versions (c137801)
Reverts
Miscellaneous Chores
- build: compile to ES2015 instead of ES5 (#6335) (f032151)
- properly add the removal of utils.global to the renamings file. (#6204) (2f734f7)
Code Refactoring
- Remove remaining use of
goog.module.declareLegacyNamespace. (#6254) (f947b3f) - Removed backwards compatibility for getDeveloperVars(). (#6385) (3bc42c5)
release
- v9.0.0 (55cf92a)
8.0.0 (2022-03-31)
⚠ BREAKING CHANGES
- change paste to return the pasted thing to support keyboard nav (#5996)
- blocks: ...and rename Blockly.blocks.all (blocks/all.js) to Blockly.libraryBlocks (blocks/blocks.js
-
- refactor(blocks): Make loopTypes a Set
- allows previously internal constants to be configurable (#5897)
-
- refactor(blocks): Make loopTypes a Set
- remove unused constants from internalConstants (#5889)
Features
- add mocha failure messages to console output (#5984) (7d250fa)
- Allow developers to set a custom tooltip rendering function. (#5956) (6841ccc)
- blocks: Export block definitions (#5908) (ffb8907)
- make mocha fail if it encounters 0 tests (#5981) (0b2bf3a)
- tests: Add a test to validate
scripts/migration/renamings.js(#5980) (3c723f0) - tests: Use official semver.org RegExp (#5990) (afc4088)
Bug Fixes
- Adds check for changedTouches (#5869) (3f4f505)
- advanced playground and playground to work when hosted (#6021) (364bf14)
- always rename caller to legal name (#6014) (c430800)
- blocks: correct the callType_ of procedures_defreturn (#5974) (b34db5b)
- build: Correctly handle deep export paths in UMD wrapper (#5945) (71ab146)
- bumping a block after duplicate breaking undo (#5844) (5204569)
- change getCandidate_ and showInsertionMarker_ to be more dynamic (#5722) (68d8113)
- change paste to return the pasted thing to support keyboard nav (#5996) (20f1475)
- Change the truthy tests of width and height in WorkspaceSvg.setCachedParentSvgSize to actual comparisons with null so that zero value can be saved into the cache (#5997) (fec44d9)
- comments not being restored when dragging (#6011) (85ce3b8)
- convert the common renderer to an ES6 class (#5978) (c1004be)
- convert the Workspace class to an ES6 class (#5977) (e2eaebe)
- custom block context menus (#5976) (8058df2)
- Don't throw if drag surface is empty. (#5695) (769a25f)
- export Blockly.Names.NameType and Blockly.Input.Align correctly (#6030) (2c15d00)
- Export loopTypes from Blockly.blocks.loops (#5900) (4f74210)
- Export loopTypes from Blockly.blocks.loops (#5900) (74ef1cb)
- Fix bug where workspace comments could not be created. (#6024) (2cf8eb8)
- Fix downloading screenshots on the playground. (#6025) (ca6e590)
- fix keycodes type (#5805) (0a96543)
- Fixed the label closure on demo/blockfactory (#5833) (e8ea2e9)
- generators: Fix an operator precedence issue in the math_number_property generators to remove extra parentheses (#5685) (a31003f)
- incorrect module for event data in renamings database (#6012) (e502eaa)
- Move @alias onto classes instead of constructors (#6003) (1647a32)
- move test helpers from samples into core (#5969) (2edd228)
- move the dropdown div to a namespace instead of a class with only static properties (#5979) (543cb8e)
- msg imports in type definitions (#5858) (07a75de)
- opening/closing the mutators (#6000) (243fc52)
- playground access to Blockly (9e1cda8)
- playground test blocks, text area listeners, and show/hide buttons (#6015) (7abf3de)
- procedure param edits breaking undo (#5845) (8a71f87)
- re-expose HSV_VALUE and HSV_SATURATION as settable properties on Blockly (#5821) (0e5f3ce)
- re-expose HSV_VALUE and HSV_SATURATION as settable properties on Blockly (#5821) (6fc3316)
- revert "Delete events should animate when played (#5919)" (#6031) (c4a25eb)
- revert converting test helpers to es modules (#5982) (01d4597)
- setting null for a font style on a theme (#5831) (835fb02)
- tests: Enable --debug for test:compile:advanced; fix some errors (#5959) (88334be)
- tests: Enable
--debugfortest:compile:advanced; fix some errors (and demote the rest to warnings) (#5983) (e11b583) - TypeScript exporting of the serialization functions (#5890) (5d7c890)
- undo/redo for auto disabling if-return blocks (#6018) (c7a359a)
- update the playground to load compressed when hosted (#5835) (2adf326)
- Update typings for q1 2022 release (#6051) (69f3d4a)
- Use correct namespace for svgMath functions (#5813) (b8cc983)
- Use correct namespace for svgMath functions (#5813) (025bab6)