diff --git a/changelog/2026-04-15-cn.mdx b/changelog/2026-04-15-cn.mdx new file mode 100644 index 0000000..f233035 --- /dev/null +++ b/changelog/2026-04-15-cn.mdx @@ -0,0 +1,29 @@ +--- +date: 2026-04-15 +title: "更新日志 — 2026年4月15日" +lang: cn +author: ZhenYi +--- + +## 产品发布 + +项目正式启动 — 一个融合 GitHub 风格代码管理与实时消息的自托管协作平台。 + +## 前端 + +- 上线"Command as Service"概念首页,展示平台作统一的命令驱动工作空间。 +- 侧边栏现在获取完整工作空间数据以确保导航准确。 + +## 部署排版 + +- 统一 Kubernetes Ingress 实现按域名路由到各服务。 +- 生产服务至少 2 副本,共确保高可用。 +- 持久卷在 Helm 卸载时受保护。 +- SMTP 邮件服务配置完成。 +- Nginx 动态上游 DNS 解析配置。 +- 所有部署模板支持镜像拉取密钥。 + +## Git 基础设施 + +- 迁移系统初始化,支持工作空间和项目。 +- 初始迁移移除外键约束以简化部署。 diff --git a/changelog/2026-04-15-en.mdx b/changelog/2026-04-15-en.mdx new file mode 100644 index 0000000..2dea218 --- /dev/null +++ b/changelog/2026-04-15-en.mdx @@ -0,0 +1,30 @@ +--- +date: 2026-04-15 +title: "Changelog — April 15, 2026" +lang: en +author: ZhenYi +--- + +## Launch + +Initial project launch — a self-hosted collaboration platform combining GitHub-style code management with real-time messaging. + +## Frontend + +- Landing pages with "Command as Service" concept — showcasing the platform as a unified command-driven workspace. +- Sidebar now fetches full workspace data for accurate navigation. + +## Deployment + +- Unified Kubernetes ingress with per-host routing for all services. +- Minimum 2 replicas enforced for production services to ensure high availability. +- Persistent volume claims protected from deletion during Helm uninstall. +- SMTP email service configured with proper env vars. +- Nginx resolver configured for dynamic upstream DNS resolution. +- ConfigMap/Secret refactoring for cleaner deployment templates. +- Image pull secrets support added to all deployment templates. + +## Git Infrastructure + +- Migration system initialized with workspace and project support. +- All foreign key constraints removed from initial SQL migrations to simplify deployment. diff --git a/changelog/2026-04-16-cn.mdx b/changelog/2026-04-16-cn.mdx new file mode 100644 index 0000000..5ce4cf5 --- /dev/null +++ b/changelog/2026-04-16-cn.mdx @@ -0,0 +1,45 @@ +--- +date: 2026-04-16 +title: "更新日志 — 2026年4月16日" +lang: cn +author: ZhenYi +--- + +## 消息与房间 + +- Redis 替代 NATS 作为消息队列核心,提升可靠性。 +- 消息发送采用乐观更新机制,立即显示同时后台确认。 +- 原子序列号防止消息乱序。 +- 重连采用指数退避抖动策略,避免连接风暴。 +- 修复了重复发送、订阅失效、编辑回滚等问题。 + +## Git 与仓库 + +- 后端现在返回 SSH 克隆 URL,为 Git 操作做好准备。 +- HTTP 和 SSH 传输协议均得到加固。 +- SSH 速率限制已移除,由基础设施层处理。 +- LFS 上传大小限制生效。 +- 存储路径在同步前进行存在性检查。 + +## AI 与模型同步 + +- 应用启动时自动同步上游模型,每小时自动更新。 +- 服务重构,移除硬编码的模型名称推断。 + +## 前端与 SEO + +- 所有首页添加了 SEO 元标签(标题、描述)。 +- 首页内容全面围绕 "Command as Service" 品牌定位。 +- 修复了项目名称可用性检查(404 检测改进)。 + +## 基础设施 + +- Docker 镜像中安装了 Git。 +- Kubernetes operator CRD 定义完成。 +- WebSocket 支持自定义域名来源。 +- Cargo 依赖更新(russh 降级到 0.50.4)。 + +## 文档 + +- 分支保护、提交规范、gitflow 指南完成。 +- README 更新以反映 Redis pub/sub 架构。 diff --git a/changelog/2026-04-16-en.mdx b/changelog/2026-04-16-en.mdx new file mode 100644 index 0000000..4772404 --- /dev/null +++ b/changelog/2026-04-16-en.mdx @@ -0,0 +1,47 @@ +--- +date: 2026-04-16 +title: "Changelog — April 16, 2026" +lang: en +author: ZhenYi +--- + +## Messaging & Rooms + +- Redis replaces NATS as the message queue backbone for improved reliability. +- Optimistic message sending — messages appear instantly while being confirmed server-side. +- Atomic sequence numbers prevent message ordering issues. +- Exponential backoff jitter for reconnection to avoid thundering herd. +- Fixed double-send bug, stale subscriptions, and edited_at rollback on fetch failure. + +## Git & Repositories + +- SSH clone URLs now returned from backend — ready for git operations. +- Git transport hardened for both HTTP and SSH protocols. +- SSH rate limiting removed — handled at the infrastructure layer. +- LFS upload size limits enforced. +- Pool panic detection improved with diagnostic logging. +- Storage path existence verified before sync operations. +- SSH channel lifecycle logging added. + +## AI & Model Sync + +- Auto-sync OpenRouter models on app startup and every 10 minutes. +- Service refactored to remove hardcoded model-name inference. + +## Frontend & SEO + +- SEO meta tags added to all landing pages (title, description). +- Landing pages aligned with "Command as Service" brand across all sections. +- Fixed project name availability check (404 detection improved). + +## Infrastructure + +- Docker images now include Git. +- CRD definitions added for Kubernetes operator. +- WebSocket origins allowed for custom domains. +- Cargo dependency updates (russh downgrade to 0.50.4). + +## Documentation + +- Branch protection, commit conventions, and gitflow guides added. +- README updated to reflect Redis pub/sub architecture. diff --git a/changelog/2026-04-17-cn.mdx b/changelog/2026-04-17-cn.mdx new file mode 100644 index 0000000..a8da54e --- /dev/null +++ b/changelog/2026-04-17-cn.mdx @@ -0,0 +1,43 @@ +--- +date: 2026-04-17 +title: "更新日志 — 2026年4月17日" +lang: cn +author: ZhenYi +--- + +## 消息与房间 + +- 消息现在通过 WebSocket 拉取(而非 HTTP),消除重复连接。 +- 缓存的聊天消息支持加载回应数据。 +- 回应弹出面板现在受控,选择后正确关闭。 +- 评论提交通道已修复,包含正确的回应类型和验证逻辑。 +- 房间设置面板中显示模型名称而非 UUID。 +- IndexedDB 缓存实现即时加载,无需等待 WebSocket 连接。 +- 滚动性能通过调整虚拟化采样窗口得到提升。 + +## AI 与模型同步 + +- 模型同步稳定性改进,错误处理更加完善。 +- AI 对话流处理修复 — 流式传输现已可靠。 +- 房间 AI 表迁移新增 stream 列。 + +## Git 与仓库 + +- 基于 Redis 的 hook 工作者支持按仓库分布式锁定。 +- 默认分支统一使用 refs/heads/* 格式。 +- 多个分支和上游查询 bug 已修复。 +- API 路由排序修复,防止阴影隐藏(分支/引用/提交)。 +- Hook 池重构,同步执行改为直接顺序模式。 + +## 前端 + +- SPA 静态资源可在编译时嵌入到应用二进制。 +- 提及系统基于 AST 重构,渲染更可靠。 +- 提及弹出面板优化了缓存和稳定引用。 +- 重连优先使用现有 token 再请求新的。 + +## 性能 + +- 滚动处理简化,回调引用更稳定。 +- IndexedDB 优先加载,消息即时显示。 +- 虚拟化采样窗口增大到 30。 diff --git a/changelog/2026-04-17-en.mdx b/changelog/2026-04-17-en.mdx new file mode 100644 index 0000000..52cb2e9 --- /dev/null +++ b/changelog/2026-04-17-en.mdx @@ -0,0 +1,45 @@ +--- +date: 2026-04-17 +title: "Changelog — April 17, 2026" +lang: en +author: ZhenYi +--- + +## Messaging & Rooms + +- Message fetching now uses WebSocket (not HTTP), eliminating duplicate connections. +- Reactions now work for cached messages via WebSocket-first fallback. +- Reaction popover is now controlled — closes properly after selection. +- Comment submissions fixed with correct reaction types and validation. +- Model names now display instead of UUIDs in room settings panel. +- IndexedDB cache loads instantly without waiting for WebSocket connection. +- Batch reactions endpoint added for HTTP fallback. +- Scroll performance improved with virtualizer overscan increase. + +## AI & Model Sync + +- Model sync robustness improved with refined error handling. +- AI conversation stream handling fixes — streaming now reliable. +- Room AI table migration adds missing stream column. + +## Git & Repositories + +- Redis-backed hook worker with per-repo distributed locking. +- Default branch now uses refs/heads/* format consistently. +- Multiple branch and upstream query bugs fixed. +- Route order fixes prevent API shadowing (branches/refs/commits). +- Hook pool refactored — sync execution is now direct and sequential. +- Deployments updated with git-hook PVC mount and env configuration. + +## Frontend + +- SPA assets can now be embedded into the app binary at compile time. +- Mentions redesigned with AST-based processing for reliable rendering. +- MentionPopover optimized with caching and stable refs. +- Reconnection tries existing token before requesting new one. + +## Performance + +- Scroll handler simplified, callback refs stabilized. +- IndexedDB prioritized for instant message loads. +- Overscan increased to 30 for smoother scrolling.