Repository navigation
Releases: yunnuo88520/Unicore
Release list
Unicore v0.1.2 · 开发预览 / Development preview
Unicore v0.1.2
中文
开发预览;不是稳定版。
本版变化
- 桌面分发新增 macOS 拖拽安装 DMG、Windows 直接运行 EXE,保留 OTA tar;Linux Web 提供 unicore/unicorehelp、帮助及拒绝覆盖的可选 JSON 配置生成/加载,首次安装仍由 /install 引导。
- 仓库 README 与新版本变更说明同步中英文;候选从 Changelog 和真实产物生成双语 Release 说明,版本准备与 CI 拒绝缺语言、缺配对条目或占位符;派生项目也生成双语入口。
- 明确用户包、派生应用与 Wiki 的独立文档白名单,精简框架导航;新增工具显式纳入模板导出,保持品牌、契约和开发命令复用。
- 平台统一本地/MinIO/S3/OSS/COS 持久分片上传,支持暂停、继续、刷新/重启续传与确认字节进度;管理员可设置大小、分片和并发策略(默认 100 MiB,策略上限 64 GiB,非压测承诺)。COS 实云权限及其他 S3 服务仍须独立验证。
- 新增平台公告管理、定时/草稿、批量软删除、安全详情与用户工作台单行轮播;Goldmark 升至 1.7.17,修复 GO-2026-5320,并保留链接与富文本安全校验。
- 引入统一业务实体、分页、软删除、并发与分层开发规范;修正日志详情重复,邮件默认中文内容独立于界面语言。
- 管理端操作日志支持类型、关键词、日期、操作者/目标/IP 快照、排序分页与 CSV 导出;邮件模板独立编辑五种发送场景,包含预览、变量、测试发送与恢复默认。
- 图形入口共用中英文切换和本地主题抽屉,偏好跨标签同步、刷新/原生重启保留;移除 RTL 偏好并修复布局遮挡,递归双语检查阻止遗漏英文。
- 修复 Windows SQLite 盘符和 file URI 解析,启动失败显示原生错误弹窗;CI 验证真实 Windows exe 的窗口启动、SQLite 初始化、重启与失败提示。
- 接入管理员专用 GitHub/HTTPS 签名 OTA、离线版本历史、备份确认、程序切换和失败回滚;Ed25519 更新清单与派生信任隔离独立于可选的 macOS/Windows 系统签名,Docker 继续外部替换镜像。
- 更新 Go、Wails、SQLite、对象存储 SDK、OAuth2、前端工具与 GitHub Actions,最低 Node 22 补丁提升至 22.22.2;保留 TypeScript 5/Vite 7 基线与完整依赖安全门禁。
- 从 v0.1.1 升级涉及平台迁移 0010–0012 与业务迁移 0002;升级前停服并完整备份数据库、私有目录和密钥,在隔离副本验证。回退须恢复升级前快照和匹配旧程序,不能只换旧 binary。
下载与安装
| 形态 | 系统/架构 | 文件 |
|---|---|---|
| cli | darwin/amd64 | unicore-cli-darwin-amd64-v0.1.2.tar.gz |
| cli | darwin/arm64 | unicore-cli-darwin-arm64-v0.1.2.tar.gz |
| cli | linux/amd64 | unicore-cli-linux-amd64-v0.1.2.tar.gz |
| cli | linux/arm64 | unicore-cli-linux-arm64-v0.1.2.tar.gz |
| cli | windows/amd64 | unicore-cli-windows-amd64-v0.1.2.tar.gz |
| cli | windows/arm64 | unicore-cli-windows-arm64-v0.1.2.tar.gz |
| desktop | darwin/arm64 | unicore-desktop-darwin-arm64-v0.1.2.tar.gz |
| desktop (dmg) | darwin/arm64 | unicore-desktop-darwin-arm64-v0.1.2.dmg |
| desktop | linux/amd64 | unicore-desktop-linux-amd64-v0.1.2.tar.gz |
| desktop | windows/amd64 | unicore-desktop-windows-amd64-v0.1.2.tar.gz |
| desktop (portable-exe) | windows/amd64 | unicore-desktop-windows-amd64-v0.1.2.exe |
| web-platform | linux/amd64 | unicore-web-platform-linux-amd64-v0.1.2.tar.gz |
| web-platform | linux/arm64 | unicore-web-platform-linux-arm64-v0.1.2.tar.gz |
| web-standalone | linux/amd64 | unicore-web-standalone-linux-amd64-v0.1.2.tar.gz |
| web-standalone | linux/arm64 | unicore-web-standalone-linux-arm64-v0.1.2.tar.gz |
macOS 下载 DMG,将 app 拖到 Applications;Windows 下载 EXE 直接运行(需要 WebView2);Linux 桌面解包运行,需要 GTK3/WebKitGTK 4.0。Web 解包后用 ./unicorehelp 查看帮助,./unicore config generate 生成可选配置,APP_DATA_DIR=/path/to/private-data ./unicore --config unicore.json 启动,然后访问 /install,并从私有目录的 bootstrap.token 读取一次性安装凭据。CLI 运行 bin/unicore(Windows 为 .exe)。请使用匹配 CPU 架构的文件。
升级与限制
升级前停服并成套备份数据库、私有数据目录与密钥,在隔离副本验证;数据库回退需恢复升级前快照与匹配旧程序。tar 继续供 OTA 使用;独立 Windows EXE 缺少完整发行目录时只支持检查更新。Docker 由外部替换镜像,不在容器内覆盖程序。
本候选包含经可信公钥验证的 Ed25519 OTA 清单;系统签名状态为 unsigned,unsigned 不代表 Apple/Windows 已签名或公证。原生构建、窗口启动与完整 GUI 更新/失败恢复是不同验收,不承诺所有 OS/架构或外部云存储均已实测。没有公开注册表镜像或真实授权服务,不包含生产部署。
English
Development preview; not a stable release.
Changes
- Add macOS drag-to-Applications DMG downloads and directly runnable Windows EXEs while retaining OTA tar archives. Linux Web includes unicore/unicorehelp, help, and optional JSON configuration generation/loading that refuses overwrites; /install remains the first-time setup entry.
- Provide Chinese and English READMEs and new release entries. Candidates generate bilingual notes from the Changelog and actual artifacts; version preparation and CI reject missing languages, unpaired entries, and placeholders. Derived projects also get bilingual entry points.
- Define separate documentation whitelists for user packages, derived applications, and the Wiki; simplify framework navigation and explicitly export new tooling while preserving reusable branding, contracts, and development commands.
- Unify persistent multipart uploads across local/MinIO/S3/OSS/COS storage with pause, resume across refreshes/restarts, and confirmed-byte progress. Administrators control size, chunking, and concurrency (100 MiB default, 64 GiB policy ceiling, not a load-test claim). COS cloud permissions and other S3 services still require independent validation.
- Add platform announcement administration, scheduling/drafts, bulk soft deletion, safe details, and a compact dashboard carousel. Upgrade Goldmark to 1.7.17 to fix GO-2026-5320 while retaining URL and rich-content safeguards.
- Introduce shared business-entity, pagination, soft-deletion, concurrency, and layering conventions; fix duplicate log details and keep default Chinese email content independent of UI language.
- Add audit-log type, keyword, date, actor/target/IP snapshots, sorting, pagination, and CSV export. A dedicated email-template editor covers five delivery scenarios with preview, variables, test delivery, and reset.
- Share Chinese/English switching and a local theme drawer across graphical profiles, with cross-tab synchronization and persistence across refreshes/native restarts. Remove RTL preferences, fix layout overlap, and recursively check for missing English messages.
- Fix Windows SQLite drive-letter and file-URI parsing and show native startup-error dialogs. CI exercises real Windows EXE window startup, SQLite initialization, restart, and failure messages.
- Add administrator-only GitHub/HTTPS signed OTA, offline release history, backup confirmation, program switching, and failure rollback. Ed25519 update manifests and isolated derived-project trust are separate from optional macOS/Windows OS signatures; Docker continues to use external image replacement.
- Update Go, Wails, SQLite, object-storage SDKs, OAuth2, frontend tooling, and GitHub Actions. Raise the minimum Node 22 patch to 22.22.2 while retaining the TypeScript 5/Vite 7 baseline and full dependency-security gates.
- Upgrading from v0.1.1 applies platform migrations 0010–0012 and business migration 0002. Stop the service, back up the database, private directory, and keys together, and validate on an isolated copy. Rollback requires the pre-upgrade snapshot and matching old program, not just an old binary.
Downloads and installation
| Profile | OS/architecture | File |
|---|---|---|
| cli | darwin/amd64 | unicore-cli-darwin-amd64-v0.1.2.tar.gz |
| cli | darwin/arm64 | unicore-cli-darwin-arm64-v0.1.2.tar.gz |
| cli | linux/amd64 | unicore-cli-linux-amd64-v0.1.2.tar.gz |
| cli | linux/arm64 | unicore-cli-linux-arm64-v0.1.2.tar.gz |
| cli | windows/amd64 | unicore-cli-windows-amd64-v0.1.2.tar.gz |
| cli | windows/arm64 | unicore-cli-windows-arm64-v0.1.2.tar.gz |
| desktop | darwin/arm64 | unicore-desktop-darwin-arm64-v0.1.2.tar.gz |
| desktop (dmg) | darwin/arm64 | unicore-desktop-darwin-arm64-v0.1.2.dmg |
| desktop | linux/amd64 | unicore-desktop-linux-amd64-v0.1.2.tar.gz |
| desktop | windows/amd64 | unicore-desktop-windows-amd64-v0.1.2.tar.gz |
| desktop (portable-exe) | windows/amd64 | [unicore-desktop-windows-amd64-v0.1.2.exe](https://github.com/yunnuo88520/Unicore/releases/download/v0.1.2... |
Unicore v0.1.1 · 开发预览
Unicore 首个公开开发预览:Go + React 共享业务核心,支持在线平台、单机 Web、Wails 原生桌面和 CLI,采用 MIT。
本版内容
- 管理端与用户端独立入口、身份表、Cookie 和 API 权限;首次
/install、MySQL/PostgreSQL 推荐及连接测试。 - 全局设计源与品牌图标、单层设置 Tabs、六位验证码账号邮件、本地外观与平台全局设置隔离。
- 本地/MinIO/S3/OSS/COS 存储抽象、前端直传、文件元数据、短期签名访问和生命周期管理。
- 个人笔记业务样板、OpenAPI/SDK 自动生成、AI 文档与 12 个项目 Skills、创建器与环境自检。
- 独立离线加密备份恢复工具,统一版本/Changelog、Tar/Nginx、Docker/Compose 构建入口。
- 修复首次扫描的 16 条依赖安全告警;安全门禁包含前端开发依赖与桌面导入包。
构建来源
源码提交:4b51151332d21a0641a430f958388aaf373a35ec。
质量与三系统构建 · 依赖安全扫描 · 候选与全部归档来源证明
下载选择
| 用途 | 归档 |
|---|---|
| 多用户在线平台 | unicore-web-platform-linux-{amd64,arm64}-v0.1.1.tar.gz |
| 无账号的单机 Web | unicore-web-standalone-linux-{amd64,arm64}-v0.1.1.tar.gz |
| CLI | unicore-cli-{linux,darwin,windows}-{amd64,arm64}-v0.1.1.tar.gz |
| macOS 桌面 | unicore-desktop-darwin-arm64-v0.1.1.tar.gz |
| Windows 桌面 | unicore-desktop-windows-amd64-v0.1.1.tar.gz |
| Linux 桌面 | unicore-desktop-linux-amd64-v0.1.1.tar.gz |
Web 包含 server、unicore-ops、前端静态文件和部署模板。桌面包保留原生可执行权限;Linux 需要 GTK3/WebKitGTK 4.0,Windows 需要 WebView2。其他桌面架构可从源码在目标系统构建。
下载后与 checksums.txt 核对 SHA-256,并可验证 GitHub 来源证明:
gh attestation verify ./下载的包.tar.gz --repo yunnuo88520/Unicore --source-ref refs/heads/main \
--source-digest 4b51151332d21a0641a430f958388aaf373a35ec \
--signer-workflow yunnuo88520/Unicore/.github/workflows/release.yml \
--deny-self-hosted-runners安装与开发
Web 解包后,以包外私有数据目录启动 APP_DATA_DIR=/你的私有目录 bin/server,访问 http://127.0.0.1:8080/install。从数据目录的 bootstrap.token 读取一次性安装凭据,使用专用 MySQL/PostgreSQL 数据库;测试连接后创建管理员。演示可自行设置 admin / Admin@123456,框架不预置账号。正式域名部署按手册配置 HTTPS/Nginx,并持久保存数据库、数据目录和实例密钥。
快速开始与 Wiki · 部署 · 备份恢复 · 构建新版本 · 完整 Changelog
验证与限制
同一 main 提交的质量、安全、三系统原生构建、三数据库集成及 Linux amd64 Tar/Nginx/Docker/Compose 门禁全部通过。PC/375px 页面回归 42 项通过、6 项外部数据库安装/MinIO 用例因未提供对应环境而跳过;四种编译开关组合另有 8 项页面检查通过。13 个包的版本、来源、目标矩阵、可执行权限和 checksum 已独立校验,全部 GitHub 来源证明已验证。macOS 原生窗口已验证 Core 调用和笔记创建,本地隔离旧版本升级、重启及旧快照恢复已通过。
这是开发预览(prerelease)。尚未接入 Apple/Windows 开发者签名、公证或框架 OTA 签名;GitHub 来源证明和 checksum 不替代这些签名。Windows/Linux 原生窗口未做真实交互验收;没有公开容器注册表镜像、真实授权服务器或 OTA。升级前停服并成套备份;数据库迁移不能仅靠替换旧 binary 回滚。本次未部署生产实例,也不将 MinIO 既往实测扩大为 AWS/OSS/COS 供应商实测。
本机 ARM64 Docker 构建因基础镜像仓库授权请求超时未完成,本次 Docker/Compose 运行验收范围为远端 Linux amd64。