bbs-go v4.3.2 已经发布,基于 Go 开发的论坛系统
此版本更新内容包括:
This release focuses on password reset, SMTP management, and email observability.
- Password Reset (Site + API)
- Added password reset request API and reset API (
/api/login/send_reset_password_email, /api/login/reset_password).
- Added forgot/reset password pages on site, and connected them to captcha verification flow.
- Added server-side reset token validation, expiry check, and forced sign-out of active user tokens after reset.
- Added full i18n texts for both
en-US and zh-CN (site + server locales).
- SMTP Config Management (Admin + Migration)
- Added SMTP settings form in admin settings page.
- Added
smtpConfig in sys-config admin response and save flow.
- Added migration to move effective SMTP config from YAML (
config.Instance.Smtp) into sys_config when missing.
- Cleaned
bbs-go.example.yaml by removing legacy SMTP block comments and reorganizing search config section.
- Email Log System (Admin + Server)
- Added
EmailLog model/repository/service/controller and admin list page.
- Email sending now records success/failure, biz type, subject, content, and error message for audit/troubleshooting.
- Added email log detail modal in admin with content preview/source view and copy action.
- Added migration to initialize the Email Log menu and bind it to default
owner/admin roles.
- Mail Service Refactor & UX Polish
- Replaced old package-level email sender with unified
EmailService.
- Updated password reset / email verify / message notice flows to use the new email service and biz-type logging.
- Unified
LoadMoreAsync component naming and simplified TasksUserCard usage.
- Improved article list/tag page i18n titles and minor UI fixes (Google unbind link cursor, install-loading text).
Release: https://github.com/mlogclub/bbs-go/releases/tag/v4.3.2
本次版本聚焦密码重置、SMTP 配置管理和邮件可观测性能力建设。
- 密码重置能力(Site + API)
- 新增找回密码与重置密码接口(
/api/login/send_reset_password_email、/api/login/reset_password)。
- Site 端新增“忘记密码/重置密码”页面,并接入验证码流程。
- 服务端新增重置 token 合法性与有效期校验,重置成功后会使该用户现有登录态失效。
- 补齐
en-US / zh-CN 的前后端 i18n 文案。
- SMTP 配置后台化(Admin + Migration)
- 后台设置页新增 SMTP 配置表单。
- 系统配置接口与保存逻辑新增
smtpConfig 字段。
- 新增数据迁移:当系统配置缺失时,将 YAML 中有效 SMTP 配置迁移到
sys_config。
- 清理
bbs-go.example.yaml 中旧 SMTP 注释块,并整理搜索配置段落位置。
- 邮件日志系统(Admin + Server)
- 新增
EmailLog 模型、仓储、服务、控制器以及后台列表页。
- 邮件发送链路支持记录发送结果、业务类型、主题、正文和错误信息,便于审计与排障。
- 后台新增邮件日志详情弹窗,支持内容预览、源码查看与一键复制。
- 新增迁移脚本:初始化“邮件记录”菜单,并为默认角色(
owner/admin)补齐授权。
- 邮件服务重构与页面细节优化
- 用统一
EmailService 替换旧邮件发送实现。
- 密码重置、邮箱验证、消息通知等邮件发送场景统一接入新服务和业务类型日志。
- 统一
LoadMoreAsync 组件命名,并简化 TasksUserCard 用法。
- 优化文章页/文章标签页国际化标题与样式细节,补充安装中提示文案与谷歌解绑链接交互样式。
发布地址: https://github.com/mlogclub/bbs-go/releases/tag/v4.3.2
详情查看:https://gitee.com/mlogclub/bbs-go/releases/v4.3.2