Skip to content

Commit 26ee8cf

Browse files
authored
release: v10.3.0
Merge pull request #7702 from google/rc/v10.3.0
2 parents 925a7b9 + 631dfcf commit 26ee8cf

File tree

129 files changed

+6886
-4941
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+6886
-4941
lines changed

.github/workflows/assign_reviewers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Assign requested reviewer
20-
uses: actions/github-script@v6
20+
uses: actions/github-script@v7
2121
with:
2222
script: |
2323
try {

.github/workflows/browser_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# TODO (#2114): re-enable osx build.
2020
# os: [ubuntu-latest, macos-latest]
2121
os: [macos-latest]
22-
node-version: [16.x, 18.x, 20.x]
22+
node-version: [18.x, 20.x]
2323
# See supported Node.js release schedule at
2424
# https://nodejs.org/en/about/releases/
2525

@@ -34,7 +34,7 @@ jobs:
3434
3535
3636
- name: Use Node.js ${{ matrix.node-version }}
37-
uses: actions/setup-node@v3
37+
uses: actions/setup-node@v4
3838
with:
3939
node-version: ${{ matrix.node-version }}
4040

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# TODO (#2114): re-enable osx build.
1919
# os: [ubuntu-latest, macos-latest]
2020
os: [ubuntu-latest]
21-
node-version: [16.x, 18.x, 20.x]
21+
node-version: [18.x, 20.x]
2222
# See supported Node.js release schedule at
2323
# https://nodejs.org/en/about/releases/
2424

@@ -33,7 +33,7 @@ jobs:
3333
3434
3535
- name: Use Node.js ${{ matrix.node-version }}
36-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@v4
3737
with:
3838
node-version: ${{ matrix.node-version }}
3939

@@ -57,7 +57,7 @@ jobs:
5757
- uses: actions/checkout@v4
5858

5959
- name: Use Node.js 20.x
60-
uses: actions/setup-node@v3
60+
uses: actions/setup-node@v4
6161
with:
6262
node-version: 20.x
6363

@@ -74,7 +74,7 @@ jobs:
7474
- uses: actions/checkout@v4
7575

7676
- name: Use Node.js 20.x
77-
uses: actions/setup-node@v3
77+
uses: actions/setup-node@v4
7878
with:
7979
node-version: 20.x
8080

.github/workflows/tag_module_cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
# Add the type: cleanup label
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/github-script@v6
18+
- uses: actions/github-script@v7
1919
with:
2020
script: |
2121
// Note that pull requests are considered issues and "shared"

.github/workflows/welcome_new_contributors.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,21 @@ jobs:
1616
Welcome! It looks like this is your first pull request in Blockly,
1717
so here are a couple of tips:
1818
19-
- You can find tips about contributing to Blockly and how to
20-
validate your changes on our
21-
[developer site](https://developers.google.com/blockly/guides/contribute/core#making_and_verifying_a_change).
19+
- You can find tips about contributing to Blockly and how to
20+
validate your changes on our
21+
[developer site](https://developers.google.com/blockly/guides/contribute/core#making_and_verifying_a_change).
2222
23-
- All contributors must sign the Google Contributor License
24-
Agreement (CLA). If the google-cla bot leaves a comment on this
25-
PR, make sure you follow the instructions.
23+
- All contributors must sign the Google Contributor License
24+
Agreement (CLA). If the google-cla bot leaves a comment on this
25+
PR, make sure you follow the instructions.
2626
27-
- We use [conventional commits](https://www.conventionalcommits.org/)
28-
to make versioning the package easier. Make sure your commit
29-
message is in the [proper format](https://developers.google.com/blockly/guides/contribute/get-started/commits)
30-
or [learn how to fix it](https://developers.google.com/blockly/guides/contribute/get-started/commits#fixing_non-conventional_commits).
31-
32-
- If any of the other checks on this PR fail, you can click on
33-
them to learn why. It might be that your change caused a test
34-
failure, or that you need to double-check the
35-
[style guide](https://developers.google.com/blockly/guides/contribute/core/style_guide).
27+
- We use conventional commits to make versioning the package easier. Make sure your commit
28+
message is in the [proper format](https://developers.google.com/blockly/guides/contribute/get-started/commits)
29+
or [learn how to fix it](https://developers.google.com/blockly/guides/contribute/get-started/commits#fixing_non-conventional_commits).
30+
31+
- If any of the other checks on this PR fail, you can click on
32+
them to learn why. It might be that your change caused a test
33+
failure, or that you need to double-check the
34+
[style guide](https://developers.google.com/blockly/guides/contribute/core/style_guide).
3635
3736
Thank you for opening this PR! A member of the Blockly team will review it soon.

.prettierignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
# Demos, scripts, misc
2020
/node_modules/*
21-
/generators/*
2221
/demos/*
2322
/appengine/*
2423
/externs/*
@@ -27,5 +26,5 @@
2726
CHANGELOG.md
2827
PULL_REQUEST_TEMPLATE.md
2928

30-
# Don't bother formatting js blocks since we're getting rid of them
31-
/blocks/*.js
29+
# Don't bother formatting JavaScript files we're about to migrate:
30+
/generators/**/*.js

blocks/lists.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,12 @@ export const blocks = createBlockDefinitionsFromJsonArray([
111111
},
112112
]);
113113

114-
/** Type of a 'lists_create_with' block. */
115-
type CreateWithBlock = Block & ListCreateWithMixin;
114+
/**
115+
* Type of a 'lists_create_with' block.
116+
*
117+
* @internal
118+
*/
119+
export type CreateWithBlock = Block & ListCreateWithMixin;
116120
interface ListCreateWithMixin extends ListCreateWithMixinType {
117121
itemCount_: number;
118122
}

blocks/loops.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,12 @@ export const loopTypes: Set<string> = new Set([
325325
'controls_whileUntil',
326326
]);
327327

328-
/** Type of a block that has CONTROL_FLOW_IN_LOOP_CHECK_MIXIN */
329-
type ControlFlowInLoopBlock = Block & ControlFlowInLoopMixin;
328+
/**
329+
* Type of a block that has CONTROL_FLOW_IN_LOOP_CHECK_MIXIN
330+
*
331+
* @internal
332+
*/
333+
export type ControlFlowInLoopBlock = Block & ControlFlowInLoopMixin;
330334
interface ControlFlowInLoopMixin extends ControlFlowInLoopMixinType {}
331335
type ControlFlowInLoopMixinType = typeof CONTROL_FLOW_IN_LOOP_CHECK_MIXIN;
332336

blocks/procedures.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,8 +1209,12 @@ blocks['procedures_callreturn'] = {
12091209
defType_: 'procedures_defreturn',
12101210
};
12111211

1212-
/** Type of a procedures_ifreturn block. */
1213-
type IfReturnBlock = Block & IfReturnMixin;
1212+
/**
1213+
* Type of a procedures_ifreturn block.
1214+
*
1215+
* @internal
1216+
*/
1217+
export type IfReturnBlock = Block & IfReturnMixin;
12141218
interface IfReturnMixin extends IfReturnMixinType {
12151219
hasReturnValue_: boolean;
12161220
}

blocks/text.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,8 +725,12 @@ const QUOTES_EXTENSION = function (this: QuoteImageBlock) {
725725
this.quoteField_('TEXT');
726726
};
727727

728-
/** Type of a block that has TEXT_JOIN_MUTATOR_MIXIN */
729-
type JoinMutatorBlock = BlockSvg & JoinMutatorMixin & QuoteImageMixin;
728+
/**
729+
* Type of a block that has TEXT_JOIN_MUTATOR_MIXIN
730+
*
731+
* @internal
732+
*/
733+
export type JoinMutatorBlock = BlockSvg & JoinMutatorMixin & QuoteImageMixin;
730734
interface JoinMutatorMixin extends JoinMutatorMixinType {}
731735
type JoinMutatorMixinType = typeof JOIN_MUTATOR_MIXIN;
732736

@@ -1018,6 +1022,8 @@ Extensions.register('text_indexOf_tooltip', INDEXOF_TOOLTIP_EXTENSION);
10181022

10191023
Extensions.register('text_quotes', QUOTES_EXTENSION);
10201024

1025+
Extensions.registerMixin('quote_image_mixin', QUOTE_IMAGE_MIXIN);
1026+
10211027
Extensions.registerMutator(
10221028
'text_join_mutator',
10231029
JOIN_MUTATOR_MIXIN,

0 commit comments

Comments
 (0)