From 54efe0a8a1e9e06d9ca6ae8293028384b9c8f5ca Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 16:24:21 +0000 Subject: [PATCH 1/3] chore(deps-dev): bump phpunit/phpunit from 9.6.13 to 9.6.15 Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.13 to 9.6.15. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.15/ChangeLog-9.6.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.13...9.6.15) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.lock | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.lock b/composer.lock index 3bc5cb5a..e312dd91 100644 --- a/composer.lock +++ b/composer.lock @@ -1237,16 +1237,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.6.13", + "version": "9.6.15", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be" + "reference": "05017b80304e0eb3f31d90194a563fd53a6021f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f3d767f7f9e191eab4189abe41ab37797e30b1be", - "reference": "f3d767f7f9e191eab4189abe41ab37797e30b1be", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/05017b80304e0eb3f31d90194a563fd53a6021f1", + "reference": "05017b80304e0eb3f31d90194a563fd53a6021f1", "shasum": "" }, "require": { @@ -1320,7 +1320,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.13" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.15" }, "funding": [ { @@ -1336,7 +1336,7 @@ "type": "tidelift" } ], - "time": "2023-09-19T05:39:22+00:00" + "time": "2023-12-01T16:55:19+00:00" }, { "name": "psr/container", @@ -3294,16 +3294,16 @@ }, { "name": "theseer/tokenizer", - "version": "1.2.1", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96", + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96", "shasum": "" }, "require": { @@ -3332,7 +3332,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + "source": "https://github.com/theseer/tokenizer/tree/1.2.2" }, "funding": [ { @@ -3340,7 +3340,7 @@ "type": "github" } ], - "time": "2021-07-28T10:34:58+00:00" + "time": "2023-11-20T00:12:19+00:00" }, { "name": "wp-coding-standards/wpcs", @@ -3464,5 +3464,5 @@ "platform-overrides": { "php": "7.4" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } From 8bbc6dc43a22497b518ea8b3ed6710fa015b5474 Mon Sep 17 00:00:00 2001 From: Ken Gagne Date: Thu, 7 Dec 2023 13:51:44 -0500 Subject: [PATCH 2/3] Adds support for post revisions (#1250) Adds support for post revisions to the Newspack Popups CPT. --- includes/class-newspack-popups.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-newspack-popups.php b/includes/class-newspack-popups.php index 2f182531..39c20fa9 100644 --- a/includes/class-newspack-popups.php +++ b/includes/class-newspack-popups.php @@ -160,7 +160,7 @@ public static function register_cpt() { 'public' => false, 'show_ui' => true, 'show_in_rest' => true, - 'supports' => [ 'editor', 'title', 'custom-fields', 'thumbnail' ], + 'supports' => [ 'editor', 'title', 'custom-fields', 'thumbnail', 'revisions' ], 'taxonomies' => [ 'category', 'post_tag' ], 'menu_icon' => 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDI0IDI0IiByb2xlPSJpbWciIGFyaWEtaGlkZGVuPSJ0cnVlIiBmb2N1c2FibGU9ImZhbHNlIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02Ljg2MyAxMy42NDRMNSAxMy4yNWgtLjVhLjUuNSAwIDAxLS41LS41di0zYS41LjUgMCAwMS41LS41SDVMMTggNi41aDJWMTZoLTJsLTMuODU0LS44MTUuMDI2LjAwOGEzLjc1IDMuNzUgMCAwMS03LjMxLTEuNTQ5em0xLjQ3Ny4zMTNhMi4yNTEgMi4yNTEgMCAwMDQuMzU2LjkyMWwtNC4zNTYtLjkyMXptLTIuODQtMy4yOEwxOC4xNTcgOGguMzQzdjYuNWgtLjM0M0w1LjUgMTEuODIzdi0xLjE0NnoiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0id2hpdGUiPjwvcGF0aD48L3N2Zz4K', ]; From dc3f054ded662b009abd06ed4efc9c94fa7f39f6 Mon Sep 17 00:00:00 2001 From: matticbot Date: Fri, 15 Dec 2023 19:58:42 +0000 Subject: [PATCH 3/3] chore(release): 2.28.0-alpha.1 [skip ci] # [2.28.0-alpha.1](https://github.com/Automattic/newspack-popups/compare/v2.27.0...v2.28.0-alpha.1) (2023-12-15) ### Features * add support for prompt revisions ([b2571a7](https://github.com/Automattic/newspack-popups/commit/b2571a7a4b4bf8bf755487683edc2a0ee5d3c8ef)) --- CHANGELOG.md | 7 +++++++ newspack-popups.php | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af2c0210..a88ed791 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [2.28.0-alpha.1](https://github.com/Automattic/newspack-popups/compare/v2.27.0...v2.28.0-alpha.1) (2023-12-15) + + +### Features + +* add support for prompt revisions ([b2571a7](https://github.com/Automattic/newspack-popups/commit/b2571a7a4b4bf8bf755487683edc2a0ee5d3c8ef)) + # [2.27.0](https://github.com/Automattic/newspack-popups/compare/v2.26.1...v2.27.0) (2023-12-11) diff --git a/newspack-popups.php b/newspack-popups.php index 007a7947..d0d1983e 100755 --- a/newspack-popups.php +++ b/newspack-popups.php @@ -7,7 +7,7 @@ * Author URI: https://newspack.com * Text Domain: newspack-popups * Domain Path: /languages - * Version: 2.27.0 + * Version: 2.28.0-alpha.1 * * @package Newspack_Popups */ diff --git a/package-lock.json b/package-lock.json index b45f1af1..d915aeb2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "newspack-popups", - "version": "2.27.0", + "version": "2.28.0-alpha.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "newspack-popups", - "version": "2.27.0", + "version": "2.28.0-alpha.1", "dependencies": { "classnames": "^2.3.2", "intersection-observer": "^0.12.2", diff --git a/package.json b/package.json index 382ab04c..1a6c22c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "newspack-popups", - "version": "2.27.0", + "version": "2.28.0-alpha.1", "main": "Gruntfile.js", "author": "Automattic", "scripts": {