From 94fc68c39217ae450a58811453b3b711d0e38b3d Mon Sep 17 00:00:00 2001 From: matticbot Date: Thu, 30 Nov 2023 21:40:40 +0000 Subject: [PATCH 1/8] chore(release): 2.3.0-alpha.1 [skip ci] # [2.3.0-alpha.1](https://github.com/Automattic/newspack-blocks/compare/v2.2.2...v2.3.0-alpha.1) (2023-11-30) ### Bug Fixes * modal checkout template markup ([#1608](https://github.com/Automattic/newspack-blocks/issues/1608)) ([4d593db](https://github.com/Automattic/newspack-blocks/commit/4d593db4e80b57570e13db2ed203586bab974fb6)) * **modal-checkout:** prevent initial render of details table ([#1601](https://github.com/Automattic/newspack-blocks/issues/1601)) ([06d4ccd](https://github.com/Automattic/newspack-blocks/commit/06d4ccdc799cb4233a1a85efdbd1264399d85291)) ### Features * improve performance of modal checkout ([#1607](https://github.com/Automattic/newspack-blocks/issues/1607)) ([a48d190](https://github.com/Automattic/newspack-blocks/commit/a48d19068cc0fc22d36f6371bdee447f72177ed7)) * **modal-checkout:** add filter to cart item data ([#1590](https://github.com/Automattic/newspack-blocks/issues/1590)) ([1e83dc1](https://github.com/Automattic/newspack-blocks/commit/1e83dc119aac531db18dbdcc7aaa4c781aa8576e)) ### Performance Improvements * **modal-checkout:** process checkout request earlier ([#1612](https://github.com/Automattic/newspack-blocks/issues/1612)) ([5c58f5e](https://github.com/Automattic/newspack-blocks/commit/5c58f5e811bb24098afb093c3a4efbb8efa83d4a)) --- CHANGELOG.md | 19 +++++++++++++++++++ newspack-blocks.php | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 24 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 056fdf904..d52fcebe1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +# [2.3.0-alpha.1](https://github.com/Automattic/newspack-blocks/compare/v2.2.2...v2.3.0-alpha.1) (2023-11-30) + + +### Bug Fixes + +* modal checkout template markup ([#1608](https://github.com/Automattic/newspack-blocks/issues/1608)) ([4d593db](https://github.com/Automattic/newspack-blocks/commit/4d593db4e80b57570e13db2ed203586bab974fb6)) +* **modal-checkout:** prevent initial render of details table ([#1601](https://github.com/Automattic/newspack-blocks/issues/1601)) ([06d4ccd](https://github.com/Automattic/newspack-blocks/commit/06d4ccdc799cb4233a1a85efdbd1264399d85291)) + + +### Features + +* improve performance of modal checkout ([#1607](https://github.com/Automattic/newspack-blocks/issues/1607)) ([a48d190](https://github.com/Automattic/newspack-blocks/commit/a48d19068cc0fc22d36f6371bdee447f72177ed7)) +* **modal-checkout:** add filter to cart item data ([#1590](https://github.com/Automattic/newspack-blocks/issues/1590)) ([1e83dc1](https://github.com/Automattic/newspack-blocks/commit/1e83dc119aac531db18dbdcc7aaa4c781aa8576e)) + + +### Performance Improvements + +* **modal-checkout:** process checkout request earlier ([#1612](https://github.com/Automattic/newspack-blocks/issues/1612)) ([5c58f5e](https://github.com/Automattic/newspack-blocks/commit/5c58f5e811bb24098afb093c3a4efbb8efa83d4a)) + ## [2.2.2](https://github.com/Automattic/newspack-blocks/compare/v2.2.1...v2.2.2) (2023-11-29) diff --git a/newspack-blocks.php b/newspack-blocks.php index 254278106..bd12f4b34 100755 --- a/newspack-blocks.php +++ b/newspack-blocks.php @@ -7,7 +7,7 @@ * Author URI: https://newspack.com/ * Text Domain: newspack-blocks * Domain Path: /languages - * Version: 2.2.2 + * Version: 2.3.0-alpha.1 * * @package Newspack_Blocks */ @@ -15,7 +15,7 @@ define( 'NEWSPACK_BLOCKS__PLUGIN_FILE', __FILE__ ); define( 'NEWSPACK_BLOCKS__BLOCKS_DIRECTORY', 'dist/' ); define( 'NEWSPACK_BLOCKS__PLUGIN_DIR', plugin_dir_path( NEWSPACK_BLOCKS__PLUGIN_FILE ) ); -define( 'NEWSPACK_BLOCKS__VERSION', '2.2.2' ); +define( 'NEWSPACK_BLOCKS__VERSION', '2.3.0-alpha.1' ); require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks.php'; require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks-api.php'; diff --git a/package-lock.json b/package-lock.json index 964d87f06..7827f8126 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@automattic/newspack-blocks", - "version": "2.2.2", + "version": "2.3.0-alpha.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@automattic/newspack-blocks", - "version": "2.2.2", + "version": "2.3.0-alpha.1", "hasInstallScript": true, "license": "GPL-3.0-or-later", "dependencies": { diff --git a/package.json b/package.json index 78f9ac324..4a456c117 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/newspack-blocks", - "version": "2.2.2", + "version": "2.3.0-alpha.1", "author": "Automattic", "devDependencies": { "@rushstack/eslint-patch": "^1.5.1", From 6f805b0806d24f9e44d293a13ca486fdf23c73ab Mon Sep 17 00:00:00 2001 From: Leo Germani Date: Fri, 1 Dec 2023 15:27:04 -0300 Subject: [PATCH 2/8] fix: replace FILTER_SANITIZE_STRING --------- Co-authored-by: Leo Germani --- includes/class-modal-checkout.php | 6 +++--- src/modal-checkout/templates/checkout-form.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/class-modal-checkout.php b/includes/class-modal-checkout.php index 6e71d1f70..64e915744 100644 --- a/includes/class-modal-checkout.php +++ b/includes/class-modal-checkout.php @@ -155,9 +155,9 @@ public static function process_checkout_request() { $is_newspack_checkout = filter_input( INPUT_GET, 'newspack_checkout', FILTER_SANITIZE_NUMBER_INT ); $product_id = filter_input( INPUT_GET, 'product_id', FILTER_SANITIZE_NUMBER_INT ); $variation_id = filter_input( INPUT_GET, 'variation_id', FILTER_SANITIZE_NUMBER_INT ); - $after_success_behavior = filter_input( INPUT_GET, 'after_success_behavior', FILTER_SANITIZE_STRING ); - $after_success_url = filter_input( INPUT_GET, 'after_success_url', FILTER_SANITIZE_STRING ); - $after_success_button_label = filter_input( INPUT_GET, 'after_success_button_label', FILTER_SANITIZE_STRING ); + $after_success_behavior = filter_input( INPUT_GET, 'after_success_behavior', FILTER_SANITIZE_SPECIAL_CHARS ); + $after_success_url = filter_input( INPUT_GET, 'after_success_url', FILTER_SANITIZE_SPECIAL_CHARS ); + $after_success_button_label = filter_input( INPUT_GET, 'after_success_button_label', FILTER_SANITIZE_SPECIAL_CHARS ); if ( ! $is_newspack_checkout || ! $product_id ) { return; diff --git a/src/modal-checkout/templates/checkout-form.php b/src/modal-checkout/templates/checkout-form.php index f29c535a1..437eb6bba 100644 --- a/src/modal-checkout/templates/checkout-form.php +++ b/src/modal-checkout/templates/checkout-form.php @@ -24,9 +24,9 @@ $form_method = $edit_billing ? 'get' : 'post'; $form_billing_fields = \Newspack_Blocks\Modal_Checkout::get_prefilled_fields(); -$after_success_behavior = filter_input( INPUT_GET, 'after_success_behavior', FILTER_SANITIZE_STRING ); -$after_success_url = filter_input( INPUT_GET, 'after_success_url', FILTER_SANITIZE_STRING ); -$after_success_button_label = filter_input( INPUT_GET, 'after_success_button_label', FILTER_SANITIZE_STRING ); +$after_success_behavior = filter_input( INPUT_GET, 'after_success_behavior', FILTER_SANITIZE_SPECIAL_CHARS ); +$after_success_url = filter_input( INPUT_GET, 'after_success_url', FILTER_SANITIZE_SPECIAL_CHARS ); +$after_success_button_label = filter_input( INPUT_GET, 'after_success_button_label', FILTER_SANITIZE_SPECIAL_CHARS ); if ( $edit_billing ) { $form_class .= ' edit-billing'; From 6cf831973f90c36e4c2abfb0589e6485434fc411 Mon Sep 17 00:00:00 2001 From: matticbot Date: Fri, 1 Dec 2023 18:31:40 +0000 Subject: [PATCH 3/8] chore(release): 2.3.0-alpha.2 [skip ci] # [2.3.0-alpha.2](https://github.com/Automattic/newspack-blocks/compare/v2.3.0-alpha.1...v2.3.0-alpha.2) (2023-12-01) ### Bug Fixes * replace FILTER_SANITIZE_STRING ([6f805b0](https://github.com/Automattic/newspack-blocks/commit/6f805b0806d24f9e44d293a13ca486fdf23c73ab)) --- CHANGELOG.md | 7 +++++++ newspack-blocks.php | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d52fcebe1..7ba9e4088 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [2.3.0-alpha.2](https://github.com/Automattic/newspack-blocks/compare/v2.3.0-alpha.1...v2.3.0-alpha.2) (2023-12-01) + + +### Bug Fixes + +* replace FILTER_SANITIZE_STRING ([6f805b0](https://github.com/Automattic/newspack-blocks/commit/6f805b0806d24f9e44d293a13ca486fdf23c73ab)) + # [2.3.0-alpha.1](https://github.com/Automattic/newspack-blocks/compare/v2.2.2...v2.3.0-alpha.1) (2023-11-30) diff --git a/newspack-blocks.php b/newspack-blocks.php index bd12f4b34..6ffaeba68 100755 --- a/newspack-blocks.php +++ b/newspack-blocks.php @@ -7,7 +7,7 @@ * Author URI: https://newspack.com/ * Text Domain: newspack-blocks * Domain Path: /languages - * Version: 2.3.0-alpha.1 + * Version: 2.3.0-alpha.2 * * @package Newspack_Blocks */ @@ -15,7 +15,7 @@ define( 'NEWSPACK_BLOCKS__PLUGIN_FILE', __FILE__ ); define( 'NEWSPACK_BLOCKS__BLOCKS_DIRECTORY', 'dist/' ); define( 'NEWSPACK_BLOCKS__PLUGIN_DIR', plugin_dir_path( NEWSPACK_BLOCKS__PLUGIN_FILE ) ); -define( 'NEWSPACK_BLOCKS__VERSION', '2.3.0-alpha.1' ); +define( 'NEWSPACK_BLOCKS__VERSION', '2.3.0-alpha.2' ); require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks.php'; require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks-api.php'; diff --git a/package-lock.json b/package-lock.json index 7827f8126..1ae0511dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@automattic/newspack-blocks", - "version": "2.3.0-alpha.1", + "version": "2.3.0-alpha.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@automattic/newspack-blocks", - "version": "2.3.0-alpha.1", + "version": "2.3.0-alpha.2", "hasInstallScript": true, "license": "GPL-3.0-or-later", "dependencies": { diff --git a/package.json b/package.json index 4a456c117..3bf9963d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/newspack-blocks", - "version": "2.3.0-alpha.1", + "version": "2.3.0-alpha.2", "author": "Automattic", "devDependencies": { "@rushstack/eslint-patch": "^1.5.1", From 68b05c9d25374c79986736312cbbf8748e0b1071 Mon Sep 17 00:00:00 2001 From: matticbot Date: Mon, 4 Dec 2023 18:23:54 +0000 Subject: [PATCH 4/8] chore(release): 2.3.0-alpha.3 [skip ci] # [2.3.0-alpha.3](https://github.com/Automattic/newspack-blocks/compare/v2.3.0-alpha.2...v2.3.0-alpha.3) (2023-12-04) ### Bug Fixes * update selected tier behavior for donate block ([#1617](https://github.com/Automattic/newspack-blocks/issues/1617)) ([8a9a76f](https://github.com/Automattic/newspack-blocks/commit/8a9a76fb970ffac6f00f67f83a17a931a169c103)) --- CHANGELOG.md | 7 +++++++ newspack-blocks.php | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 988102425..a0aa6ddc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [2.3.0-alpha.3](https://github.com/Automattic/newspack-blocks/compare/v2.3.0-alpha.2...v2.3.0-alpha.3) (2023-12-04) + + +### Bug Fixes + +* update selected tier behavior for donate block ([#1617](https://github.com/Automattic/newspack-blocks/issues/1617)) ([8a9a76f](https://github.com/Automattic/newspack-blocks/commit/8a9a76fb970ffac6f00f67f83a17a931a169c103)) + ## [2.2.3](https://github.com/Automattic/newspack-blocks/compare/v2.2.2...v2.2.3) (2023-12-04) diff --git a/newspack-blocks.php b/newspack-blocks.php index 993ec5720..07e1261cf 100755 --- a/newspack-blocks.php +++ b/newspack-blocks.php @@ -7,7 +7,7 @@ * Author URI: https://newspack.com/ * Text Domain: newspack-blocks * Domain Path: /languages - * Version: 2.2.3 + * Version: 2.3.0-alpha.3 * * @package Newspack_Blocks */ @@ -15,7 +15,7 @@ define( 'NEWSPACK_BLOCKS__PLUGIN_FILE', __FILE__ ); define( 'NEWSPACK_BLOCKS__BLOCKS_DIRECTORY', 'dist/' ); define( 'NEWSPACK_BLOCKS__PLUGIN_DIR', plugin_dir_path( NEWSPACK_BLOCKS__PLUGIN_FILE ) ); -define( 'NEWSPACK_BLOCKS__VERSION', '2.2.3' ); +define( 'NEWSPACK_BLOCKS__VERSION', '2.3.0-alpha.3' ); require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks.php'; require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks-api.php'; diff --git a/package-lock.json b/package-lock.json index b1e757af8..5ba48a16f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@automattic/newspack-blocks", - "version": "2.2.3", + "version": "2.3.0-alpha.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@automattic/newspack-blocks", - "version": "2.2.3", + "version": "2.3.0-alpha.3", "hasInstallScript": true, "license": "GPL-3.0-or-later", "dependencies": { diff --git a/package.json b/package.json index f5a0d1edd..9180adf7a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/newspack-blocks", - "version": "2.2.3", + "version": "2.3.0-alpha.3", "author": "Automattic", "devDependencies": { "@rushstack/eslint-patch": "^1.5.1", From 84f5f8055db691e32220a9be8b935c055d3be65e Mon Sep 17 00:00:00 2001 From: matticbot Date: Wed, 6 Dec 2023 19:19:51 +0000 Subject: [PATCH 5/8] chore(release): 2.3.0-alpha.4 [skip ci] # [2.3.0-alpha.4](https://github.com/Automattic/newspack-blocks/compare/v2.3.0-alpha.3...v2.3.0-alpha.4) (2023-12-06) ### Bug Fixes * **homepage-posts:** handle empty block when printing inline styles ([#1621](https://github.com/Automattic/newspack-blocks/issues/1621)) ([c3aa957](https://github.com/Automattic/newspack-blocks/commit/c3aa9577c2284f2139c8fa1170785db9fe4edfe9)) --- CHANGELOG.md | 7 +++++++ newspack-blocks.php | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f933e5bd..1921b6468 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [2.3.0-alpha.4](https://github.com/Automattic/newspack-blocks/compare/v2.3.0-alpha.3...v2.3.0-alpha.4) (2023-12-06) + + +### Bug Fixes + +* **homepage-posts:** handle empty block when printing inline styles ([#1621](https://github.com/Automattic/newspack-blocks/issues/1621)) ([c3aa957](https://github.com/Automattic/newspack-blocks/commit/c3aa9577c2284f2139c8fa1170785db9fe4edfe9)) + ## [2.2.4](https://github.com/Automattic/newspack-blocks/compare/v2.2.3...v2.2.4) (2023-12-06) diff --git a/newspack-blocks.php b/newspack-blocks.php index ba4412ee5..24e199dfc 100755 --- a/newspack-blocks.php +++ b/newspack-blocks.php @@ -7,7 +7,7 @@ * Author URI: https://newspack.com/ * Text Domain: newspack-blocks * Domain Path: /languages - * Version: 2.2.4 + * Version: 2.3.0-alpha.4 * * @package Newspack_Blocks */ @@ -15,7 +15,7 @@ define( 'NEWSPACK_BLOCKS__PLUGIN_FILE', __FILE__ ); define( 'NEWSPACK_BLOCKS__BLOCKS_DIRECTORY', 'dist/' ); define( 'NEWSPACK_BLOCKS__PLUGIN_DIR', plugin_dir_path( NEWSPACK_BLOCKS__PLUGIN_FILE ) ); -define( 'NEWSPACK_BLOCKS__VERSION', '2.2.4' ); +define( 'NEWSPACK_BLOCKS__VERSION', '2.3.0-alpha.4' ); require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks.php'; require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks-api.php'; diff --git a/package-lock.json b/package-lock.json index 07366b859..e1a84ad84 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@automattic/newspack-blocks", - "version": "2.2.4", + "version": "2.3.0-alpha.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@automattic/newspack-blocks", - "version": "2.2.4", + "version": "2.3.0-alpha.4", "hasInstallScript": true, "license": "GPL-3.0-or-later", "dependencies": { diff --git a/package.json b/package.json index abc7b3e17..c80ad6b68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/newspack-blocks", - "version": "2.2.4", + "version": "2.3.0-alpha.4", "author": "Automattic", "devDependencies": { "@rushstack/eslint-patch": "^1.5.1", From ccdd07a52972b3fe57cedfa5e9337f91b8b4ec17 Mon Sep 17 00:00:00 2001 From: matticbot Date: Thu, 7 Dec 2023 14:19:40 +0000 Subject: [PATCH 6/8] chore(release): 2.3.0-alpha.5 [skip ci] # [2.3.0-alpha.5](https://github.com/Automattic/newspack-blocks/compare/v2.3.0-alpha.4...v2.3.0-alpha.5) (2023-12-07) ### Bug Fixes * **modal-checkout:** align Stripe's "save payment" checkbox ([#1623](https://github.com/Automattic/newspack-blocks/issues/1623)) ([69e0e42](https://github.com/Automattic/newspack-blocks/commit/69e0e42b3d6f6ab8b1a918346e0d2f8e90eeabcb)) --- CHANGELOG.md | 7 +++++++ newspack-blocks.php | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1921b6468..45fb2d7be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [2.3.0-alpha.5](https://github.com/Automattic/newspack-blocks/compare/v2.3.0-alpha.4...v2.3.0-alpha.5) (2023-12-07) + + +### Bug Fixes + +* **modal-checkout:** align Stripe's "save payment" checkbox ([#1623](https://github.com/Automattic/newspack-blocks/issues/1623)) ([69e0e42](https://github.com/Automattic/newspack-blocks/commit/69e0e42b3d6f6ab8b1a918346e0d2f8e90eeabcb)) + # [2.3.0-alpha.4](https://github.com/Automattic/newspack-blocks/compare/v2.3.0-alpha.3...v2.3.0-alpha.4) (2023-12-06) diff --git a/newspack-blocks.php b/newspack-blocks.php index 24e199dfc..bf586c3b8 100755 --- a/newspack-blocks.php +++ b/newspack-blocks.php @@ -7,7 +7,7 @@ * Author URI: https://newspack.com/ * Text Domain: newspack-blocks * Domain Path: /languages - * Version: 2.3.0-alpha.4 + * Version: 2.3.0-alpha.5 * * @package Newspack_Blocks */ @@ -15,7 +15,7 @@ define( 'NEWSPACK_BLOCKS__PLUGIN_FILE', __FILE__ ); define( 'NEWSPACK_BLOCKS__BLOCKS_DIRECTORY', 'dist/' ); define( 'NEWSPACK_BLOCKS__PLUGIN_DIR', plugin_dir_path( NEWSPACK_BLOCKS__PLUGIN_FILE ) ); -define( 'NEWSPACK_BLOCKS__VERSION', '2.3.0-alpha.4' ); +define( 'NEWSPACK_BLOCKS__VERSION', '2.3.0-alpha.5' ); require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks.php'; require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks-api.php'; diff --git a/package-lock.json b/package-lock.json index bf685cb61..1b95473b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@automattic/newspack-blocks", - "version": "2.3.0-alpha.4", + "version": "2.3.0-alpha.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@automattic/newspack-blocks", - "version": "2.3.0-alpha.4", + "version": "2.3.0-alpha.5", "hasInstallScript": true, "license": "GPL-3.0-or-later", "dependencies": { diff --git a/package.json b/package.json index a79890b21..d16637197 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/newspack-blocks", - "version": "2.3.0-alpha.4", + "version": "2.3.0-alpha.5", "author": "Automattic", "devDependencies": { "@rushstack/eslint-patch": "^1.5.1", From 256390e362e8c2b776bdd7eecc65e32aa4312331 Mon Sep 17 00:00:00 2001 From: matticbot Date: Thu, 7 Dec 2023 23:32:17 +0000 Subject: [PATCH 7/8] chore(release): 2.4.0-alpha.1 [skip ci] # [2.4.0-alpha.1](https://github.com/Automattic/newspack-blocks/compare/v2.3.0...v2.4.0-alpha.1) (2023-12-07) ### Bug Fixes * modal checkout template markup ([#1608](https://github.com/Automattic/newspack-blocks/issues/1608)) ([4d593db](https://github.com/Automattic/newspack-blocks/commit/4d593db4e80b57570e13db2ed203586bab974fb6)) * **modal-checkout:** align Stripe's "save payment" checkbox ([#1623](https://github.com/Automattic/newspack-blocks/issues/1623)) ([69e0e42](https://github.com/Automattic/newspack-blocks/commit/69e0e42b3d6f6ab8b1a918346e0d2f8e90eeabcb)) * **modal-checkout:** prevent initial render of details table ([#1601](https://github.com/Automattic/newspack-blocks/issues/1601)) ([06d4ccd](https://github.com/Automattic/newspack-blocks/commit/06d4ccdc799cb4233a1a85efdbd1264399d85291)) * replace FILTER_SANITIZE_STRING ([6f805b0](https://github.com/Automattic/newspack-blocks/commit/6f805b0806d24f9e44d293a13ca486fdf23c73ab)) ### Features * improve performance of modal checkout ([#1607](https://github.com/Automattic/newspack-blocks/issues/1607)) ([a48d190](https://github.com/Automattic/newspack-blocks/commit/a48d19068cc0fc22d36f6371bdee447f72177ed7)) * **modal-checkout:** add filter to cart item data ([#1590](https://github.com/Automattic/newspack-blocks/issues/1590)) ([1e83dc1](https://github.com/Automattic/newspack-blocks/commit/1e83dc119aac531db18dbdcc7aaa4c781aa8576e)) ### Performance Improvements * **modal-checkout:** process checkout request earlier ([#1612](https://github.com/Automattic/newspack-blocks/issues/1612)) ([5c58f5e](https://github.com/Automattic/newspack-blocks/commit/5c58f5e811bb24098afb093c3a4efbb8efa83d4a)) --- CHANGELOG.md | 21 +++++++++++++++++++++ newspack-blocks.php | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 26 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e4d219ea1..632c5f8a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +# [2.4.0-alpha.1](https://github.com/Automattic/newspack-blocks/compare/v2.3.0...v2.4.0-alpha.1) (2023-12-07) + + +### Bug Fixes + +* modal checkout template markup ([#1608](https://github.com/Automattic/newspack-blocks/issues/1608)) ([4d593db](https://github.com/Automattic/newspack-blocks/commit/4d593db4e80b57570e13db2ed203586bab974fb6)) +* **modal-checkout:** align Stripe's "save payment" checkbox ([#1623](https://github.com/Automattic/newspack-blocks/issues/1623)) ([69e0e42](https://github.com/Automattic/newspack-blocks/commit/69e0e42b3d6f6ab8b1a918346e0d2f8e90eeabcb)) +* **modal-checkout:** prevent initial render of details table ([#1601](https://github.com/Automattic/newspack-blocks/issues/1601)) ([06d4ccd](https://github.com/Automattic/newspack-blocks/commit/06d4ccdc799cb4233a1a85efdbd1264399d85291)) +* replace FILTER_SANITIZE_STRING ([6f805b0](https://github.com/Automattic/newspack-blocks/commit/6f805b0806d24f9e44d293a13ca486fdf23c73ab)) + + +### Features + +* improve performance of modal checkout ([#1607](https://github.com/Automattic/newspack-blocks/issues/1607)) ([a48d190](https://github.com/Automattic/newspack-blocks/commit/a48d19068cc0fc22d36f6371bdee447f72177ed7)) +* **modal-checkout:** add filter to cart item data ([#1590](https://github.com/Automattic/newspack-blocks/issues/1590)) ([1e83dc1](https://github.com/Automattic/newspack-blocks/commit/1e83dc119aac531db18dbdcc7aaa4c781aa8576e)) + + +### Performance Improvements + +* **modal-checkout:** process checkout request earlier ([#1612](https://github.com/Automattic/newspack-blocks/issues/1612)) ([5c58f5e](https://github.com/Automattic/newspack-blocks/commit/5c58f5e811bb24098afb093c3a4efbb8efa83d4a)) + # [2.3.0](https://github.com/Automattic/newspack-blocks/compare/v2.2.4...v2.3.0) (2023-12-07) diff --git a/newspack-blocks.php b/newspack-blocks.php index 67c942acd..9f995b1f0 100755 --- a/newspack-blocks.php +++ b/newspack-blocks.php @@ -7,7 +7,7 @@ * Author URI: https://newspack.com/ * Text Domain: newspack-blocks * Domain Path: /languages - * Version: 2.3.0 + * Version: 2.4.0-alpha.1 * * @package Newspack_Blocks */ @@ -15,7 +15,7 @@ define( 'NEWSPACK_BLOCKS__PLUGIN_FILE', __FILE__ ); define( 'NEWSPACK_BLOCKS__BLOCKS_DIRECTORY', 'dist/' ); define( 'NEWSPACK_BLOCKS__PLUGIN_DIR', plugin_dir_path( NEWSPACK_BLOCKS__PLUGIN_FILE ) ); -define( 'NEWSPACK_BLOCKS__VERSION', '2.3.0' ); +define( 'NEWSPACK_BLOCKS__VERSION', '2.4.0-alpha.1' ); require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks.php'; require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks-api.php'; diff --git a/package-lock.json b/package-lock.json index efea27207..cc753b86a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@automattic/newspack-blocks", - "version": "2.3.0", + "version": "2.4.0-alpha.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@automattic/newspack-blocks", - "version": "2.3.0", + "version": "2.4.0-alpha.1", "hasInstallScript": true, "license": "GPL-3.0-or-later", "dependencies": { diff --git a/package.json b/package.json index 0a4cb39b9..086330e8a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/newspack-blocks", - "version": "2.3.0", + "version": "2.4.0-alpha.1", "author": "Automattic", "devDependencies": { "@rushstack/eslint-patch": "^1.5.1", From 494762cb30b379b38455d2113f6a6263449dd51f Mon Sep 17 00:00:00 2001 From: matticbot Date: Mon, 11 Dec 2023 15:56:24 +0000 Subject: [PATCH 8/8] chore(release): 2.4.0 [skip ci] # [2.4.0](https://github.com/Automattic/newspack-blocks/compare/v2.3.0...v2.4.0) (2023-12-11) ### Bug Fixes * modal checkout template markup ([#1608](https://github.com/Automattic/newspack-blocks/issues/1608)) ([4d593db](https://github.com/Automattic/newspack-blocks/commit/4d593db4e80b57570e13db2ed203586bab974fb6)) * **modal-checkout:** align Stripe's "save payment" checkbox ([#1623](https://github.com/Automattic/newspack-blocks/issues/1623)) ([69e0e42](https://github.com/Automattic/newspack-blocks/commit/69e0e42b3d6f6ab8b1a918346e0d2f8e90eeabcb)) * **modal-checkout:** prevent initial render of details table ([#1601](https://github.com/Automattic/newspack-blocks/issues/1601)) ([06d4ccd](https://github.com/Automattic/newspack-blocks/commit/06d4ccdc799cb4233a1a85efdbd1264399d85291)) * replace FILTER_SANITIZE_STRING ([6f805b0](https://github.com/Automattic/newspack-blocks/commit/6f805b0806d24f9e44d293a13ca486fdf23c73ab)) ### Features * improve performance of modal checkout ([#1607](https://github.com/Automattic/newspack-blocks/issues/1607)) ([a48d190](https://github.com/Automattic/newspack-blocks/commit/a48d19068cc0fc22d36f6371bdee447f72177ed7)) * **modal-checkout:** add filter to cart item data ([#1590](https://github.com/Automattic/newspack-blocks/issues/1590)) ([1e83dc1](https://github.com/Automattic/newspack-blocks/commit/1e83dc119aac531db18dbdcc7aaa4c781aa8576e)) ### Performance Improvements * **modal-checkout:** process checkout request earlier ([#1612](https://github.com/Automattic/newspack-blocks/issues/1612)) ([5c58f5e](https://github.com/Automattic/newspack-blocks/commit/5c58f5e811bb24098afb093c3a4efbb8efa83d4a)) --- CHANGELOG.md | 21 +++++++++++++++++++++ newspack-blocks.php | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 26 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 632c5f8a6..7b217d603 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +# [2.4.0](https://github.com/Automattic/newspack-blocks/compare/v2.3.0...v2.4.0) (2023-12-11) + + +### Bug Fixes + +* modal checkout template markup ([#1608](https://github.com/Automattic/newspack-blocks/issues/1608)) ([4d593db](https://github.com/Automattic/newspack-blocks/commit/4d593db4e80b57570e13db2ed203586bab974fb6)) +* **modal-checkout:** align Stripe's "save payment" checkbox ([#1623](https://github.com/Automattic/newspack-blocks/issues/1623)) ([69e0e42](https://github.com/Automattic/newspack-blocks/commit/69e0e42b3d6f6ab8b1a918346e0d2f8e90eeabcb)) +* **modal-checkout:** prevent initial render of details table ([#1601](https://github.com/Automattic/newspack-blocks/issues/1601)) ([06d4ccd](https://github.com/Automattic/newspack-blocks/commit/06d4ccdc799cb4233a1a85efdbd1264399d85291)) +* replace FILTER_SANITIZE_STRING ([6f805b0](https://github.com/Automattic/newspack-blocks/commit/6f805b0806d24f9e44d293a13ca486fdf23c73ab)) + + +### Features + +* improve performance of modal checkout ([#1607](https://github.com/Automattic/newspack-blocks/issues/1607)) ([a48d190](https://github.com/Automattic/newspack-blocks/commit/a48d19068cc0fc22d36f6371bdee447f72177ed7)) +* **modal-checkout:** add filter to cart item data ([#1590](https://github.com/Automattic/newspack-blocks/issues/1590)) ([1e83dc1](https://github.com/Automattic/newspack-blocks/commit/1e83dc119aac531db18dbdcc7aaa4c781aa8576e)) + + +### Performance Improvements + +* **modal-checkout:** process checkout request earlier ([#1612](https://github.com/Automattic/newspack-blocks/issues/1612)) ([5c58f5e](https://github.com/Automattic/newspack-blocks/commit/5c58f5e811bb24098afb093c3a4efbb8efa83d4a)) + # [2.4.0-alpha.1](https://github.com/Automattic/newspack-blocks/compare/v2.3.0...v2.4.0-alpha.1) (2023-12-07) diff --git a/newspack-blocks.php b/newspack-blocks.php index 9f995b1f0..25e843806 100755 --- a/newspack-blocks.php +++ b/newspack-blocks.php @@ -7,7 +7,7 @@ * Author URI: https://newspack.com/ * Text Domain: newspack-blocks * Domain Path: /languages - * Version: 2.4.0-alpha.1 + * Version: 2.4.0 * * @package Newspack_Blocks */ @@ -15,7 +15,7 @@ define( 'NEWSPACK_BLOCKS__PLUGIN_FILE', __FILE__ ); define( 'NEWSPACK_BLOCKS__BLOCKS_DIRECTORY', 'dist/' ); define( 'NEWSPACK_BLOCKS__PLUGIN_DIR', plugin_dir_path( NEWSPACK_BLOCKS__PLUGIN_FILE ) ); -define( 'NEWSPACK_BLOCKS__VERSION', '2.4.0-alpha.1' ); +define( 'NEWSPACK_BLOCKS__VERSION', '2.4.0' ); require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks.php'; require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks-api.php'; diff --git a/package-lock.json b/package-lock.json index cc753b86a..0272bbe04 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@automattic/newspack-blocks", - "version": "2.4.0-alpha.1", + "version": "2.4.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@automattic/newspack-blocks", - "version": "2.4.0-alpha.1", + "version": "2.4.0", "hasInstallScript": true, "license": "GPL-3.0-or-later", "dependencies": { diff --git a/package.json b/package.json index 086330e8a..09c981200 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/newspack-blocks", - "version": "2.4.0-alpha.1", + "version": "2.4.0", "author": "Automattic", "devDependencies": { "@rushstack/eslint-patch": "^1.5.1",