From 64e7235ef69f477fe286ed261c00ee3eee1a696e Mon Sep 17 00:00:00 2001 From: lsy Date: Wed, 25 Feb 2026 19:12:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Durable=20Objects=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/worker/wrangler.toml | 2 +- helloagents/CHANGELOG.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/worker/wrangler.toml b/apps/worker/wrangler.toml index 97b119e..6ef4a87 100644 --- a/apps/worker/wrangler.toml +++ b/apps/worker/wrangler.toml @@ -24,7 +24,7 @@ class_name = "CheckinScheduler" [[migrations]] tag = "v1" -new_classes = ["CheckinScheduler"] +new_sqlite_classes = ["CheckinScheduler"] diff --git a/helloagents/CHANGELOG.md b/helloagents/CHANGELOG.md index 35735fd..0b6a2f2 100644 --- a/helloagents/CHANGELOG.md +++ b/helloagents/CHANGELOG.md @@ -4,6 +4,9 @@ ### 微调 +- **[worker]**: Durable Object 迁移改用 new_sqlite_classes 以兼容免费计划 + - 类型: 微调(无方案包) + - 文件: apps/worker/wrangler.toml - **[admin-ui]**: 令牌创建表单使用 FormData.forEach 以兼容缺少 entries 的类型定义 - 类型: 微调(无方案包) - 文件: apps/ui/src/App.tsx