Files
opsxsql/RELEASE_NOTES.md

41 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# SQL-Platform-Pro v0.1.0 Release Notes
## 🎯 首个里程碑版本
核心定位:**自助查询 + 数据变更审批流**,支持 MySQL / PostgreSQL / Redis / MongoDB 多数据库。
## ✨ 核心功能
### 数据源管理
- 多数据库实例注册(MySQL / PostgreSQL / Redis / MongoDB)
- 连接测试(异步驱动 + 品牌图标)
- 独立编辑弹框 + 4列卡片布局
### SQL 审核引擎
- MySQL: 67条规则 (DDL 36 + DML 9 + 安全 9 + 性能 5 + 命名 5 + OSC 3)
- PostgreSQL: 31条规则
- Redis: 25条规则
- MongoDB: 31条规则
- 6分组前端展示: DDL / DML / 安全 / DCL / DQL / 性能
- 结构化审核结果: 分数 + 通过/阻断 + findings 逐条
### 数据变更审批流
- 标准审批流(DBA审批 → 管理员终审)
- 简单审批流 / 紧急审批流
- 工单全生命周期: 创建 → 审核 → 审批 → 执行 → 结果
- 执行结果结构化展示(状态/影响行数/耗时/错误/警告)
### 权限体系
- RBAC 角色权限(admin / dba / developer)
- 数据源级别权限控制
- 完整审计日志
## 🧪 测试
- **1040** 测试全部通过
- 前端 TypeScript 零错误
- TDD 开发流程
## 🏗️ 技术栈
- 后端: Python / FastAPI / SQLAlchemy async / SQLite
- 前端: React / Vite / TypeScript / shadcn/ui / Tailwind / CodeMirror