Skip to content

Releases: XiaoMi/thain

v1.3.0-beta.0

23 Dec 02:32
Compare
Choose a tag to compare

新特性

  1. 增加flow重试功能
    • 用户可以指定「重试次数」和「重试间隔」
  2. 新增x5 http component
    • condition: std::x5http
    • 为了满足第三方服务的接口只能调度器触发的需求
    • 使用创建该flow的appid appkey 进行加密
  3. http component 增加返回值检查功能
    • 用户自定义一个正则表达式 (resultRegular)
    • 如果http请求的返回结果不满足这个正则表达式,则视为失败
  4. 增加组件前端隐藏功能
    • 为了防止用户在页面上创建x5http
    • 重新设计组件定义json, 并适配前后端

优化

  1. Flow更新后,调度状态保持不变
  2. 重构清理过期日志的逻辑,减少内存使用
  3. 优化验权逻辑

修复

  1. 修复部分资源未释放导致内存泄漏的问题
  2. 修复flow属性值为空更新失败的问题
  3. 修复前端job callback url 不展示的问题
  4. 修复x5 schedule 方法触发失败的问题

New Features

  1. Add flow retry function
         -User can specify "Retry Times" and "Retry Interval"
  2. Added x5 http component
         -condition: std :: x5http
         -In order to meet the demand that the interface of the third-party service can only be triggered by the scheduler
         -Encrypt with the appid appkey that created the flow
  3. http component adds return value checking function
         -User-defined a regular expression (resultRegular)
         -If the return result of the http request does not satisfy this regular expression, it is considered a failure
  4. Add component front-end hidden function
         -To prevent users from creating x5http on the page
         -Redesign the component definition json and adapt the front and back ends

Optimization

  1. After the flow is updated, the scheduling status remains unchanged
  2. Refactor the logic to clean up expired logs and reduce memory usage
    Optimize power verification logic

Fix

  1. Fix the problem of memory leak caused by some resources not being released
  2. Fix the problem that the flow attribute value is empty and update fails
  3. Fix the problem that the front-end job callback url is not displayed
  4. Fix the problem that the x5 schedule method fails to trigger

v1.2.2

02 Dec 11:14
Compare
Choose a tag to compare

修复

  1. oauth2 登录失败的问题
  2. com.xiaomi.thain.core.process.runtime.storage.FlowExecutionStorage#finishJob 可能引起的线程安全问题

Fix

  1. oauth2 login failure
  2. com.xiaomi.thain.core.process.runtime.storage.FlowExecutionStorage#finishJob possible thread safety issues

v1.2.1

29 Nov 07:38
Compare
Choose a tag to compare
  1. 修复登录失败的问题

  1. fix login error

v1.2.0

29 Nov 05:41
6d0f792
Compare
Choose a tag to compare
v1.2.0 Pre-release
Pre-release

First release, see documentation for details.