10 Commits
Author SHA1 Message Date
lbl 10eb97e403 chore: 修正 LICENSE 版权声明并补充各清单的 license 字段
- LICENSE 附录版权行由模板占位符改为 Copyright 2023-present vnt-dev
- 各 Cargo.toml 与 package.json 补充 license = Apache-2.0
2026-08-23 14:42:18 +08:00
lbl c2fd1ff870 refactor: remove panic-prone unwrap and expect calls 2026-08-23 12:04:40 +08:00
lbl 298c3965e2 chore: bump version to 2.0.2 2026-08-23 11:37:34 +08:00
lbl e216416e21 fix(build): fall back to system protoc 2026-08-22 23:16:41 +08:00
lbl 70e584b37b chore(release): bump version to 2.0.1 2026-08-22 22:43:31 +08:00
lbl 60a4403f0e feat: add desktop updater and release automation 2026-08-22 10:00:24 +08:00
lbl 74c47bce69 feat: add outbound interface binding 2026-08-22 07:58:18 +08:00
lbl 45cce75085 fix(ipc): PORT 文件锚定 exe 目录且不再被多实例覆盖,读写加超时
问题:
1. PORT 文件用相对路径,读写位置随 CWD 变化。
2. 所有实例(显式端口、端口冲突退避到随机端口的)都写同一个
   PORT 文件,多实例互相覆盖,客户端可能连错实例;写入失败还会
   杀死整个 IPC 服务。
3. 客户端读响应、服务端读请求都没有超时,对端异常时永久挂起。

修复:
- PORT 文件锚定 current_exe 目录。
- 仅默认端口实例写 PORT 文件,写入失败降级为告警。
- 服务端读请求超时 10s,客户端读响应超时 5s。

测试:test_port_file_path_is_absolute 验证路径为绝对路径。
2026-08-21 03:02:22 +08:00
lbl 7d481560e3 规范依赖管理并适配 rand 0.10
- tcp_ip 从 git 依赖切换为 crates.io 0.2(IpStackConfig 改用 builder)
- 公共依赖收拢到 workspace.dependencies 统一版本
- 移除 release profile 的 panic=abort(避免 vnt-jni 中止宿主 JVM)
- vnt-jni 升级 edition 2024(no_mangle 改为 unsafe(no_mangle))
- vnt-ipc 显式声明 tokio features
- 适配 rand 0.10:random_range 移至 RngExt,choose_multiple 改名 sample
- 修复 clippy 警告(type_complexity/collapsible_if/ptr_arg)
2026-08-20 20:58:07 +08:00
lbl b4301a8106 v2 2026-02-10 18:20:39 +08:00