Skip to content

Commit

Permalink
Create Block: Set minimum supported WordPress version to 6.6 (#64920)
Browse files Browse the repository at this point in the history
* Create Block: Set minimum supported WordPress version to 6.6

* Update changelog entries

Co-authored-by: gziolo <gziolo@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
  • Loading branch information
3 people authored Aug 31, 2024
1 parent 5a87fb0 commit 58e4926
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 9 deletions.
4 changes: 4 additions & 0 deletions packages/create-block-interactive-template/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Enhancements

- Set the minimum supported WordPress version to 6.6 to make it work seamlessly with the latest version of `@wordpress/scripts` package ([#64920](https://github.com/WordPress/gutenberg/pull/64920)).

## 2.6.0 (2024-08-21)

## 2.5.0 (2024-08-07)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Description: {{description}}
{{/description}}
* Version: {{version}}
* Requires at least: 6.1
* Requires at least: 6.6
* Requires PHP: 7.0
{{#author}}
* Author: {{author}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Contributors: {{author}}
{{/author}}
Tags: block
Tested up to: 6.1
Tested up to: 6.6
Stable tag: {{version}}
{{#license}}
License: {{license}}
Expand Down
4 changes: 4 additions & 0 deletions packages/create-block-tutorial-template/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Enhancements

- Set the minimum supported WordPress version to 6.6 to make it work seamlessly with the latest version of `@wordpress/scripts` package ([#64920](https://github.com/WordPress/gutenberg/pull/64920)).

## 4.6.0 (2024-08-21)

## 4.5.0 (2024-08-07)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Description: {{description}}
{{/description}}
* Version: {{version}}
* Requires at least: 6.2
* Requires at least: 6.6
* Requires PHP: 7.0
{{#author}}
* Author: {{author}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Contributors: {{author}}
{{/author}}
Tags: block
Tested up to: 6.4
Tested up to: 6.6
Stable tag: {{version}}
{{#license}}
License: {{license}}
Expand Down
4 changes: 4 additions & 0 deletions packages/create-block/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Enhancements

- Unpin the `@wordpress/scripts` version and set the minimum supported WordPress version to 6.6 ([#64920](https://github.com/WordPress/gutenberg/pull/64920)).

## 4.49.0 (2024-08-21)

## 4.48.0 (2024-08-07)
Expand Down
2 changes: 1 addition & 1 deletion packages/create-block/lib/init-wp-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = async ( { slug } ) => {
info(
'Installing `@wordpress/scripts` package. It might take a couple of minutes...'
);
await command( 'npm install @wordpress/scripts@27 --save-dev', {
await command( 'npm install @wordpress/scripts --save-dev', {
cwd,
} );

Expand Down
2 changes: 1 addition & 1 deletion packages/create-block/lib/templates/es5/$slug.php.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{#description}}
* Description: {{description}}
{{/description}}
* Requires at least: 6.1
* Requires at least: 6.6
* Requires PHP: 7.0
* Version: {{version}}
{{#author}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Contributors: {{author}}
{{/author}}
Tags: block
Tested up to: 6.1
Tested up to: 6.6
Stable tag: {{version}}
{{#license}}
License: {{license}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{#description}}
* Description: {{description}}
{{/description}}
* Requires at least: 6.1
* Requires at least: 6.6
* Requires PHP: 7.0
* Version: {{version}}
{{#author}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Contributors: {{author}}
{{/author}}
Tags: block
Tested up to: 6.1
Tested up to: 6.6
Stable tag: {{version}}
{{#license}}
License: {{license}}
Expand Down

0 comments on commit 58e4926

Please sign in to comment.