Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Block: remove deprecated viewModule field #59198

Merged
merged 2 commits into from Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/create-block/CHANGELOG.md
Expand Up @@ -6,6 +6,10 @@

- Add missing `viewScriptModule` field ([#59140](https://github.com/WordPress/gutenberg/pull/59140)).

### Internal

- Remove deprecated `viewModule` field ([#59198](https://github.com/WordPress/gutenberg/pull/59198)).

## 4.35.0 (2024-02-09)

## 4.34.0 (2024-01-24)
Expand Down
2 changes: 0 additions & 2 deletions packages/create-block/lib/init-block.js
Expand Up @@ -31,7 +31,6 @@ async function initBlockJSON( {
style,
viewStyle,
render,
viewModule,
viewScriptModule,
viewScript,
customBlockJSON,
Expand Down Expand Up @@ -66,7 +65,6 @@ async function initBlockJSON( {
style,
viewStyle,
render,
viewModule,
viewScriptModule,
viewScript,
...customBlockJSON,
Expand Down
2 changes: 0 additions & 2 deletions packages/create-block/lib/scaffold.js
Expand Up @@ -45,7 +45,6 @@ module.exports = async (
style,
viewStyle,
render,
viewModule,
viewScriptModule,
viewScript,
variantVars,
Expand Down Expand Up @@ -88,7 +87,6 @@ module.exports = async (
style,
viewStyle,
render,
viewModule,
viewScriptModule,
viewScript,
variantVars,
Expand Down