Skip to content

Commit

Permalink
Merge pull request #4976 from google/rc_2021_7
Browse files Browse the repository at this point in the history
Rc 2021 7
  • Loading branch information
BeksOmega authored Jul 1, 2021
2 parents fc6a1be + bff1c04 commit 64188ae
Show file tree
Hide file tree
Showing 276 changed files with 11,240 additions and 7,712 deletions.
6 changes: 2 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@
"balanced": true
},
"exceptions": ["*"]
}],
"es5/no-es6-methods": ["warn"]
}]
},
"env": {
"browser": true
Expand All @@ -83,7 +82,6 @@
"goog": true
},
"extends": [
"eslint:recommended",
"plugin:es5/no-es2015"
"eslint:recommended"
]
}
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ updates:
target-branch: "develop"
schedule:
interval: "weekly"
ignore:
- dependency-name: "jsdom"
# For jsdom, ignore all updates for version 16.
# We should test that this does not cause issue
# google/blockly-samples#665 when version 17 is released.
versions: "16.x"
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ on: [pull_request]

jobs:
build:
# TODO (#2114): re-enable osx build.
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
# TODO (#2114): re-enable osx build.
# os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest]
node-version: [10.x, 12.x, 14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand All @@ -35,7 +37,7 @@ jobs:
run: source ./tests/scripts/setup_osx_env.sh

- name: Run
run: npm run test:run
run: npm run test

env:
CI: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Want to make Blockly better? We welcome contributions to Blockly in the form of

## Releases

The next major release will be **March 25th, 2021**.
The next major release will be **September 30th, 2021**.

We release by pushing the latest code to the master branch, followed by updating the npm package, our [docs](https://developers.google.com/blockly), and [demo pages](https://google.github.io/blockly-samples/). We typically release a new version of Blockly once a quarter (every 3 months). If there are breaking bugs, such as a crash when performing a standard action or a rendering issue that makes Blockly unusable, we will cherry-pick fixes to master between releases to fix them. The [releases page](https://github.com/google/blockly/releases) has a list of all releases.

Expand Down
1 change: 0 additions & 1 deletion appengine/.gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ deploy
/static/scripts/
/static/typings/

/static/build.py
/static/eslintrc.json
/static/gulpfile.js
/static/jsconfig.json
Expand Down
612 changes: 316 additions & 296 deletions blockly_compressed.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion blockly_compressed.js.map

Large diffs are not rendered by default.

372 changes: 189 additions & 183 deletions blockly_uncompressed.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion blocks/lists.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
'use strict';

goog.provide('Blockly.Blocks.lists'); // Deprecated
goog.provide('Blockly.Constants.Lists');

goog.require('Blockly');
Expand Down
4 changes: 2 additions & 2 deletions blocks/logic.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,9 @@ Blockly.Constants.Logic.CONTROLS_IF_MUTATOR_MIXIN = {
},
/**
* Reconnects child blocks.
* @param {!Array.<?Blockly.RenderedConnection>} valueConnections List of
* @param {!Array<?Blockly.RenderedConnection>} valueConnections List of
* value connections for 'if' input.
* @param {!Array.<?Blockly.RenderedConnection>} statementConnections List of
* @param {!Array<?Blockly.RenderedConnection>} statementConnections List of
* statement connections for 'do' input.
* @param {?Blockly.RenderedConnection} elseStatementConnection Statement
* connection for else input.
Expand Down
12 changes: 6 additions & 6 deletions blocks/procedures.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,15 +264,15 @@ Blockly.Blocks['procedures_defnoreturn'] = {
},
/**
* Return all variables referenced by this block.
* @return {!Array.<string>} List of variable names.
* @return {!Array<string>} List of variable names.
* @this {Blockly.Block}
*/
getVars: function() {
return this.arguments_;
},
/**
* Return all variables referenced by this block.
* @return {!Array.<!Blockly.VariableModel>} List of variable models.
* @return {!Array<!Blockly.VariableModel>} List of variable models.
* @this {Blockly.Block}
*/
getVarModels: function() {
Expand Down Expand Up @@ -634,8 +634,8 @@ Blockly.Blocks['procedures_callnoreturn'] = {
},
/**
* Notification that the procedure's parameters have changed.
* @param {!Array.<string>} paramNames New param names, e.g. ['x', 'y', 'z'].
* @param {!Array.<string>} paramIds IDs of params (consistent for each
* @param {!Array<string>} paramNames New param names, e.g. ['x', 'y', 'z'].
* @param {!Array<string>} paramIds IDs of params (consistent for each
* parameter through the life of a mutator, regardless of param renaming),
* e.g. ['piua', 'f8b_', 'oi.o'].
* @private
Expand Down Expand Up @@ -809,15 +809,15 @@ Blockly.Blocks['procedures_callnoreturn'] = {
},
/**
* Return all variables referenced by this block.
* @return {!Array.<string>} List of variable names.
* @return {!Array<string>} List of variable names.
* @this {Blockly.Block}
*/
getVars: function() {
return this.arguments_;
},
/**
* Return all variables referenced by this block.
* @return {!Array.<!Blockly.VariableModel>} List of variable models.
* @return {!Array<!Blockly.VariableModel>} List of variable models.
* @this {Blockly.Block}
*/
getVarModels: function() {
Expand Down
2 changes: 1 addition & 1 deletion blocks_compressed.js

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

2 changes: 1 addition & 1 deletion blocks_compressed.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 64188ae

Please sign in to comment.