Skip to content

Commit 62bb5a9

Browse files
committed
chore(release): prepare v1.6.0 for npm and GitHub release
1 parent 7f3bb04 commit 62bb5a9

12 files changed

Lines changed: 442 additions & 11 deletions

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,26 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
307307

308308
## 📅 Changelog
309309

310+
### v1.6.0 - Unified Runtime, NoteMD Integration & Release Hardening (2026-03-23)
311+
312+
- **Single-Window Runtime Orchestration**:
313+
- Implemented Tauri <-> Godot visibility handoff so only one primary window is shown at a time.
314+
- Added Godot close-confirm flow ("Return to main interface" vs "Close all windows") to prevent accidental full shutdown.
315+
- Stabilized Godot window visibility control and removed deprecated foreground APIs.
316+
- **NoteMD Embedded Experience**:
317+
- Kept NoteMD as an embedded experience (not a standalone desktop window) aligned with both Tauri and Godot flows.
318+
- Fixed non-responsive `Browse` actions in Tauri NoteMD (file/folder/save pickers now complete the IPC flow).
319+
- Added user guidance that PDF files must be converted to Markdown via Mineru before import.
320+
- **Platform & Toolchain Release Readiness**:
321+
- Standardized Java policy to **JDK 21+** and verified support for **JDK 23.0.1** in Android prerequisites/build tooling.
322+
- Added Android/Tauri patching and verification scripts for prerequisite checks, sidecar validation, and strict evidence gates.
323+
- **Reliability & Security Gates**:
324+
- Expanded CI/workflow coverage for FixRisk operational readiness, mobile e2e contracts, wasm parity, SBOM, attestation, and signature/privacy checks.
325+
- Added broad contract-level regression coverage across mobile/runtime/pathbridge/storage layers.
326+
- **Build Performance & Developer Experience**:
327+
- Added low-memory Tauri build wrappers and release-profile safeguards for constrained environments.
328+
- Added sidecar readiness preflight to skip redundant rebuilds during dev startup, reducing warm `tauri:dev:mini:gpu` startup latency.
329+
310330
### v1.5.58 - Godot Path UI Enhancements (2026-03-19)
311331
- **Visuals**: Added Vertical/Horizontal main spine layout toggle and premium aesthetic color schemes (Nord, Tokyo Night, etc).
312332
- **Interactions**: Upgraded hover info box with deep node interactivity (Left/Double/Right click).
@@ -1121,6 +1141,26 @@ npm start -- --path "E:/Knowledge/ObsidianVault" --no-gpu
11211141
11221142
## 更新日志 (Changelog)
11231143
1144+
### v1.6.0 - 单窗口运行时、NoteMD 集成与发布加固 (2026-03-23)
1145+
1146+
- **单窗口运行时编排**:
1147+
- 实现 Tauri <-> Godot 的可见性切换,同一时刻仅显示一个主窗口。
1148+
- 增加 Godot 关闭确认流程(“返回主界面” / “关闭全部窗口”),避免误操作导致全局退出。
1149+
- 修复并稳定 Godot 窗口可见性控制,移除已弃用前台激活调用。
1150+
- **NoteMD 嵌入式体验**:
1151+
- 保持 NoteMD 为嵌入式能力(非独立桌面窗口),与 Tauri/Godot 双前端统一。
1152+
- 修复 Tauri 中 NoteMD 的 `Browse` 按钮无响应问题(文件/文件夹/保存选择器端到端可用)。
1153+
- 增加导入提示:PDF 需先通过 Mineru 转换为 Markdown 再导入。
1154+
- **平台与工具链发布就绪**:
1155+
- 统一 Java 基线为 **JDK 21+**,并验证 **JDK 23.0.1** 在 Android 构建链路可用。
1156+
- 新增 Android/Tauri 的补丁与校验脚本,覆盖前置依赖、sidecar 有效性、严格证据门禁。
1157+
- **可靠性与安全门禁**:
1158+
- 扩展 CI/工作流:FixRisk 运维就绪、移动端 e2e 合约、wasm parity、SBOM、attestation、签名与隐私清单校验。
1159+
- 新增多层合约回归覆盖(mobile/runtime/pathbridge/storage)。
1160+
- **构建性能与开发体验**:
1161+
- 增加低内存 Tauri 构建包装器与 release 配置保护,提升受限内存环境可构建性。
1162+
- 增加 sidecar 预检,避免开发期重复重建,缩短 `tauri:dev:mini:gpu` 热启动耗时。
1163+
11241164
### v1.5.x 迁移运行时日志(统一归档)
11251165
- 完整双语日志统一归档在 [`export.md`](export.md)。
11261166
- 本 README 在更新日志中保留摘要指针,避免将日志前置堆叠在文档开头。

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "com.jacob.noteconnection.pro"
88
minSdkVersion rootProject.ext.minSdkVersion
99
targetSdkVersion rootProject.ext.targetSdkVersion
10-
versionCode 1
11-
versionName "1.0"
10+
versionCode 16000
11+
versionName "1.6.0"
1212
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1313
aaptOptions {
1414
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.

android/app/capacitor.build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
android {
44
compileOptions {
5-
sourceCompatibility JavaVersion.VERSION_21
6-
targetCompatibility JavaVersion.VERSION_21
5+
sourceCompatibility JavaVersion.toVersion(23)
6+
targetCompatibility JavaVersion.toVersion(23)
77
}
88
}
99

docs/en/README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,26 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
312312

313313
## 📅 Changelog
314314

315+
### v1.6.0 - Unified Runtime, NoteMD Integration & Release Hardening (2026-03-23)
316+
317+
- **Single-Window Runtime Orchestration**:
318+
- Implemented Tauri <-> Godot visibility handoff so only one primary window is shown at a time.
319+
- Added Godot close-confirm flow ("Return to main interface" vs "Close all windows") to prevent accidental full shutdown.
320+
- Stabilized Godot window visibility control and removed deprecated foreground APIs.
321+
- **NoteMD Embedded Experience**:
322+
- Kept NoteMD as an embedded experience (not a standalone desktop window) aligned with both Tauri and Godot flows.
323+
- Fixed non-responsive `Browse` actions in Tauri NoteMD (file/folder/save pickers now complete the IPC flow).
324+
- Added user guidance that PDF files must be converted to Markdown via Mineru before import.
325+
- **Platform & Toolchain Release Readiness**:
326+
- Standardized Java policy to **JDK 21+** and verified support for **JDK 23.0.1** in Android prerequisites/build tooling.
327+
- Added Android/Tauri patching and verification scripts for prerequisite checks, sidecar validation, and strict evidence gates.
328+
- **Reliability & Security Gates**:
329+
- Expanded CI/workflow coverage for FixRisk operational readiness, mobile e2e contracts, wasm parity, SBOM, attestation, and signature/privacy checks.
330+
- Added broad contract-level regression coverage across mobile/runtime/pathbridge/storage layers.
331+
- **Build Performance & Developer Experience**:
332+
- Added low-memory Tauri build wrappers and release-profile safeguards for constrained environments.
333+
- Added sidecar readiness preflight to skip redundant rebuilds during dev startup, reducing warm `tauri:dev:mini:gpu` startup latency.
334+
315335
### v1.5.x Migration Runtime Logs (Canonical Archive)
316336
- Full bilingual logs are centrally archived in [`export.md`](export.md).
317337
- This README keeps summary pointers in the changelog for readability.
@@ -831,4 +851,3 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
831851
---
832852
833853
---
834-

docs/en/release_v1.6.0_report.md

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
# NoteConnection v1.6.0 Release Update Report
2+
3+
## 1. Comparison Baseline
4+
5+
- **Project**: NoteConnection
6+
- **Target release**: `v1.6.0`
7+
- **Diff range**: `v1.3.0..HEAD`
8+
- **Baseline tag timestamp**: `2026-01-24 20:37:25 +0800`
9+
- **Current head**: `7f3bb04` (`2026-03-23 19:20:27 +0800`)
10+
11+
## 2. Quantitative Change Summary
12+
13+
- **Commits (no merges)**: `104`
14+
- **Files changed**: `297`
15+
- **Code/doc churn**: `+125,500 / -10,075`
16+
17+
Top change concentration (by added lines):
18+
19+
1. `src/`: `+29,116` (`115` files)
20+
2. `build/`: `+24,851` (`15` files)
21+
3. `docs/`: `+21,589` (`38` files)
22+
4. `path_mode/`: `+10,798` (`27` files)
23+
5. `scripts/`: `+10,394` (`40` files)
24+
6. `src-tauri/`: `+8,889` (`17` files)
25+
26+
Quality scope expansion:
27+
28+
- **Test files added/updated**: `53`
29+
- **Contract tests**: `38`
30+
- **New NoteMD backend module files**: `13`
31+
- **New/updated CI workflows**: `6`
32+
33+
## 3. Major Engineering Changes Since v1.3.0
34+
35+
### A. Runtime Architecture and Desktop Shell
36+
37+
- Migrated and hardened a Tauri-first runtime (`src-tauri/` introduced and expanded).
38+
- Removed legacy Electron runtime files and switched to sidecar-driven desktop packaging.
39+
- Implemented single-window orchestration behavior between Tauri and Godot path mode flows.
40+
- Added safer close behavior and visibility handoff logic for runtime window switching.
41+
42+
### B. NoteMD End-to-End Integration
43+
44+
- Added full NoteMD backend subsystem under `src/notemd/`:
45+
- `BatchProcessor`, `FileProcessor`, `Translator`, `ContentGenerator`
46+
- `MermaidProcessor`, `FormulaFixer`, `DuplicateDetector`
47+
- `NotemdService`, typed request/response contracts
48+
- Added frontend integration (`src/frontend/notemd.html`, `notemd.js`, `notemd.css`).
49+
- Stabilized Browse/file/folder/save picker interaction path in Tauri integration.
50+
- Enforced user guidance for PDF import workflow (`PDF -> Mineru -> Markdown`).
51+
52+
### C. Godot Path Mode and UX
53+
54+
- Expanded `path_mode/` with new scenes, renderer logic, panel system, and embedding panel hooks.
55+
- Improved Path UI behavior, tree rendering, settings flow, and bridge synchronization.
56+
- Fixed Godot window visibility and deprecated API usage paths.
57+
58+
### D. Mobile Export and Multi-Pipeline Support
59+
60+
- Expanded dual Android strategy:
61+
- Capacitor Android pipeline (`android/`)
62+
- Tauri Android pipeline (`src-tauri/gen/android/...`, runner/patch scripts)
63+
- Added Java compatibility alignment and prerequisite verification tooling.
64+
- Updated Android package/application metadata and build scripts for release consistency.
65+
66+
### E. Reliability, Security, and Operational Governance
67+
68+
- Added FixRisk operational workflow and strict evidence support.
69+
- Added SBOM generation + attestation + verification scripts/contracts.
70+
- Added privacy manifest, sidecar signature, pathbridge strict schema, and detox pipeline verifications.
71+
- Added wasm parity verification/benchmarking and historical guardrails.
72+
73+
### F. Build Performance and Dev Productivity
74+
75+
- Added low-memory Tauri build wrappers:
76+
- `scripts/run-tauri-build.js`
77+
- low-memory policy updates in `scripts/run-tauri-android.js`
78+
- release profile controls in `src-tauri/Cargo.toml`
79+
- Added sidecar preflight (`scripts/ensure-sidecar-ready.js`) to skip redundant rebuilds in warm dev loops.
80+
- Enabled TypeScript incremental compile cache (`tsconfig.json` incremental options).
81+
82+
## 4. Version Synchronization for v1.6.0
83+
84+
Updated to `1.6.0`:
85+
86+
- `package.json`
87+
- `package-lock.json` (top-level and root package entry)
88+
- `src-tauri/tauri.conf.json`
89+
- `src-tauri/src/lib.rs` (About dialog display string)
90+
- `android/app/build.gradle` (`versionName 1.6.0`, `versionCode 16000`)
91+
92+
README synchronization completed:
93+
94+
- `README.md` (EN + ZH sections)
95+
- `docs/en/README.md`
96+
- `docs/zh/README.md`
97+
98+
## 5. Platform Release Matrix (v1.6.0)
99+
100+
| Platform | Version | Artifact(s) | Status |
101+
|---|---|---|---|
102+
| npm package | `1.6.0` | publish target from `package.json` | Ready |
103+
| Windows Desktop (Tauri x64) | `1.6.0` | `src-tauri/target/release/bundle/nsis/NoteConnection_1.6.0_x64-setup.exe` | Built |
104+
| Windows Desktop (Tauri MSI) | `1.6.0` | `src-tauri/target/release/bundle/msi/NoteConnection_1.6.0_x64_en-US.msi` | Built |
105+
| Android (Capacitor debug) | `1.6.0` | `android/app/build/outputs/apk/debug/app-debug.apk` | Built |
106+
| Android (Tauri universal APK) | `1.6.0` | `src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release-unsigned.apk` | Artifact available |
107+
| Android (Tauri universal AAB) | `1.6.0` | `src-tauri/gen/android/app/build/outputs/bundle/universalRelease/app-universal-release.aab` | Artifact available |
108+
109+
Tauri Android metadata snapshot:
110+
111+
- `src-tauri/gen/android/app/build/outputs/apk/universal/release/output-metadata.json`
112+
- `versionName: "1.6.0"`
113+
- `versionCode: 1006000`
114+
115+
Capacitor Android metadata snapshot:
116+
117+
- `android/app/build/outputs/apk/debug/output-metadata.json`
118+
- `versionName: "1.6.0"`
119+
- `versionCode: 16000`
120+
121+
## 6. Verification Evidence (This Release Pass)
122+
123+
Successful commands:
124+
125+
1. `npm run build:mini`
126+
2. `npm run verify:fixrisk:issues`
127+
3. `npm run tauri:build:mini`
128+
4. `npm run mobile:build:capacitor`
129+
5. `npm run mobile:build:both` (full dual mobile pipeline run)
130+
131+
FixRisk status:
132+
133+
- `FR-001..FR-008`, `FR-010..FR-015`: `VERIFIED-CLOSED`
134+
- `FR-009`: `VERIFIED-PENDING` (operational evidence freshness/threshold pending)
135+
136+
## 7. Known Risk Notes
137+
138+
1. **Intermittent Tauri Android rebuild OOM on this host**:
139+
- Repeated `npm run tauri:android:build:universal` retries can fail in Rust Android target compilation with memory allocation aborts.
140+
- Previously generated `v1.6.0` universal APK/AAB artifacts are present and version-aligned.
141+
2. **FR-009 remains operationally pending**:
142+
- Functional checks pass, but strict large-graph physical-device evidence must be refreshed for complete closure.
143+
144+
## 8. Release Recommendation
145+
146+
**Go** for `v1.6.0` GitHub + npm synchronization, with two operational notes:
147+
148+
1. Publish the current desktop and Android artifacts already generated for `1.6.0`.
149+
2. Run Tauri Android rebuild on a higher-memory CI/host before final Android artifact rotation if reproducibility from clean state is required.
150+

docs/release_notes_v1.6.0.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# NoteConnection v1.6.0
2+
3+
## English
4+
5+
### Highlights
6+
7+
- Single-window orchestration between Tauri and Godot (only one primary window visible at a time).
8+
- NoteMD embedded workflow stabilized in Tauri/Godot runtime transitions.
9+
- Fixed NoteMD Browse interactions in Tauri (file/folder/save pickers now complete end-to-end).
10+
- Added PDF import guidance: convert PDF to Markdown with Mineru before import.
11+
- Standardized Android Java policy to JDK 21+ and validated JDK 23.0.1 toolchain compatibility.
12+
- Expanded release governance: FixRisk checks, SBOM/attestation, privacy/signature/contract gates.
13+
- Improved build/dev efficiency with low-memory Tauri wrappers and sidecar preflight skip logic.
14+
15+
### Artifacts
16+
17+
- Windows NSIS: `NoteConnection_1.6.0_x64-setup.exe`
18+
- Windows MSI: `NoteConnection_1.6.0_x64_en-US.msi`
19+
- Android (Capacitor): `app-debug.apk`
20+
- Android (Tauri Universal): `app-universal-release-unsigned.apk`
21+
- Android (Tauri Universal Bundle): `app-universal-release.aab`
22+
23+
### Notes
24+
25+
- `FR-009` remains operationally `VERIFIED-PENDING` due evidence freshness thresholds.
26+
27+
---
28+
29+
## 中文
30+
31+
### 版本亮点
32+
33+
- 完成 Tauri 与 Godot 单窗口编排,同一时刻仅显示一个主窗口。
34+
- 稳定 NoteMD 在 Tauri/Godot 间切换时的嵌入式工作流。
35+
- 修复 Tauri 中 NoteMD Browse 无响应问题(文件/文件夹/保存选择器端到端可用)。
36+
- 增加 PDF 导入提示:需先通过 Mineru 转换为 Markdown 再导入。
37+
- 将 Android Java 基线统一为 JDK 21+,并验证 JDK 23.0.1 工具链兼容性。
38+
- 扩展发布治理能力:FixRisk、SBOM/attestation、隐私/签名/合约门禁。
39+
- 通过低内存 Tauri 包装器与 sidecar 预检,改善构建与开发启动效率。
40+
41+
### 发布产物
42+
43+
- Windows NSIS: `NoteConnection_1.6.0_x64-setup.exe`
44+
- Windows MSI: `NoteConnection_1.6.0_x64_en-US.msi`
45+
- Android(Capacitor): `app-debug.apk`
46+
- Android(Tauri Universal): `app-universal-release-unsigned.apk`
47+
- Android(Tauri Universal Bundle): `app-universal-release.aab`
48+
49+
### 说明
50+
51+
- `FR-009` 仍为运维层 `VERIFIED-PENDING`(证据新鲜度阈值待补齐)。
52+

docs/zh/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,26 @@ npm start -- --path "E:/Knowledge/ObsidianVault" --no-gpu
296296

297297
## 更新日志 (Changelog)
298298

299+
### v1.6.0 - 单窗口运行时、NoteMD 集成与发布加固 (2026-03-23)
300+
301+
- **单窗口运行时编排**:
302+
- 实现 Tauri <-> Godot 的可见性切换,同一时刻仅显示一个主窗口。
303+
- 增加 Godot 关闭确认流程(“返回主界面” / “关闭全部窗口”),避免误操作导致全局退出。
304+
- 修复并稳定 Godot 窗口可见性控制,移除已弃用前台激活调用。
305+
- **NoteMD 嵌入式体验**:
306+
- 保持 NoteMD 为嵌入式能力(非独立桌面窗口),与 Tauri/Godot 双前端统一。
307+
- 修复 Tauri 中 NoteMD 的 `Browse` 按钮无响应问题(文件/文件夹/保存选择器端到端可用)。
308+
- 增加导入提示:PDF 需先通过 Mineru 转换为 Markdown 再导入。
309+
- **平台与工具链发布就绪**:
310+
- 统一 Java 基线为 **JDK 21+**,并验证 **JDK 23.0.1** 在 Android 构建链路可用。
311+
- 新增 Android/Tauri 的补丁与校验脚本,覆盖前置依赖、sidecar 有效性、严格证据门禁。
312+
- **可靠性与安全门禁**:
313+
- 扩展 CI/工作流:FixRisk 运维就绪、移动端 e2e 合约、wasm parity、SBOM、attestation、签名与隐私清单校验。
314+
- 新增多层合约回归覆盖(mobile/runtime/pathbridge/storage)。
315+
- **构建性能与开发体验**:
316+
- 增加低内存 Tauri 构建包装器与 release 配置保护,提升受限内存环境可构建性。
317+
- 增加 sidecar 预检,避免开发期重复重建,缩短 `tauri:dev:mini:gpu` 热启动耗时。
318+
299319
### v1.5.x 迁移运行时日志(统一归档)
300320
- 完整双语日志统一归档在 [`export.md`](export.md)。
301321
- 本 README 在更新日志中保留摘要指针,避免将日志前置堆叠在文档开头。

0 commit comments

Comments
 (0)