github lobehub/lobe-chat v1.52.0

latest releases: v1.52.5, v1.52.4, v1.52.3...
21 hours ago

Version 1.52.0

Released on 2025-02-08

✨ Features

Refactor the auth condition in Next Auth.This upgrade includes two changes:

For users deploying with Vercel using next-auth, it is necessary to add the environment variable NEXT_PUBLIC_ENABLE_NEXT_AUTH=1 to ensure Next Auth is enabled; other users are not affected.
For users using clerk in self-built images, it is necessary to additionally configure NEXT_PUBLIC_ENABLE_NEXT_AUTH=0 to disable Next Auth

Other standard deployment scenarios (using Clerk in Vercel and using next-auth in Docker) are not affected

For More detail, refer to #5804


本次升级存在两个变更:

  • 针对使用 Vercel 部署中使用 next-auth 的用户,需要额外添加 NEXT_PUBLIC_ENABLE_NEXT_AUTH=1 环境变量来确保开启 Next Auth
  • 针对使用自构建镜像中使用 clerk 的用户,需要额外配置 NEXT_PUBLIC_ENABLE_NEXT_AUTH=0 环境变量来关闭 Next Auth

其他标准部署场景(Vercel 中使用 Clerk 与 Docker 中使用 next-auth )不受影响

变更详情原因查看 #5804


Improvements and Fixes

What's improved

  • misc: Refactor the auth condition in Next Auth, closes #5866 (e529108)

Don't miss a new lobe-chat release

NewReleases is sending notifications on new releases.