chore(deps): 更新 nanoid 依赖并修改 ID 生成方式

- 将 nanoid 从 3.3.11 版本升级到 5.1.11 版本
- 修改 createId 函数使用 nanoid 替代 crypto.randomUUID
- 在 next.config.ts 中添加开发环境允许的来源配置
- 更新 bun.lock 文件中的依赖版本信息
This commit is contained in:
HouYunFei
2026-05-19 23:34:00 +08:00
parent 979f1facf0
commit c20faa665b
6 changed files with 16 additions and 3 deletions
+4
View File
@@ -2,6 +2,10 @@
## Unreleased
## v0.0.3 - 2026-05-19
+ [修复] 更新 nanoid 依赖并修改 ID 生成方式,防止其他ip无法使用crypto模块导致的ID生成失败问题。
## v0.0.2 - 2026-05-19
+ [新增] 增加生图工作台功能,支持文生图、图生图、查看历史记录,并增加移动端适配。