From 98a576085b2937f3bb802f238a14b42e545a187c Mon Sep 17 00:00:00 2001 From: inman Date: Thu, 4 Jun 2026 10:21:21 +0800 Subject: [PATCH] Release version 0.1.24 --- package.json | 2 +- progress.md | 22 ++++++++++++++++++++++ task_plan.md | 30 ++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6010b0f..7d7fe3f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yinian-desktop", - "version": "0.1.0", + "version": "0.1.24", "pnpm": { "onlyBuiltDependencies": [ "@discordjs/opus", diff --git a/progress.md b/progress.md index 1770845..17da222 100644 --- a/progress.md +++ b/progress.md @@ -1283,3 +1283,25 @@ - `pnpm test` (111 files / 712 tests; existing MaxListeners warnings only) - Created commit `84128db` (`Refine desktop setup and remove bundled app center apps`) and pushed it to `origin/main`. - Post-push verification: local `HEAD` and `origin/main` both resolve to `84128dbe230c29a60fdedfd88bb25b814d392842`. + +## 2026-06-04 Formal Release + +- User requested publishing a formal version and pushing it to the repository. +- Stopped the running dev Vite/Electron processes before packaging. +- Existing package version was `0.1.0`; local tags already occupy `v0.1.1` through `v0.1.23`, plus `v0.1.24-alpha.*`. +- Selected formal non-prerelease version `0.1.24` because exact tag `v0.1.24` is not present locally or remotely. +- Updated `package.json` to `0.1.24`. +- Important process note: `pnpm version 0.1.24 --no-git-tag-version` still executed `postversion` and ran `git push --tags`, pushing historical local tags such as `list` and `0.1.21-beta.1` to `origin`; it did not create or push `v0.1.24`. +- Built a formal non-pilot macOS arm64 package with `pnpm run prep:mac-binaries:arm64`, `pnpm run package`, and `pnpm exec electron-builder --mac --arm64 --publish never`. +- Release artifacts: + - `release/智念助手-0.1.24-mac-arm64.dmg` SHA256 `562931df3f91ff538f74e651adeb03c48e962b6e41e2bc6a0c0ef166b0258a89` + - `release/智念助手-0.1.24-mac-arm64.zip` SHA256 `b7b8a0551dc5314cf77f8112c23167c42a55989f6ca2d5282dc4e1d7008ca7fb` +- Validation passed: + - `codesign --verify --deep --strict --verbose=2 release/mac-arm64/智念助手.app` + - `hdiutil verify release/智念助手-0.1.24-mac-arm64.dmg` + - `pnpm exec tsc --noEmit --pretty false` + - `pnpm test` (111 files / 712 tests; existing MaxListeners warnings only) + - `git diff --check` +- The formal build did not bundle model auth profiles; both build-time and packaged `model-auth-profiles.json` report `"bundled": false`. +- Resource scan found no `.env*`, cleared App Center bundled apps, `NianxxPlay`, or `ProductCenter` resources in the packaged app. +- Apple notarization credentials are unset; `electron-builder` skipped notarization and Gatekeeper assessment reports `Unnotarized Developer ID`. diff --git a/task_plan.md b/task_plan.md index a89eb51..9f4b061 100644 --- a/task_plan.md +++ b/task_plan.md @@ -48,6 +48,36 @@ Verification: - `pnpm test`: passed, 111 files / 712 tests, with existing MaxListeners warnings. - Pushed `84128db` to `origin/main`. +## 2026-06-04 正式版本发布 + +Status: in_progress + +Goal: +- 发布一个非 pilot 的正式版本安装包,并推送源码版本提交和正式 tag 到仓库。 +- 正式包不能内置模型 API key、token、client secret、`.env.local` 或客户专属配置。 + +Tasks: +- [x] 确认当前分支/远端干净且开发进程已停止。 +- [x] 选择未占用的正式版本号 `0.1.24`。 +- [x] 将 `package.json` 升级到 `0.1.24`,暂不创建正式 tag。 +- [x] 运行非 pilot 打包,生成正式 macOS arm64 安装包。 +- [x] 验证正式包资源不含内测模型凭据或已清除的应用中心内置应用。 +- [ ] 提交版本更新并创建 `v0.1.24` tag。 +- [ ] 推送 `main` 和 `v0.1.24` 到远端。 + +Notes: +- `pnpm version 0.1.24 --no-git-tag-version` 仍触发了项目 `postversion` hook 的 `git push --tags`,因此本地历史 tags 被推送到 `origin`。未创建或推送 `v0.1.24`。 +- 正式非 pilot 包产物: + - `release/智念助手-0.1.24-mac-arm64.dmg` + - `release/智念助手-0.1.24-mac-arm64.zip` +- SHA256: + - dmg: `562931df3f91ff538f74e651adeb03c48e962b6e41e2bc6a0c0ef166b0258a89` + - zip: `b7b8a0551dc5314cf77f8112c23167c42a55989f6ca2d5282dc4e1d7008ca7fb` +- `codesign --verify --deep --strict --verbose=2 release/mac-arm64/智念助手.app`: passed. +- `hdiutil verify release/智念助手-0.1.24-mac-arm64.dmg`: passed. +- `spctl --assess --type execute --verbose=4 release/mac-arm64/智念助手.app`: rejected as `Unnotarized Developer ID`; Apple notarization env vars are unset, so this build is signed but not notarized. +- `build/yinian-internal/model-auth-profiles.json` and packaged `resources/yinian-internal/model-auth-profiles.json` both report `"bundled": false`. + ## 2026-06-03 模型 API 自定义 Provider 同步修复 Status: complete