Releases: ZengLiangYi/ChatCrystal
Releases · ZengLiangYi/ChatCrystal
ChatCrystal v0.5.2
Markdown Export
- Added single-note Markdown export from the note detail page for readable backup and sharing.
- Exported notes now use minimal frontmatter with title, optional tags, optional source type, and local export time only.
- Localized exported Markdown section headings so Simplified Chinese and English UI modes generate matching document labels.
- Added a shared Markdown export helper with filename sanitization, safe YAML values, and robust code fence handling.
- Reused shadcn/ui Button primitives for note detail actions and added shadcn/sonner-based export failure feedback.
- Added regression coverage for Markdown generation, localized export labels, i18n coverage, and note detail UI wiring.
ChatCrystal v0.5.1
Desktop Updates
- Added a manual Electron update check backed by GitHub Releases, with support for
v*andelectron-v*release tags. - Added update entry points in the tray menu and Settings page while keeping the application menu unchanged.
- Reused the existing bottom prompt area so available-update copy can replace the GitHub Star prompt without adding another banner.
- Kept automatic update checks non-disruptive: failures stay silent, while manual failures show a release-page fallback.
- Added persisted update reminder and skipped-version state so users can defer or skip a version without repeated prompts.
ChatCrystal v0.5.0
Knowledge Graph
- Tag knowledge graph - Rebuilt the default graph experience around tags as knowledge-point nodes, with normalized co-occurrence edges so the graph remains useful without explicit note-relation analysis.
- Scalable graph projection - Added
/api/graph/projectionas a bounded render-ready graph API, while keeping the legacy note relation graph API for compatibility. - Sigma graph engine - Migrated the graph canvas from
react-force-graph-2dto Sigma.js and Graphology for a stronger foundation as note collections grow. - Knowledge-point details - Clicking a tag now opens a right-side detail panel with related notes, project metadata, and direct note navigation.
- Graph readability polish - Refined light/dark theme contrast, label rendering, hover cards, zoom controls, neighborhood highlighting, and lower-left graph controls for a clearer workspace.
Documentation
- Updated README screenshots, user guides, and development docs to describe the tag-based knowledge graph and the graph projection API.
ChatCrystal v0.4.21
Desktop & Cloud
- Improved Electron cloud connection diagnostics so network-level failures explain invalid
0.0.0.0client addresses and Windows Docker Desktop host/LAN port caveats instead of surfacing rawTypeError: fetch failed. - Moved Electron cloud local-history upload into a worker process so scanning and uploading local AI histories no longer blocks the Electron main process.
- Added an Electron cloud-mode sidebar action for uploading local histories directly from the desktop app without showing CLI instructions.
- Unified the Electron default and minimum window size at
1280x800so reconnect/onboarding layouts do not reopen in a too-narrow saved window. - Changed the Docker Compose cloud binding default to
0.0.0.0while documenting when to use loopback behind a local reverse proxy. - Documented Windows Docker Desktop host-port caveats for LAN IP testing of Docker cloud deployments.
Search & Demo
- Reduced misleading semantic-search confidence by filtering weak vector hits that miss required query terms and promoting strong lexical matches above weak vector neighbors.
- Relabeled search result percentages as relevance and refreshed demo screenshots with the current UI.
- Made demo seeding clear the demo vector index so screenshot/demo data does not reuse stale semantic-search results.
ChatCrystal v0.4.20
Security
- Updated the React Router lockfile resolution to
7.16.0to address the high-severity__manifestpath expansion DoS advisory reported by npm audit.
ChatCrystal v0.4.19
Desktop & Access Layer
- React access layer — Rebuilt Electron onboarding as a dedicated Vite React entry and aligned it with
AuthGateScreenthrough a sharedAccessShell, removing the duplicated handwritten onboarding HTML/CSS/JS path. - Unified onboarding entry — Electron and browser preview now use
/electron-onboarding/index.html, while the main SPA no longer carries a separate/onboardingpreview route. - Dawn Haze defaults — Set the Electron main-process shell to a light native theme with the Dawn Haze startup background, and made Dawn Haze the client fallback when no saved theme preference exists.
UI Foundation
- Settings shadcn/ui migration — Modernized Settings controls with shared select, input, switch, toggle, button, alert, and dialog primitives while keeping the compact desktop settings layout.
- Notes filter polish — Kept task memory as a tag-like filter, integrated clear-filter behavior into the tag search control, and stabilized dense toolbar layout when tags are selected.
- Relation graph polish — Moved graph relation and project colors into semantic theme tokens and refreshed graph controls, legend, tooltip, and canvas styling for theme-consistent visuals.
Security
- Updated transitive npm dependencies through the lockfile to clear npm audit vulnerabilities without changing direct dependency ranges.
Quality
- Added regression coverage for the React onboarding entry, shared access shell, Electron onboarding URL helper, Settings control migration, graph semantic colors, notes filter behavior, and Dawn Haze default theme behavior.
ChatCrystal v0.4.18
Desktop & UI
- Modern Electron shell — Added a frameless desktop window, custom title bar controls, refreshed sidebar styling, theme-aware top chrome, and browser-safe external link handling.
- shadcn/ui foundation — Added the first shadcn/ui component set for buttons, inputs, dialogs, popovers, commands, badges, toggles, checkboxes, radio groups, scroll areas, and tooltips while preserving ChatCrystal's runtime theme system.
- Notes and search polish — Reworked the Notes filter toolbar, tag search popover, selected tag chips, delete feedback dialog, and semantic search controls with consistent component primitives.
- Bilingual UI cleanup — Centralized new Simplified Chinese and English copy in locale files, removed awkward mixed-language labels, and fixed route/title duplication in the desktop shell.
Notes & Memory Sources
- Source-aware notes API — Notes list/detail responses now expose source metadata and
can_open_original_conversation, so synthetic task memories no longer show a broken original-conversation entry. - Task memory filtering — Notes default to conversation summaries, task memory can be toggled as a tag-like filter, and repeated
tagquery parameters now keep intersection semantics. - Large tag sets — Replaced the always-expanded tag cloud with searchable tag selection so databases with hundreds of tags remain usable.
Cloud & Authentication
- Personal cloud deployment — Added Docker cloud deployment for a single-instance ChatCrystal server, GHCR publishing, and Compose defaults for pulling the published image.
- Shared access token flow — Added first-run setup mode and bearer token authentication for Web, API, CLI, and MCP, plus CLI cloud connection commands and remote import from local AI tool histories.
- Cloud-safe imports — Disabled server-side local scan import in cloud mode to avoid scanning container paths.
Quality
- Added regression coverage for auth refresh stability, i18n key parity, theme token safety, Electron external navigation, note source filtering, and task-memory note behavior.
ChatCrystal v0.4.17
Release v0.4.17
ChatCrystal v0.4.16
Release v0.4.16
ChatCrystal v0.4.15
Release v0.4.15