From 165b6c3868a04d214f4557de20d66e1151a48e61 Mon Sep 17 00:00:00 2001 From: Carrie Dils Date: Tue, 14 Apr 2026 09:53:54 -0500 Subject: [PATCH 1/3] Add warning about auto-closing PRs Signed-off-by: Carrie Dils --- RELEASE.MD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RELEASE.MD b/RELEASE.MD index 1cd424ec..86280ecb 100644 --- a/RELEASE.MD +++ b/RELEASE.MD @@ -117,6 +117,8 @@ The `release/X.Y.Z` branch must be merged to `development` for testing and valid **BE AWARE!** The release branch may be auto-deleted. If so, _BEFORE_ you close the window, click **RESTORE BRANCH** +**ALSO BE AWARE!** Any open PRs targeting the release branch will be auto-closed if the branch is deleted. You will need to reopen them. + ## 5. Create a new release on GitHub 1. From the repository's main page, click the **Releases** link — or go directly to the [Releases page](https://github.com/fairpm/fair-plugin/releases). From 943c9bc7b05ba4e661b6ec00c7b07fe4e4559f70 Mon Sep 17 00:00:00 2001 From: Andy Fragen Date: Wed, 15 Apr 2026 16:57:30 -0700 Subject: [PATCH 2/3] add error checking in add_package_to_release_cache() (#471) --- inc/packages/namespace.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/inc/packages/namespace.php b/inc/packages/namespace.php index 0c0dbc62..28ee8886 100644 --- a/inc/packages/namespace.php +++ b/inc/packages/namespace.php @@ -936,8 +936,12 @@ function add_package_to_release_cache( string $did ) : void { if ( empty( $did ) ) { return; } + $latest_release = get_latest_release_from_did( $did ); + if ( is_wp_error( $latest_release ) ) { + return; + } $releases = get_site_transient( CACHE_RELEASE_PACKAGES ) ?: []; - $releases[ $did ] = get_latest_release_from_did( $did ); + $releases[ $did ] = $latest_release; set_site_transient( CACHE_RELEASE_PACKAGES, $releases ); } From 8ae9cc0719b08e2be925a299fd4ffae224a27339 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2026 10:41:20 -0500 Subject: [PATCH 3/3] [bump-version] Bump version to 1.4.0-BETA5 (#472) Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Carrie Dils Co-authored-by: cdils <3099408+cdils@users.noreply.github.com> Co-authored-by: Carrie Dils --- plugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.php b/plugin.php index 308facb2..e45cd0b6 100644 --- a/plugin.php +++ b/plugin.php @@ -2,7 +2,7 @@ /** * Plugin Name: FAIR Connect - Federated and Independent Repositories * Description: Make your site more FAIR. - * Version: 1.4.0-BETA + * Version: 1.4.0-BETA5 * Author: FAIR Contributors * Author URI: https://fair.pm * Security: security@fair.pm @@ -20,7 +20,7 @@ namespace FAIR; -const VERSION = '1.4.0-BETA'; +const VERSION = '1.4.0-BETA5'; const PLUGIN_DIR = __DIR__; const PLUGIN_FILE = __FILE__;