| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(m12-m15): AOP/@Around、Request作用域、Cron、Session、i18n、ace-test、ace-cli M12 - Container & AOP 完善: - interceptor.cj: MethodInterceptor 接口 + Invocation + 拦截器注册表 - macros.cj @Around["name"]: 编译期方法拦截织入(无反射 AOP) - container.cj: Scope.Request + 循环依赖检测(resolvingStack) + BeanPostProcessor (resolveHooks) + ContainerSnapshot/snapshot/restore 供测试隔离 - macros.cj @Service["scope"]: 新增有属性变体支持 singleton/prototype/request - config.cj: ${key} / ${key:default} 占位符插值(深度限制 8,防循环引用) M13 - Web 机制完善: - cron.cj: 5/6字段 cron 表达式解析、matchesCronMs、nextAfterMs(Julian Day算法) - scheduler.cj: CronTask + registerCronTask + startScheduler cron 协程(秒级轮询) - macros.cj @Scheduled: 支持 @Scheduled["0 * * * * *"] cron 字符串 vs 整数周期 - session.cj: SessionStore 接口 + MemorySessionStore(TTL) + sessionMiddleware - content_negotiation.cj: Accept 协商 + Body Encoder 注册表 + 参数 Converter - i18n.cj: key=value 消息文件解析 + {0}{1} 占位符替换 + localeMiddleware M14 - 测试套件: - ace-test/: TestRequest/TestResponse(内嵌 App 执行) + withMockBean + withConfig - ops.cj: /ace/beans /ace/env /ace/mappings /ace/loggers 运维端点 M15 - 工具链: - tools/ace-cli/: ace new/g controller/service/entity 脚手架命令 - scripts/dev.sh: fswatch watch+recompile 开发脚本 全量测试 445 通过。 | 6 天前 | |
feat: 初始化 ACE 框架与核心模块 - ace-web: Koa 式洋葱中间件内核(App/Context/compose/错误兜底) - ace-router: 完整 path-to-regexp 路由(vendored path_to_regex, 去 stdx 依赖) - ace-bodyparser: urlencoded 表单解析中间件 - ace-http: stdx.net.http 服务端 catch-all 适配器 - examples/hello-api: 端到端示例(路径参数/洋葱日志) - doc: 需求规格与开发计划 - scripts: 构建环境(SDKROOT 绕过)与 stdx dynamicLoader 垫片构建 - CLAUDE.md / README: 开发者指南与项目说明 | 15 天前 |