Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 92911d1

Browse files
github-actions[bot]github-actionsgigituxsunyatasattva
authored
Release: 9.4.2 (#8303)
* Empty commit for release pull request * add testing instructions * add zip file for testing * update readme * upload new zip * Bumping version strings to new version. * Empty commit for release pull request * Remove feature flag from Element variations (#8297) Removes feature flag from: * Product Summary * Product Template * Product Title * Empty commit for release pull request * add testing instructions * add zip link for testing * Bumping version strings to new version. Co-authored-by: github-actions <[email protected]> Co-authored-by: Luigi <[email protected]> Co-authored-by: Lucio Giannotta <[email protected]>
1 parent bf4c842 commit 92911d1

File tree

9 files changed

+46
-34
lines changed

9 files changed

+46
-34
lines changed
Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/**
22
* External dependencies
33
*/
4-
import { isFeaturePluginBuild } from '@woocommerce/block-settings';
54
import { Icon } from '@wordpress/components';
65
import {
76
BLOCK_DESCRIPTION,
@@ -17,11 +16,9 @@ import { registerElementVariation } from './utils';
1716
export const CORE_NAME = 'core/post-excerpt';
1817
export const VARIATION_NAME = 'woocommerce/product-query/product-summary';
1918

20-
if ( isFeaturePluginBuild() ) {
21-
registerElementVariation( CORE_NAME, {
22-
blockDescription: BLOCK_DESCRIPTION,
23-
blockIcon: <Icon icon={ page } />,
24-
blockTitle: BLOCK_TITLE,
25-
variationName: VARIATION_NAME,
26-
} );
27-
}
19+
registerElementVariation( CORE_NAME, {
20+
blockDescription: BLOCK_DESCRIPTION,
21+
blockIcon: <Icon icon={ page } />,
22+
blockTitle: BLOCK_TITLE,
23+
variationName: VARIATION_NAME,
24+
} );
Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/**
22
* External dependencies
33
*/
4-
import { isFeaturePluginBuild } from '@woocommerce/block-settings';
54
import { Icon } from '@wordpress/components';
65
import { __ } from '@wordpress/i18n';
76
import { layout } from '@wordpress/icons';
@@ -14,14 +13,12 @@ import { registerElementVariation } from './utils';
1413
export const CORE_NAME = 'core/post-template';
1514
export const VARIATION_NAME = 'woocommerce/product-query/product-template';
1615

17-
if ( isFeaturePluginBuild() ) {
18-
registerElementVariation( CORE_NAME, {
19-
blockDescription: __(
20-
'Contains the block elements used to render a product, like its name, featured image, rating, and more.',
21-
'woo-gutenberg-products-block'
22-
),
23-
blockIcon: <Icon icon={ layout } />,
24-
blockTitle: __( 'Product template', 'woo-gutenberg-products-block' ),
25-
variationName: VARIATION_NAME,
26-
} );
27-
}
16+
registerElementVariation( CORE_NAME, {
17+
blockDescription: __(
18+
'Contains the block elements used to render a product, like its name, featured image, rating, and more.',
19+
'woo-gutenberg-products-block'
20+
),
21+
blockIcon: <Icon icon={ layout } />,
22+
blockTitle: __( 'Product template', 'woo-gutenberg-products-block' ),
23+
variationName: VARIATION_NAME,
24+
} );
Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/**
22
* External dependencies
33
*/
4-
import { isFeaturePluginBuild } from '@woocommerce/block-settings';
54
import { Icon } from '@wordpress/components';
65
import {
76
BLOCK_DESCRIPTION,
@@ -17,11 +16,9 @@ import { registerElementVariation } from './utils';
1716
export const CORE_NAME = 'core/post-title';
1817
export const VARIATION_NAME = 'woocommerce/product-query/product-title';
1918

20-
if ( isFeaturePluginBuild() ) {
21-
registerElementVariation( CORE_NAME, {
22-
blockDescription: BLOCK_DESCRIPTION,
23-
blockIcon: <Icon icon={ heading } />,
24-
blockTitle: BLOCK_TITLE,
25-
variationName: VARIATION_NAME,
26-
} );
27-
}
19+
registerElementVariation( CORE_NAME, {
20+
blockDescription: BLOCK_DESCRIPTION,
21+
blockIcon: <Icon icon={ heading } />,
22+
blockTitle: BLOCK_TITLE,
23+
variationName: VARIATION_NAME,
24+
} );
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Testing notes and ZIP for release 9.4.2
2+
3+
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/10509889/woocommerce-gutenberg-products-block.zip)
4+
5+
## Feature plugin and package inclusion in WooCommerce
6+
7+
### Product Elements: remove feature plugin flag from Product Title, Product Summary and Product Template block. ([8297](https://github.com/woocommerce/woocommerce-blocks/pull/8297))
8+
9+
![image](https://user-images.githubusercontent.com/4463174/214850173-03741940-c965-47bd-a2f1-05853f8984f1.png)
10+
11+
12+
1. Add the "Products (Beta)" in a post/page.
13+
2. Be sure that has the inner blocks: "Product Template, "Product Image", "Product Title", "Product Price", "Add to Cart Button" as the image above.

docs/internal-developers/testing/releases/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ Every release includes specific testing instructions for new features and bug fi
115115
- [9.2.0](./920.md)
116116
- [9.3.0](./930.md)
117117
- [9.4.0](./940.md)
118+
- [9.4.1](./941.md)
119+
- [9.4.2](./942.md)
118120

119121

120122
<!-- FEEDBACK -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@woocommerce/block-library",
33
"title": "WooCommerce Blocks",
44
"author": "Automattic",
5-
"version": "9.4.1",
5+
"version": "9.4.2",
66
"description": "WooCommerce blocks for the Gutenberg editor.",
77
"homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/",
88
"keywords": [

readme.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks
44
Requires at least: 6.1.1
55
Tested up to: 6.1.1
66
Requires PHP: 7.2
7-
Stable tag: 9.4.1
7+
Stable tag: 9.4.2
88
License: GPLv3
99
License URI: https://www.gnu.org/licenses/gpl-3.0.html
1010

@@ -80,6 +80,12 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/
8080

8181
== Changelog ==
8282

83+
= 9.4.2 - 2023-01-26 =
84+
85+
#### Bug Fixes
86+
87+
Product Elements: remove feature plugin flag from Product Title, Product Summary and Product Template block. ([8297](https://github.com/woocommerce/woocommerce-blocks/pull/8297))
88+
8389
= 9.4.1 - 2023-01-23 =
8490

8591
#### Bug Fixes

src/Package.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public static function container( $reset = false ) {
109109
NewPackage::class,
110110
function ( $container ) {
111111
// leave for automated version bumping.
112-
$version = '9.4.1';
112+
$version = '9.4.2';
113113
return new NewPackage(
114114
$version,
115115
dirname( __DIR__ ),

woocommerce-gutenberg-products-block.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: WooCommerce Blocks
44
* Plugin URI: https://github.com/woocommerce/woocommerce-gutenberg-products-block
55
* Description: WooCommerce blocks for the Gutenberg editor.
6-
* Version: 9.4.1
6+
* Version: 9.4.2
77
* Author: Automattic
88
* Author URI: https://woocommerce.com
99
* Text Domain: woo-gutenberg-products-block

0 commit comments

Comments
 (0)