Skip to content

Commit

Permalink
release!: changes for v10.2.0 (#1989)
Browse files Browse the repository at this point in the history
* fix: upgrade keyboard navigation to use new clipboard API (#1844)

* fix: upgrade keyboard navigation to use new clipboard API

* chore: reorganize test suites

* chore: fixup delete tests

* chore: work on fixing copy tests

* chore: finish fixing up copy tests

* chore: fix cut and paste tests

* chore: delete paste suite

* chore: delete unnecessary test helpers

* chore: fixup other tests

* chore: document why we're stubbing cancelAnimationFrame and add it to teardown

* fix: upgrade cross tab copy paste to use new clipboard API (#1845)

* fix: upgrade cross tab copy paste to use new clipboard API

* chore: update to beta

* fix: upgrade shareable procedures for new clipboard API (#1863)

* chore: fix tests

* fix: upgrade the shareable procedure blocks to use the new clipboard system

* chore: update blockly version

* chore: fix lint

* fix: serialization of dynamic if blocks (#1880)

* fix: normalize inputs

* fix: work on fixing serialization

* chore: remove inputCounts

* chore: fix tests

* fix: infinite loop

* fix: serialization of dynamic list blocks (#1885)

* fix: normalize inputs

* fix: serialization

* chore: remove inputCounter

* fix: normalize connections from load

* chore: switch tests to regexp

* chore: refactor tests

* fix: rebuilding behavior

* chore: revert changes to playground

* chore: format

* fix: fully tear down dynamic block before rebuilding (#1886)

* fix: dynamic text serialization (#1887)

* fix: normalize inputs

* fix: serialization

* chore: remove inputCounter

* fix: normalize connections from load

* chore: switch tests to regexp

* chore: refactor tests

* feat: dynamic json serialization (#1888)

* feat: add json serialization for text and list dynamic blocks

* chore: use helpers to append inputs

* chore: add json serialization to if blocks

* fix: support loading stringified XML from JSOn

* fix: dynamic connection plugin readme (#1919)

* chore: update readme and remove warning

* chore: add backticks

* deprecate: edit row separator readme to deprecate it (#1920)

* chore: edit row separator readme to deprecate it.

* Mark deprecated package private to stop publishing

* fix: unnamed callers for shareable procedures (#1983)

* fix: rendering dynamic connections (#1984)

* fix: migrating json for dynamic connections (#1985)

* chore: get tests to fail

* fix: round tripping old json to new json

* chore: fixup fixes

* chore: give up on getting tests to fail properly

* fix: fixup keyboard nav to remove blockly version check (#1991)

* fix: fixup keyboard nav to remove check

* chore: update beta version

* fix: bump blockly to v10.2.0

---------

Co-authored-by: John Nesky <[email protected]>
  • Loading branch information
BeksOmega and johnnesky authored Sep 28, 2023
1 parent 6de1e14 commit 4d81ea7
Show file tree
Hide file tree
Showing 26 changed files with 2,215 additions and 868 deletions.
19 changes: 8 additions & 11 deletions plugins/block-dynamic-connection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,14 @@ import * as BlockDynamicConnection from '@blockly/block-dynamic-connection';
## API
- `overrideOldBlockDefinitions`: Replaces the Blockly default blocks with the
dynamic connection blocks. This enables projects to use the dynamic block
plugin without changing existing XML.
Note that if you enable this, you will **never** be able to switch back to
non-dynamic connections, because this changes the way mutations are
serialized.

## XML
```xml
<block type="dynamic_text_join"></block>
<block type="dynamic_list_create"></block>
<block type="dynamic_if"></block>
```
plugin without changing existing XML/JSON.


## Blocks

* `dynamic_text_join` replaces `text_join`
* `dynamic_list_create` replaces `lists_create_with`
* `dynamic_if` replaces `controls_if`

## License
Apache 2.0
174 changes: 86 additions & 88 deletions plugins/block-dynamic-connection/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions plugins/block-dynamic-connection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
"devDependencies": {
"@blockly/dev-scripts": "^2.0.1",
"@blockly/dev-tools": "^7.1.0",
"blockly": "^10.0.0",
"blockly": "^10.2.0",
"chai": "^4.2.0",
"mocha": "^10.2.0"
},
"peerDependencies": {
"blockly": "^10.0.0"
"blockly": "^10.2.0"
},
"publishConfig": {
"access": "public",
Expand Down
Loading

0 comments on commit 4d81ea7

Please sign in to comment.