Skip to content

v0.3.0

Choose a tag to compare

@truman-t3 truman-t3 released this 09 Jul 09:29

English

Highlights

  • Fix import_model: now actually opens the baseScenePath base scene before importing the model (previously the base scene was ignored).
  • Fix set_camera: no longer crashes when the camera object cannot be obtained — it falls back to the lux-level API automatically.
  • Temp file cleanup: the runner now deletes its temporary args/result JSON after every run, so work/tmp no longer grows unbounded.
  • Clearer call_variants semantics: the first callback that does not throw wins (returning None counts as success); only when all fail does it raise.
  • Test suites added: 25 Vitest (TypeScript) + 5 Python tests covering the fixes above as regression guards.
  • Version bumped 0.2.10.3.0.

Commit: 3009564


中文说明

主要更新

  • 修复 import_model:现在会真正打开 baseScenePath 指定的基础场景,再导入模型(之前基础场景被忽略了)。
  • 修复 set_camera:拿不到相机对象时不再崩溃,会自动回退到 lux 级 API。
  • 临时文件清理:每次运行后自动删除临时的 args/result JSON,work/tmp 不再无限膨胀。
  • 澄清 call_variants 语义:第一个不抛异常的调用即生效(返回 None 也算成功),全部失败才报错。
  • 新增测试套件:25 个 Vitest(TypeScript)+ 5 个 Python 测试,为上述修复提供回归保护。
  • 版本 0.2.10.3.0

对应 commit:3009564