From 936f716be5d52fa4563180bee174993361927ca0 Mon Sep 17 00:00:00 2001 From: Sheng Kun Chang Date: Sun, 14 Jun 2026 17:06:40 +0800 Subject: [PATCH] chore: release 0.5.8 Rollup of #309 (sidebar reload race: width + tab restore), #307 (delete-conversation confirm dialog), #308 (gutter xl:px-10). Bump + CHANGELOG; release label publishes 0.5.8 on merge. Co-Authored-By: Claude Opus 4.8 (1M context) --- CHANGELOG.md | 15 +++++++++++++++ package.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f346254b7..ea5e4525b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,21 @@ Notable API additions and breaking changes. For the full commit log, see [GitHub Releases](https://github.com/mirrorstack-ai/web-ui-kit/releases). +## 0.5.8 + +- Agent sidebar reload reliability: the persisted drag-width and the restored + tabs/active conversation are no longer lost on reload. Fixes two races — the + controlled-open width *seed* placing a placeholder before the async width + fetch resolved (saved width discarded), and a focus/refetch or host mutation + during the in-flight tab hydrate stranding a fresh "new chat" draft over the + restored conversation. The fetched width is now authoritative once, and the + first load wins regardless of source. +- `AgentSidebarHeader`: deleting a conversation now opens a destructive + confirmation dialog (fires only on confirm), with optional localizable labels + (`deleteConfirmTitle`/`deleteConfirmMessage`/`deleteConfirmConfirmLabel`/ + `deleteConfirmCancelLabel`). +- `AppShell`: content gutter tightened at xl (`xl:px-12` → `xl:px-10`). + ## 0.5.7 - `AppShell`: new optional controlled-open props `open?` / `onOpenChange?`. The diff --git a/package.json b/package.json index 33d3f0e06..24ee47f50 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@mirrorstack-ai/web-ui-kit", "packageManager": "pnpm@10.29.3", - "version": "0.5.7", + "version": "0.5.8", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": {