From 950f48c8817f2a42cfc09f36dd5f3a45c1eb5ec0 Mon Sep 17 00:00:00 2001 From: Renato Alves <19148962+renatonascalves@users.noreply.github.com> Date: Wed, 16 Oct 2024 22:33:50 -0300 Subject: [PATCH 1/3] Preparation for releasing 2.6.0 --- .deployignore | 1 + .distignore | 1 + apple-news.php | 2 +- readme.txt | 17 +++++++++++++++-- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.deployignore b/.deployignore index 4aca9dbd..b4e35089 100644 --- a/.deployignore +++ b/.deployignore @@ -31,5 +31,6 @@ DOCKER_ENV package.json package-lock.json phpunit.xml.dist +phpstan.neon README.md webpack.config.js diff --git a/.distignore b/.distignore index 1bbe998b..b5d0d59b 100644 --- a/.distignore +++ b/.distignore @@ -31,5 +31,6 @@ DOCKER_ENV package.json package-lock.json phpunit.xml.dist +phpstan.neon README.md webpack.config.js diff --git a/apple-news.php b/apple-news.php index e3bab4c1..61ee343c 100644 --- a/apple-news.php +++ b/apple-news.php @@ -14,7 +14,7 @@ * Plugin Name: Publish to Apple News * Plugin URI: http://github.com/alleyinteractive/apple-news * Description: Export and sync posts to Apple format. - * Version: 2.5.1 + * Version: 2.6.0 * Author: Alley * Author URI: https://alley.com * Text Domain: apple-news diff --git a/readme.txt b/readme.txt index 0f8a478a..64f4a021 100644 --- a/readme.txt +++ b/readme.txt @@ -3,9 +3,9 @@ Contributors: potatomaster, kevinfodness, jomurgel, tylermachado, benpbolton, al Donate link: https://wordpress.org Tags: publish, apple, news, iOS Requires at least: 6.3 -Tested up to: 6.6.1 +Tested up to: 6.6.2 Requires PHP: 8.0 -Stable tag: 2.5.1 +Stable tag: 2.6.0 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl.html @@ -45,7 +45,20 @@ Please visit our [wiki](https://github.com/alleyinteractive/apple-news/wiki) for == Changelog == += 2.6.0 = + +* Enhancement: Debugging Settings: support added for sending notification to multiple email accounts. +* Enhancement: Debugging Settings: support added for client side validation of the email accounts. +* Enhancement: Support added for handling deleted articles (in iCloud News Publisher). +* Enhancement: REST Endpoints actually return a `WP_Error` if Apple News *is not* initialized. +* Enhancement: Add a new hook, `apple_news_after_push_failure`, that fires when a post fails to be pushed to Apple News. +* Enhancement: Support added for PHP 8.3. +* Enhancement: Support added for PHPStan. +* Bugfix: API Settings: fixed an issue where the latest `value` was not rendered after an update. +* Bugfix: Fixed an issue where a root-relative image url used the wrong base url. + = 2.5.1 = + * Bugfix: Fixed an issue where the plugin would crash if the Apple News API returned an error when fetching information about the configured channel. Now surfaces an admin notice with the error message instead. = 2.5.0 = From e8ec0714ae882fa0585c8ee3e3a81b5454d6c000 Mon Sep 17 00:00:00 2001 From: Renato Alves <19148962+renatonascalves@users.noreply.github.com> Date: Wed, 16 Oct 2024 22:38:52 -0300 Subject: [PATCH 2/3] Making `phpunit` happy --- includes/class-apple-news.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-apple-news.php b/includes/class-apple-news.php index b99e13a0..7affaf0d 100644 --- a/includes/class-apple-news.php +++ b/includes/class-apple-news.php @@ -50,7 +50,7 @@ class Apple_News { * @var string * @access public */ - public static string $version = '2.5.1'; + public static string $version = '2.6.0'; /** * Link to support for the plugin on WordPress.org. From 80f15efdaed3ee3b173572b954331756cfecf6d5 Mon Sep 17 00:00:00 2001 From: Renato Alves <19148962+renatonascalves@users.noreply.github.com> Date: Thu, 17 Oct 2024 10:20:42 -0300 Subject: [PATCH 3/3] Update readme.txt Co-authored-by: Kevin Fodness <2650828+kevinfodness@users.noreply.github.com> --- readme.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/readme.txt b/readme.txt index 64f4a021..8070edf4 100644 --- a/readme.txt +++ b/readme.txt @@ -47,15 +47,14 @@ Please visit our [wiki](https://github.com/alleyinteractive/apple-news/wiki) for = 2.6.0 = +* Enhancement: Support added for PHP 8.3. +* Enhancement: Support added for handling deleted articles (in iCloud News Publisher). +* Enhancement: Add a new hook, `apple_news_after_push_failure`, that fires when a post fails to be pushed to Apple News. * Enhancement: Debugging Settings: support added for sending notification to multiple email accounts. * Enhancement: Debugging Settings: support added for client side validation of the email accounts. -* Enhancement: Support added for handling deleted articles (in iCloud News Publisher). * Enhancement: REST Endpoints actually return a `WP_Error` if Apple News *is not* initialized. -* Enhancement: Add a new hook, `apple_news_after_push_failure`, that fires when a post fails to be pushed to Apple News. -* Enhancement: Support added for PHP 8.3. -* Enhancement: Support added for PHPStan. +* Bugfix: Fixed an issue where a root-relative image URL used the URL to the WordPress installation instead of the URL to the front-end, which WordPress allows admins to configure to be different URLs. * Bugfix: API Settings: fixed an issue where the latest `value` was not rendered after an update. -* Bugfix: Fixed an issue where a root-relative image url used the wrong base url. = 2.5.1 =