Skip to content

vFlow_148

Choose a tag to compare

@ChaoMixian ChaoMixian released this 07 Apr 10:33
· 244 commits to master since this release

v1.4.8 Release Note

✨ 新功能

工作流与触发器

  • 多触发器支持 - 现在一个工作流可以同时添加多个触发器,满足更复杂的自动化场景
  • 电源触发器 - 新增 PowerTriggerModule,支持基于电源状态变化触发工作流
  • 工作流导入增强 - 重构导入逻辑,提升旧格式工作流、文件夹导入和复杂结构导入的兼容性

集成与扩展

  • 飞书消息能力 - 新增飞书发送消息模块,方便将自动化结果推送到飞书
  • 模块详情查看 - 编辑页面现已支持直接查看模块信息,便于了解模块用途和参数

编辑器与开发体验

  • 坐标查看增强 - UiInspector 现已支持显示当前坐标
  • 跳过授权引导 - OnboardingActivity 现已支持跳过授权页面,首次使用流程更加灵活

国际化 (i18n)

  • 模块分类 i18n - 模块分类现已适配国际化
  • 触发器分组 i18n - 完成触发器分组相关文案的国际化
  • i18n 覆盖度提升 - 完善更多模块与界面文案的国际化支持

🐛 Bug 修复

  • Release 工作流加载异常 - 修复 R8 混淆导致 Release 版本中部分工作流无法加载的问题
  • 多触发器序号异常 - 修复多触发器场景下的序号显示问题
  • 快捷方式同步问题 - 修复 WorkflowViewHolder 中快捷方式同步异常
  • 编辑器崩溃问题 - 修复若干 Adapter 相关崩溃
  • 坐标解析异常 - 修复部分模块中的坐标解析问题
  • Invoke Extras 解包异常 - 修复 InvokeModule 中 Extras 对 VObject 解包失败的问题
  • 触发器选择体验 - 修复触发器选择时显示最近使用模块的问题

🔧 代码优化

  • 工作流结构升级 - 引入新的工作流结构与归一化逻辑,为多触发器提供更稳定的数据基础
  • 导入模块重构 - 重构工作流 JSON 导入解析流程,提升兼容性与可维护性
  • 测试覆盖增强 - 补充工作流结构升级与导入兼容性的相关测试
  • 文档完善 - 更新 README、许可证说明与免责声明内容

✨ New Features

Workflow & Triggers

  • Multiple Trigger Support – A single workflow can now contain multiple triggers for more complex automation
    scenarios.
  • Power Trigger – Added PowerTriggerModule to trigger workflows based on power state changes.
  • Enhanced Workflow Import – Refactored the import flow to improve compatibility with legacy workflows, folder
    imports, and more complex structures.

Integrations & Extensibility

  • Feishu Messaging Support – Added a Feishu message sending module for pushing automation results to Feishu.
  • Module Detail Viewer – You can now view module details directly from the editor page, making it easier to understand
    module usage and parameters.

Editor & Developer Experience

  • Coordinate Display Enhancement – UiInspector can now display the current coordinates.
  • Skip Authorization Onboarding – OnboardingActivity now supports skipping the authorization page for a more
    flexible first-run experience.

Internationalization (i18n)

  • Module Category i18n – Module categories are now internationalized.
  • Trigger Group i18n – Completed i18n coverage for trigger group related texts.
  • Expanded i18n Coverage – Improved localization support across more modules and UI texts.

🐛 Bug Fixes

  • Release Workflow Loading Issue – Fixed an R8-related issue where some workflows failed to load in Release builds.
  • Multiple Trigger Index Issue – Fixed incorrect index display in multi-trigger scenarios.
  • Shortcut Sync Issue – Fixed shortcut synchronization problems in WorkflowViewHolder.
  • Editor Crash Fixes – Fixed several Adapter-related crashes.
  • Coordinate Parsing Issue – Fixed coordinate parsing issues in some modules.
  • Invoke Extras Unwrapping Issue – Fixed a failure in InvokeModule when unwrapping Extras into VObject.
  • Trigger Selection Experience – Fixed an issue where recently used modules appeared when selecting triggers.

🔧 Code Improvements

  • Workflow Structure Upgrade – Introduced a new workflow structure and normalization logic to provide a more stable
    foundation for multiple triggers.
  • Import Refactoring – Refactored workflow JSON import parsing to improve compatibility and maintainability.
  • Better Test Coverage – Added tests for workflow structure migration and import compatibility.
  • Documentation Updates – Updated README, license notes, and disclaimer content.

What's Changed

Full Changelog: v1.4.7...v1.4.8

如果是第一次使用,请安装 release 版本。欢迎 Q 群讨论:1084700610