Skip to content

Changelog

All notable changes to HealthGuard will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[0.3.0] - 2026-06-18

Added

  • New @health-guard/repair-agent package: scans project SDK config, logs in to HealthGuard, pulls issue list/details, and supports local source keyword matching.

Fixed

  • SDK transport failures now use backoff retry (transportFailureRetryDelayMs, default 30s); failed events are requeued and manual flush() forces a retry.
  • sdk-uniapp and sdk-miniprogram now align with sdk-web backoff retry behavior.

Changed

  • Public npm packages bumped to 0.3.0.

[0.2.0] - 2026-06-09

Added

  • Manual Repair Tasks (Repair Task Phase 1)
    • Create repair tasks from Issues with agent selection (Hermes / Codex / Claude Code / Manual)
    • Task status flow: pending → claimed → running → pr_created → closed
    • Dashboard repair task list, detail page, and cancel action
    • PostgreSQL persistence for repair tasks and progress notes
    • Separate authentication APIs and agent APIs
  • Issue management and filtering
  • Shortened Issue ID display + copy-to-AI button
  • Version number in Dashboard sidebar
  • Alipay mini-program monitoring context
  • Missing CSS styles and i18n for issue detail page

Fixed

  • Prevent infinite recursion loop when SDK transport fails
  • Remove unused reactive import

Docs

  • Repair task workflow design document (Chinese & English)
  • Repair task Phase 1 implementation plan

[0.1.0] - 2026-05-01

Added

  • H5/Web SDK (@health-guard/sdk-web)
    • Automatic JavaScript error capture
    • HTTP request failure monitoring (fetch + XHR)
    • Promise rejection capture
    • Performance metrics collection
  • WeChat Mini Program SDK (@health-guard/sdk-miniprogram)
    • Runtime error capture
    • Promise rejection capture
    • wx.request monitoring
    • Page lifecycle breadcrumbs
  • uni-app Multi-platform SDK (@health-guard/sdk-uniapp)
    • Supports H5, WeChat, Alipay, Douyin, App platforms
    • Automatic runtime environment detection
    • Device info and page URL detection
  • Dashboard Frontend (Vue 3 + Vite)
    • Project management (create, view, SDK integration guide)
    • Overview page (event stats, error rate, failed requests)
    • Issue list (aggregation, platform filter, time filter)
    • Issue detail (stack trace, breadcrumbs, event timeline)
    • Auto-detect language with manual override
  • Server Backend (Node.js + Fastify)
    • Batch event ingestion API
    • Issue aggregation and pagination
    • Local authentication (register/login, session token)
    • Per-user project isolation
  • PostgreSQL Persistence
    • Connection pooling (pg.Pool)
    • Batch INSERT optimization
    • Timestamp indexing
    • Automatic data retention cleanup
  • Docker One-Click Deploy
    • docker-compose.yml (PostgreSQL + Server + Dashboard)
    • Health check endpoint
    • Deployment guide
  • Security Hardening
    • Authentication on all query endpoints
    • nanoid ID generation
    • Graceful shutdown (SIGTERM/SIGINT)
    • Rate limiting and CORS

Docs

  • README (Chinese & English)
  • Operator guide
  • AI CLI operations manual

Released under the MIT License.