Skip to content

Releases: Calcium-Ion/new-api

v0.4.6.5.1

01 Feb 06:12
Compare
Choose a tag to compare

v0.4.6.5

01 Feb 05:42
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.6.3...v0.4.6.5

v0.4.6.4

27 Jan 05:35
fec448e
Compare
Choose a tag to compare

What's Changed

  • feat: 新增渠道管理与模型列表获取 by @yinuan-i in #694

New Contributors

Full Changelog: v0.4.6.3...v0.4.6.4

v0.4.6.3

26 Jan 08:25
Compare
Choose a tag to compare

v0.4.6.2.2

25 Jan 06:02
dd593e1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.6.2.1...v0.4.6.2.2

v0.4.6.2.1

22 Jan 05:42
Compare
Choose a tag to compare

v0.4.6.2

21 Jan 04:21
7f8112a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.6.1...v0.4.6.2

v0.4.6.1

06 Jan 12:10
b85a07e
Compare
Choose a tag to compare

What's Changed

[v0.4.6.1] - 2025-01-06

⚠️ BREAKING CHANGES

  • 修改了 access_token 鉴权机制 (access_token是个人设置里的“系统访问令牌”,不是令牌不是sk-xxx别乱传行不行)
    • 现在需要在请求头中添加 New-Api-User 字段
    • New-Api-User 的值必须为用户 ID
    • 不包含此请求头的 access_token 鉴权将会失败

📝 Migration Guide

如果您正在使用 access_token 鉴权,需要进行以下更新:

# 旧版请求
Authorization: Bearer <access_token>

# 新版请求
Authorization: Bearer <access_token>
New-Api-User: <user_id>

Full Changelog: v0.4.6.0...v0.4.6.1

v0.4.6.0

06 Jan 07:36
Compare
Choose a tag to compare

What's Changed

破坏性更新说明 (v0.4.6.0)

数据库变更

  • 修改 abilities 表 model 字段长度从 64 字符扩展到 255 字符
  • 此更新可能导致数据库兼容性问题

如遇启动问题

如果系统无法正常启动,请按以下步骤操作:

  1. 删除数据库中的 abilities 表
  2. 重新启动系统
  3. 进入渠道管理页面
  4. 点击"修复数据库一致性"按钮

更新内容

  • 优化了渠道模型字段长度限制
  • 支持更长的模型名称存储

注意事项

  • 建议在更新前备份数据库
  • 更新后请及时检查渠道配置是否正常

Full Changelog: v0.4.5.3...v0.4.6.0

v0.4.5.3

05 Jan 09:19
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.5.2...v0.4.5.3