diff --git a/bun.lock b/bun.lock index cfb9b0ed..caa36bb1 100644 --- a/bun.lock +++ b/bun.lock @@ -1,5 +1,6 @@ { "lockfileVersion": 1, + "configVersion": 0, "workspaces": { "": { "name": "@stellarwp/harbor", diff --git a/changelog.txt b/changelog.txt index 9bf447d7..bbcd51be 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,8 @@ +### [1.4.0] 2026-05-21 + +* Fix - Type-hint in WP Core's callback was too strict and could cause fatal. +* Feature - Added the `lw_harbor_refresh_catalog()` global function to force a synchronous re-fetch of the product catalog from the Commerce Portal API. + ### [1.3.0] 2026-05-19 * Feature - Registered Legacy Licenses can now be utilized for updates if `use_for_updates` is `true`. diff --git a/changelog/fix-drop-type-hint-from-wp-callback.yaml b/changelog/fix-drop-type-hint-from-wp-callback.yaml deleted file mode 100644 index a70ce4aa..00000000 --- a/changelog/fix-drop-type-hint-from-wp-callback.yaml +++ /dev/null @@ -1,4 +0,0 @@ -significance: patch -type: fix -entry: Type-hint in WP Core's callback was too strict and could cause fatal. -timestamp: 2026-05-21T15:02:34.497Z diff --git a/changelog/main.yaml b/changelog/main.yaml deleted file mode 100644 index be936318..00000000 --- a/changelog/main.yaml +++ /dev/null @@ -1,5 +0,0 @@ -significance: patch -type: feature -entry: Added the `lw_harbor_refresh_catalog()` global function to force a - synchronous re-fetch of the product catalog from the Commerce Portal API. -timestamp: 2026-05-21T14:27:00.315Z diff --git a/src/Harbor/Admin/Feature_Manager_Page.php b/src/Harbor/Admin/Feature_Manager_Page.php index 142f07c8..35d8aea3 100644 --- a/src/Harbor/Admin/Feature_Manager_Page.php +++ b/src/Harbor/Admin/Feature_Manager_Page.php @@ -128,7 +128,7 @@ public function maybe_register_page(): void { * the React bundle is loaded only on this specific admin page. * * @since 1.0.0 - * @since TBD Dropped string type-hint for $hook_suffix. + * @since 1.4.0 Dropped string type-hint for $hook_suffix. * * @param string $hook_suffix Current admin page hook suffix. * diff --git a/src/Harbor/Harbor.php b/src/Harbor/Harbor.php index 16f9bed6..1760d459 100644 --- a/src/Harbor/Harbor.php +++ b/src/Harbor/Harbor.php @@ -15,7 +15,7 @@ class Harbor { * * @var string */ - public const VERSION = '1.3.0'; + public const VERSION = '1.4.0'; /** * Initializes the service provider. diff --git a/src/Harbor/global-functions.php b/src/Harbor/global-functions.php index b85558dc..60b254fb 100644 --- a/src/Harbor/global-functions.php +++ b/src/Harbor/global-functions.php @@ -252,7 +252,7 @@ function lw_harbor_get_license_page_url(): string { * Portal API responds. Returns true on a successful refresh, false on any * failure (HTTP error, parsing error, or Harbor not being active). * - * @since TBD + * @since 1.4.0 * * @return bool Whether the catalog was refreshed successfully. */