Skip to content

SmartPages v1.3.1

Choose a tag to compare

@github-actions github-actions released this 01 Oct 12:48
· 30 commits to main since this release

中文

重点更新

  • 图片编辑器新增文字标注,可调整字号、文字颜色和背景。
  • 文档管理新增明确的“返回文档”入口,返回时恢复之前生成的文档页面。
  • 图片编辑支持撤销和恢复,编辑过程更安全。
  • 新增多模态生成能力和模型服务商配置档案。
  • 新增可复用的文档生成模板。
  • 参考文档新增 PDF、DOCX 解析支持。
  • 新增腾讯云 CloudBase 文档存储支持,并完善 Supabase 云存储流程。

文档生成与编辑

  • 优化生成后工具栏,减少干扰并改善常用操作入口。
  • 改进文档历史、保存、上传和管理流程。
  • 优化截图编辑、合并截图显示与录制截图隔离。
  • 改进用户可见错误信息,让失败原因和处理建议更清楚。
  • 根据界面语言自动切换默认模型接口地址。

工作流与项目结构

  • 拆分侧边栏生成、编辑、导出、步骤、文档和工作流模块,降低后续维护成本。
  • 拆分后台录制、文档处理和工作流运行模块。
  • 提取录制选择器辅助逻辑并加强特殊字符处理。
  • 将旧版实验原型移出正式文档目录,避免与生产功能混淆。
  • 增加持续集成、自动发布和扩展打包流程。

安全与稳定性

  • 远程 API 地址强制使用 HTTPS;仅允许回环地址使用 HTTP。
  • 修复主机名前缀绕过和 IPv6 回环地址判断问题。
  • 加强 API 密钥和云端会话的临时存储保护。
  • 加强 PDF、DOCX 等参考文档解析的边界检查与错误处理。
  • 修复工作流执行、云存储、截图录制及页面交互中的多项稳定性问题。

文档与测试

  • 重新设计中英文 README,并补充安装、模型配置和高级工作流说明。
  • 增加生成模板、文档解析、多模态请求、云存储、图片编辑和导航等自动化测试。
  • v1.3.1 发布前已通过 60 个测试文件、代码检查、类型检查和生产构建。

English

Highlights

  • Added text annotations to the image editor, with configurable font size, text color, and background.
  • Added an explicit Back to document action in Document Management that restores the previously generated document view.
  • Added undo and redo support for image editing.
  • Added multimodal generation and configurable model-provider profiles.
  • Added reusable document-generation templates.
  • Added PDF and DOCX parsing for reference documents.
  • Added Tencent CloudBase document storage and improved the Supabase cloud-storage workflow.

Document generation and editing

  • Simplified the generated-document toolbar and improved access to common actions.
  • Improved document history, saving, uploading, and management flows.
  • Improved screenshot editing, merged-screenshot visibility, and recording screenshot isolation.
  • Improved user-facing errors with clearer causes and recovery guidance.
  • Added automatic default model-endpoint selection based on the interface language.

Workflows and project structure

  • Split side-panel generation, editing, export, step, document, and workflow logic into focused modules.
  • Split background recording, document handling, and workflow execution into focused modules.
  • Extracted recorder selector helpers and strengthened special-character handling.
  • Moved legacy experiments out of the main documentation tree.
  • Added continuous integration, automated releases, and extension packaging.

Security and reliability

  • Enforced HTTPS for remote API endpoints while allowing HTTP only for loopback addresses.
  • Fixed hostname-prefix bypasses and IPv6 loopback detection.
  • Strengthened temporary storage protection for API keys and cloud sessions.
  • Hardened PDF and DOCX parsing with stronger boundary checks and error handling.
  • Fixed reliability issues across workflow execution, cloud storage, screenshot recording, and page interaction.

Documentation and testing

  • Redesigned the English and Chinese READMEs and expanded installation, model configuration, and advanced workflow documentation.
  • Added automated coverage for generation templates, document parsing, multimodal requests, cloud storage, image editing, and navigation.
  • Verified v1.3.1 with 60 test files, linting, type checking, and a production build.

Contributors

  • Thanks to @anupamme for contributing the remote API HTTPS security policy (#79).

完整变更 / Full changelog: v1.3.0...v1.3.1