-
released this
2026-01-19 14:45:19 +08:00 | 0 commits to master since this release- 支持配置watcher的free参数配置为true,在项目启动时会跳过第一次执行,等待下次调度,以适应类似需要检查实例同步超时等watcher。
- 支持了timer和watcher的type配置为'free', 此时将传递contextBuilder,以适应在timer中处理数据时需要并行和多事务的需求。
- 在SimpleConnector中添加oak-version和oak-platform的请求头信息
- build支持更多编译参数
- 修复部分已知问题
Downloads
-
5.1.33 【新编译器支持】 Stable
released this
2026-01-08 10:33:02 +08:00 | 8 commits to release since this release- 修改parseRequest为可异步(加密库需要异步),新增getCorsExposeHeaders用于注册跨域header,新增registerCustomAspect用于注册自定义aspect(connector前后台初始化逻辑)
- 在OakException中添加symbol以标识,并提供isOakException函数判断是否为OakException
- 建议项目中所有使用instanceof OakException的判断全部改为isOakException进行判断
- 新增OakInsecureRequestException,用于非安全连接的报错
- ServerConfiguration中的database改为可选,实际未使用,在backend从oak-db引用配置类型,处理动态导入 (兼容老项目)
- 建议所有项目中的src/configuration/server中的database参数移除,避免与多数据库切换造成冲突。
- 添加trigger在注册时的action重复检查,因为在同步时若出现action重复定义的trigger会导致出错
- 新增了tscBuilder编译器支持,老项目需要进行如下适配:
- 在scripts中新增build.js
/* eslint-disable @typescript-eslint/no-require-imports */ const { build } = require('oak-domain/lib/compiler/tscBuilder.js') const pwd = process.cwd(); build(pwd, process.argv);- 修改package.json,将build中所有tsc -p替换为node --stack-size=4096 ./scripts/build.js -p
- 修改tsconfig.build.json, 添加如下
"oakBuildChecks": { "context": { "checkAsyncContext": true, } }- 修改tsconfig.web.json,添加如下:
"oakBuildChecks": { "context": { "checkAsyncContext": false }, "locale": { "checkI18nKeys": true } }如需检查web环境,可添加新脚本,内容:node --stack-size=4096 ./scripts/build.js -p tsconfig.web.json --noEmit --skipExtraCheck --skipEmitDiagnostics
Downloads
-
released this
2025-12-10 18:02:32 +08:00 | 46 commits to master since this release1、feat:ThousandCont函数处理金额负号不对
Downloads
-
released this
2025-12-10 17:49:42 +08:00 | 49 commits to master since this release1、feat:在freeWatcher/timer和routine中增加传入了一个参数contextBuilder,允许在服务器运行期间的各种事件回调里动态创建context
Downloads
-
5.1.30 【完善了权限的报错信息等】 Stable
released this
2025-12-02 09:51:36 +08:00 | 51 commits to master since this release1、feat: 完善了权限的报错信息
2、feat: ServerConfiguration新增middleware配置
3、feat:Exception信息进一步完善
4、bug fixed: 修复在node_modules下的引用处理时出现的部分问题
5、bug fixed:修复了在entities中引用项目中其他位置的类型时出现的引用路径问题Downloads
-
released this
2025-10-22 18:09:20 +08:00 | 59 commits to master since this release1、修正了depBuilder在拷贝依赖库覆盖项目文件的时候的一个bug
Downloads
-
5.1.28【调整了一些基础对象的Static属性等】 Stable
released this
2025-10-11 13:16:30 +08:00 | 61 commits to master since this release1、调整了一些基础对象的Static属性
2、在处理权限时,对create userEntityGrant加以特殊处理
3、更新了pretrigger在判断和执行时的一个次序bug(前面的trigger可能会影响后面Trigger的check条件)
4、增加了删除userRelation也删除对应的userEntityClaim的triggerDownloads
-
5.1.27 【makeDep增加了强制模式处理】 Stable
released this
2025-07-09 11:02:50 +08:00 | 68 commits to master since this release1、makeDep增加了强制模式处理
Downloads
-
released this
2025-06-06 15:49:58 +08:00 | 70 commits to master since this release1、处理了includeDeleted的查询结果处理
2、调整configuration 一处声明
3、增加ip跟域名校验方法Downloads
-
released this
2025-05-15 12:58:42 +08:00 | 74 commits to master since this release1、修正了node不支持ReadableStream的bug
2、对attrUpdateMatrix中的filter为函数情况的遗漏处理进行了补齐
3、socket管理界面的ui支持了path配置Downloads