Skip to content

升级 Calcit 0.42.1 并收紧 HTTP 路由类型 - #52

Merged
tiye merged 1 commit into
mainfrom
migrate/file-sucker-calcit-0421
Nov 12, 2026
Merged

tiye merged 1 commit into
mainfrom
migrate/file-sucker-calcit-0421

Conversation

@tiye

@tiye tiye commented Nov 12, 2026

Copy link
Copy Markdown
Member

用户影响

文件选择、上传、列表和下载沿用原 URL 与 HTTP 响应。开发和 CI 工具链升级到 Calcit 0.42.1。

改动与风险

  • 用 union 表达即时响应、延迟响应回调和已由 Node 写出的响应,移除路由入口的 Dynamic,并把 CI 弱类型分析上限从 1 收紧到 0。
  • 文件列表的 Promise 保留在 Node 边界,使用 Skir 既有的延迟响应回调交付结果。重点验证异步列表能返回完整页面。
  • 同步编译器、JS runtime 和 lockfile,补齐 0.42.1 要求的效果标注。

验证

  • 依赖锁校验、浏览器与 Node 完整 strict、全部 72 项定义检查、原 schema 测试及前后端构建通过。
  • 隔离回环服务使用合成文件验证首页、两种文件列表 URL、下载、上传 GET/OPTIONS 和 multipart POST,均返回 HTTP 200,上传后文件内容一致。

@tiye
tiye merged commit 096a053 into main Nov 12, 2026
1 check passed
@tiye
tiye deleted the migrate/file-sucker-calcit-0421 branch November 12, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant