Skip to content

Commit ee6d9bb

Browse files
committed
chore(release): bump version to 1.3.1
Made-with: Cursor
1 parent 09f6ac3 commit ee6d9bb

5 files changed

Lines changed: 26 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@
66

77
---
88

9+
## [1.3.1] — 2026-03-08
10+
11+
### Fixed
12+
13+
- **Duplicate page header** — The Dispatch admin page was rendering its header and content twice because `add_menu_page` and `add_submenu_page` both registered a callback on the same WordPress hook (`toplevel_page_telex`). Removed the redundant callback from the submenu registration; the sidebar label still reads "Projects" as intended.
14+
- **Activity & Health tab loading state** — Replaced the plain spinner on the Activity and Health tabs with proper skeleton tables that match the real content layout, eliminating a jarring layout shift when data loads.
15+
- **PHPStan — `wp_json_encode` return type** (`Telex_Notifications`) — `wp_json_encode()` can return `false`; the return value is now stored in a variable and a safe fallback (`'{}'`) is used on failure.
16+
- **PHPStan — redundant `array_values()` after `usort()`** (`Telex_Snapshot`) — `usort()` already reindexes the array in-place; the redundant `array_values()` call and unnecessary `??` fallbacks on guaranteed keys were removed.
17+
- **PHPCS — doc-comment violations** in `Telex_Analytics` and `Telex_Health` — Inline `@var` type-narrowing annotations now use the `@phpstan-var` tag with a proper short description, satisfying both PHPDoc and PHPStan conventions.
18+
- **PHPCS — false-positive "commented-out code"** — Array-shape type annotations in the form `array{key: type}` were being flagged as commented-out PHP code. Suppressed `Squiz.PHP.CommentedOutCode.Found` in `phpcs.xml.dist` for the entire project.
19+
20+
---
21+
922
## [1.3.0] — 2026-03-08
1023

1124
This is the biggest Dispatch release yet. We went from a deployment tool to a

includes/class-telex-rest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2157,7 +2157,7 @@ public static function get_users_list(): \WP_REST_Response {
21572157
);
21582158

21592159
$data = array_map(
2160-
static fn( object $u ) => [
2160+
static fn( \WP_User $u ) => [
21612161
'id' => (int) $u->ID,
21622162
'name' => (string) $u->display_name,
21632163
],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "telex",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "Install blocks and themes from your Telex projects.",
55
"private": true,
66
"license": "GPL-2.0-or-later",

readme.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: regionallyfamous
33
Tags: blocks, themes, installer, telex, ai
44
Requires at least: 6.7
55
Tested up to: 6.8
6-
Stable tag: 1.3.0
6+
Stable tag: 1.3.1
77
Requires PHP: 8.2
88
License: GPL-2.0-or-later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -110,6 +110,11 @@ Open an issue at [github.com/regionallyfamous/dispatch](https://github.com/regio
110110

111111
== Changelog ==
112112

113+
= 1.3.1 =
114+
* Fix: Duplicate page header — the Dispatch admin page was rendering its header and all content twice due to a duplicate WordPress hook registration. Resolved by removing the redundant callback from the submenu entry.
115+
* Fix: Activity and Health tabs now show skeleton loaders instead of a plain spinner while data loads.
116+
* Fix: PHPStan and PHPCS housekeeping in Notifications, Snapshot, Analytics, and Health classes.
117+
113118
= 1.3.0 =
114119
* New: Build snapshots — capture your entire installed project set and restore it in one click. `wp telex snapshot create/list/restore/delete` in CLI.
115120
* New: Version pinning — lock any project at its current build to prevent updates. Pinned projects are skipped by `wp telex update --all`.
@@ -194,6 +199,9 @@ Open an issue at [github.com/regionallyfamous/dispatch](https://github.com/regio
194199

195200
== Upgrade Notice ==
196201

202+
= 1.3.1 =
203+
Patch release fixing a critical bug that caused the entire admin page to render twice. Update immediately.
204+
197205
= 1.3.0 =
198206
Major feature release: build snapshots, version pinning, auto-update preferences, Slack/email notifications, project groups, block analytics, and a GDPR-ready audit log. No database migrations required beyond the auto-created tables.
199207

telex.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Dispatch for Telex
44
* Plugin URI: https://telex.automattic.ai
55
* Description: Telex builds the block. Dispatch ships it. Install, update, and remove Telex-generated blocks and themes from wp-admin — no zip files, no upload forms.
6-
* Version: 1.3.0
6+
* Version: 1.3.1
77
* Requires at least: 6.7
88
* Tested up to: 6.8
99
* Requires PHP: 8.2
@@ -26,7 +26,7 @@
2626
}
2727
define( 'TELEX_LOADED', true );
2828

29-
define( 'TELEX_PLUGIN_VERSION', '1.3.0' );
29+
define( 'TELEX_PLUGIN_VERSION', '1.3.1' );
3030
define( 'TELEX_PLUGIN_FILE', __FILE__ );
3131
define( 'TELEX_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
3232
define( 'TELEX_PUBLIC_URL', 'https://telex.automattic.ai' );

0 commit comments

Comments
 (0)