Skip to content

Optik Sol v0.4.1

Latest

Choose a tag to compare

@Moresyl Moresyl released this 08 Sep 15:25

新功能

  • 新增中英双语 VitePress 文档站,内置本地全文搜索,并按快速接入、配置、实战配方、故障排查、公开 API、协议传输、架构、安全与性能边界组织内容。
  • 新增基于 2026-09-08 官方资料核验的竞品能力对比,明确 Optik Sol 在隐私安全 HAR、有上限数据结构、WebView 兼容和可复制诊断闭环上的优势,也诚实记录远程协作服务与插件生态仍需继续扩展的边界。
  • 新增独立 GitHub Pages 部署流水线,并将完整文档入口接入中英文 README 与 npm 包元数据。

改进与安全

  • CI 现在同时构建软件包与文档,并验证中英文文档首页产物;文档发布使用最小权限的 GitHub Pages OIDC 部署。
  • 文档站提供浅色/深色主题、响应式导航、移动端可读表格、清晰焦点态、减少动态效果适配、代码复制和语义化结构。
  • 移除移动验证台禁止缩放的 viewport 限制,恢复浏览器缩放与辅助功能支持。

修复与打磨

  • 修复 HAR 1.2 导出中的生成器版本长期硬编码为 0.2.0 的问题;现在直接读取核心包版本,避免诊断文件与实际发布版本不一致。
  • 校正文档中的 Storage API 调用签名和插件 badge 生命周期说明,并同步中英文贡献指南中的真实 CI 门禁。

安装

<script src="https://unpkg.com/optik-sol@0.4.1"></script>
npm install optik-sol@0.4.1

完整文档:https://moresyl.github.io/optik-sol/

验证

  • 43 个测试文件、320 项测试通过。
  • 覆盖率:语句 88.00%、分支 77.97%、函数 86.90%、行 92.34%。
  • 冻结锁文件安装、类型检查、生产构建、VitePress 中英文文档构建、npm 打包及 ESM/CJS/IIFE 无 DOM 加载验证全部通过。
  • npm tarball 仅包含许可证、README、类型声明和三种正式分发产物。
  • 远端 CI 与 GitHub Pages 部署均成功;中文、英文、API、竞品对比和 SVG 端点均已返回 HTTP 200。

English summary

Optik Sol v0.4.1 launches a polished bilingual VitePress documentation site with local full-text search, structured guides, API/protocol references, architecture, security, performance boundaries, troubleshooting, and an evidence-based competitor comparison. It adds CI and GitHub Pages gates, restores browser zoom accessibility in the playground, and fixes HAR creator metadata so exported diagnostics report the actual package version. All 320 tests and the complete build, type, coverage, distribution, packaging, and documentation gates pass.

Full Changelog: v0.4.0...v0.4.1