Releases: mlogclub/bbs-go
v4.4.0
v4.4.0
中文
本次版本聚焦底层技术栈升级、前后端运行架构统一、SPA 构建与部署体验,以及 SEO 与 Docker 发布能力增强。
- 前端重构为 React 架构(Web)
- 将前端从旧版实现重构为基于 React / React Router 的新架构,统一页面路由、加载逻辑和组件组织方式。
- 新增完整的
web工程结构,包含页面路由、通用组件、后台组件、编辑器、用户中心、主题、i18n 与 API 客户端等模块。 - 移除旧的
site构建产物,改为新的 Web 构建与嵌入流程,提升后续功能维护和界面迭代效率。
- 服务端迁移到 Gin(Server)
- 将服务端 Web 框架从 Iris 迁移到 Gin,重构路由、中间件、请求参数、响应封装和静态资源处理逻辑。
- 将原有 controller 逐步迁移为 handler 结构,覆盖前台 API、后台管理 API、安装、登录、内容、用户、评论、投票等主要功能。
- 新增
ginx、params等基础工具,补充静态资源、路由、安装流程、用户渲染、搜索等相关测试。
- SPA 构建、嵌入与运行体验优化(Web + Server)
- 新增 SPA 构建产物嵌入与静态文件处理能力,支持服务端直接托管前端页面。
- 优化 Makefile,提供更清晰的 build、run、test、check、web-build-spa、release 等命令。
- 增加运行时 Banner 地址输出,并通过
.env/ server URL 配置提升本地运行和 SSR 脚本的可配置性。
- SEO Sitemap 与搜索能力增强(Server + Web)
- 新增 SEO sitemap 生成与状态接口,并接入后台权限控制。
- 增加
/sitemap.xml代理处理,优化 SSR 服务中的请求转发逻辑。 - 优化搜索服务、搜索参数处理和搜索相关测试,提升站点内容发现能力。
- Docker、构建流水线与贡献文档完善(Build + Docs)
- 新增
Dockerfile、.dockerignore和CONTRIBUTING.md,完善容器化部署和贡献说明。 - 新增 GitHub Actions Docker 镜像构建与推送工作流,并修正 Docker 构建平台配置为
amd64。 - 更新构建脚本,移除旧 SSR 准备脚本,简化发布构建流程。
发布地址: https://github.com/mlogclub/bbs-go/releases/tag/v4.4.0
English
This release focuses on core stack upgrades, unified frontend/backend runtime architecture, SPA build and deployment improvements, and stronger SEO and Docker release workflows.
- Frontend Refactored to React (Web)
- Refactored the frontend to a React / React Router based architecture, unifying page routing, loading logic, and component organization.
- Added a complete
webproject structure covering routes, shared components, dashboard components, editors, user center, theming, i18n, and API clients. - Removed the old
sitebuild output in favor of the new Web build and embedding workflow, making future UI and feature iteration easier to maintain.
- Server Migrated to Gin (Server)
- Migrated the server web framework from Iris to Gin, refactoring routing, middleware, request parameters, response helpers, and static asset handling.
- Moved the previous controller layer toward a handler-based structure across public APIs, dashboard APIs, install, login, content, users, comments, and votes.
- Added foundational
ginxandparamsutilities, plus tests for static serving, routing, installation, user rendering, and search behavior.
- SPA Build, Embedding, and Runtime Experience (Web + Server)
- Added SPA build embedding and static file handling so the server can directly serve the frontend pages.
- Improved the Makefile with clearer build, run, test, check, web-build-spa, and release commands.
- Added runtime banner address output and
.env/ server URL configuration to improve local development and SSR script configurability.
- SEO Sitemap and Search Improvements (Server + Web)
- Added SEO sitemap generation and status endpoints with dashboard permission integration.
- Added
/sitemap.xmlproxy handling and improved request forwarding in the SSR service. - Improved search services, search parameter handling, and related tests to strengthen content discovery.
- Docker, Build Pipeline, and Contribution Docs (Build + Docs)
- Added
Dockerfile,.dockerignore, andCONTRIBUTING.mdto improve containerized deployment and contribution guidance. - Added a GitHub Actions workflow for Docker image builds and pushes, and fixed Docker build platform configuration to
amd64. - Updated build scripts, removed the obsolete SSR preparation script, and simplified the release build flow.
Release: https://github.com/mlogclub/bbs-go/releases/tag/v4.4.0
v4.3.9
This release focuses on SEO metadata and sitemap generation, dashboard visual refinement, improved image preview interactions, and deployment/documentation polish.
- SEO Sitemap and Robots Support (Server)
- Added scheduled SEO sitemap generation with uploaded sitemap files and automatic sitemap index exposure.
- Added static
robots.txthandling with sitemap discovery and crawler-disallow rules for non-public routes. - Added sitemap service tests and router tests to improve reliability around generated SEO resources.
- Page Metadata and Public Route SEO (Web)
- Added shared SEO metadata helpers for site pages, articles, topics, tags, nodes, user profiles, search, links, tasks, install, and auth-related routes.
- Improved route loaders so SSR can provide richer page titles, descriptions, canonical URLs, and preview images.
- Added user profile helper loading for public profile subpages, including articles, badges, fans, and followed users.
- Dashboard Layout and Visual Polish (Web)
- Refined dashboard settings, topics, articles, levels, overview, sidebar, toolbar, and table presentation.
- Improved responsive spacing, navigation labels, sidebar branding, and dense data-page layout details.
- Updated global styles to make dashboard and content surfaces more consistent.
- Image Preview and Content Rendering Improvements (Web + Server)
- Integrated previewable article cover rendering for richer image inspection.
- Enhanced topic feed image handling with preview support and better image rendering behavior.
- Improved tag rendering, API response fields, and upload service helpers used by rendered content.
- Docker, README, and Release Pipeline Updates (Build + Docs)
- Updated Docker Compose persistence to use host paths and switched Docker configuration documentation to the new
bbs-go-docker.yamlnaming. - Simplified the Docker image workflow so pushes can build images without pull-request-only conditions.
- Replaced Mermaid README diagrams with SVG feature overview images in both English and Chinese documentation, and clarified README copy.
Release: https://github.com/mlogclub/bbs-go/releases/tag/v4.3.9
v4.3.7
This release focuses on dashboard modularization, reusable data-management workflows, richer editor interactions, and broader i18n/runtime polish.
- Dashboard Route and Data Management Upgrade (Web)
- Split dashboard management pages into dedicated React Router route modules for clearer navigation, loading, and maintenance.
- Added reusable dashboard data-management components, including tables, toolbars, field controls, filters, detail dialogs, form dialogs, and password dialogs.
- Added dedicated dashboard pages for users, roles, nodes, links, badges, comments, tasks, email logs, forbidden words, user reports, user badges, user experience logs, and user task logs.
- Dashboard UI and Form Experience Improvements (Web)
- Added reusable dashboard dialogs with fullscreen support and improved dashboard select controls with dynamic empty labels and clear-selection behavior.
- Added new shared UI primitives such as command, input group, item, pagination, slider, switch, table, toggle, toggle group, spinner, and related components.
- Improved dashboard overview loading states, sidebar user navigation, pagination controls, article cover rendering, page scroll behavior, and form layout consistency.
- Editor and Content Interaction Enhancements (Web)
- Switched topic editor mode selection to tabs and refined editor mode switching behavior.
- Added slash-command options for paragraphs and task lists, custom scrollbar styling, and improved color-picker behavior.
- Added a shared tag input component and improved backspace deletion behavior for tag editing.
- Site, Article, and Topic UI Polish (Web)
- Added article table of contents support and improved article list layout, metadata display, overflow handling, and mobile presentation.
- Improved topic/comment interaction menus by using a shared confirmation dialog pattern across destructive or sensitive actions.
- Refined header, footer, profile operations, account settings, dark-mode handling, and content styling after typography cleanup.
- i18n, Login, and Server Notification Reliability (Web + Server)
- Integrated i18next-based locale management and expanded
en-US/zh-CNcoverage for dashboard, editor, common UI, and site copy. - Updated Google login configuration to use the OAuth settings structure and improved lazy loading in the root web entry.
- Refactored email notification helpers into message-service methods, added unit tests, and improved localization and validation handling across server responses.
Release: https://github.com/mlogclub/bbs-go/releases/tag/v4.3.7
v4.3.6
This release focuses on frontend unification, completion of the dashboard migration, Docker deployment workflow, and smoother installation/runtime behavior.
- Web Frontend Unified on React Router (Web)
- Added the new
web/frontend based on React Router Framework Mode to host both public site pages and dashboard pages. - Removed the legacy
site/Nuxt project and the legacyadmin/Vue project, with build entry points now unified around thewebmodule. - Added SSR and SPA build outputs, plus route loaders, auth context helpers, root data loading, and improved error-page handling.
- Dashboard Admin Capabilities (Web + Server)
- Added
/dashboardlayout, sidebar navigation, breadcrumbs, theme switcher, language switcher, and admin access control. - Completed management pages for content, topics, data configuration, site settings, page configuration, and level configuration.
- Added dashboard image upload, pagination controls, JSON validation, sort validation, role deletion protection, and friendlier form components.
- Site Pages and User Interaction Improvements (Web)
- Completed React-based site pages for home, topics, articles, search, tasks, links, install flow, user center, and account settings.
- Added topic table of contents, image preview, attachment display, like/favorite actions, recommend/unrecommend actions, and solved/unsolved controls.
- Improved sign-in/sign-up, OAuth callbacks, WeChat login dialog, error pages, search shortcuts, and dynamic profile page titles.
- Docker Deployment and Build Refactor (Build + Docs)
- Added Dockerfile,
docker-compose.yml, defaultdocker/bbs-go.yaml, and container entrypoint script. - Added GitHub Actions workflow for Docker image build/push and removed the old split server/site build workflows.
- Updated
Makefileto support frontend target selection and use the unifiedwebmodule, with docs updated for Docker deployment, configuration, and installation.
- Server Cleanup, Install Flow, and Compatibility (Server)
- Added install-required fallbacks and error handling, plus an installation status field in system configuration responses.
- Removed legacy menu/API management tables and services, with migration scripts to drop obsolete tables.
- Continued improving admin role checks, comment moderation, publish parameter validation, static resource paths, and multilingual configuration.
- Removed SEO push logic to reduce obsolete external dependencies, and added tests around installation, rendering, and comment behavior.
本次版本聚焦前端架构统一、管理后台迁移完成、Docker 部署闭环和安装运行体验优化。
- Web 前端统一迁移到 React Router(Web)
- 新增
web/React Router Framework Mode 前端,统一承载站点页面和管理后台页面。 - 移除旧
site/Nuxt 项目和旧admin/Vue 子项目,构建入口统一切换到web模块。 - 支持 SSR 与 SPA 两种构建输出,并补齐路由 loader、鉴权上下文、根数据加载和错误页处理。
- Dashboard 管理后台能力完善(Web + Server)
/dashboard新增后台布局、侧边栏、面包屑、主题切换、语言切换和管理员访问控制。- 补齐内容管理、帖子管理、数据配置、站点设置、页面配置、等级配置等管理页面能力。
- 新增后台图片上传、分页控制、JSON 校验、排序校验、角色删除保护和更友好的表单组件。
- 站点页面与用户交互升级(Web)
- React 版站点补齐首页、帖子、文章、搜索、任务、链接、安装、用户中心和账号设置等页面。
- 话题详情新增目录、图片预览、附件展示、点赞收藏、推荐/取消推荐、已解决/未解决等交互入口。
- 优化登录注册、OAuth 回调、微信登录弹窗、错误页面、搜索快捷入口和用户资料页标题展示。
- Docker 部署与构建流程重构(Build + Docs)
- 新增 Dockerfile、
docker-compose.yml、默认docker/bbs-go.yaml和容器启动脚本。 - 新增 GitHub Actions Docker 镜像构建与推送流程,并移除旧的 server/site 分离构建工作流。
Makefile支持选择前端构建目标并统一使用web模块,文档同步补齐 Docker 部署、配置和安装说明。
- 服务端清理、安装与兼容性优化(Server)
- 安装流程增加必需配置兜底与错误处理,系统配置增加安装状态响应字段。
- 移除旧菜单/API 管理相关表与服务,并通过迁移脚本清理遗留表结构。
- 管理员角色判断、评论管理、发布参数校验、静态资源路径和多语言配置继续优化。
- 移除 SEO 推送逻辑,减少过时外部依赖,并补充安装、渲染和评论相关测试。
v4.3.5
This release focuses on stronger third-party login support, a more complete attachment workflow, upgraded category navigation, and a refactored site settings experience.
- GitHub Login and Account Linking (Site + Server + Admin)
- Added GitHub OAuth login with callback handling plus account bind/unbind flows.
- The server can now detect existing users by email and link GitHub accounts automatically when appropriate.
- Added GitHub login settings in admin, including enable switch, Client ID, Client Secret, and matching i18n text updates.
- Attachment Upload and Download Workflow (Site + Server)
- Added topic attachment upload and download capabilities, including per-user downloaded-state tracking.
- Added download guards, middleware, and friendlier error pages to improve attachment access and failure handling.
- Refactored uploader and attachment services to unify attachment key generation, transaction flow, and storage-provider behavior.
- Category Hierarchy and Navigation Upgrade (Site + Server + Admin)
- Added parent-child category support with inherited node type handling, plus matching admin management updates.
- Added sub-category navigation, quick selectors, and tree-building utilities on site for clearer browsing.
- Updated search, category pages, and topic publishing flows to support hierarchical category filtering and display.
- Site Settings and Page Content Refactor (Admin + Site + Server)
- Refactored the admin settings center and introduced dedicated page settings, content settings, and notification settings modules.
- Made About page content, footer links, and related site content configurable instead of hardcoded.
- Aligned notification settings across API and UI so site notifications and email notifications can be controlled separately.
- UI Polish, Assets, and i18n Improvements (Site + Server + Docs)
- Improved layout and interaction details across topic lists, topic detail, comments, tasks, and profile-related pages.
- Reorganized default assets such as logos, node icons, and fallback background images with safer defaults.
- Continued improving
en-US/zh-CNtext coverage, README content, and development documentation.
本次版本聚焦第三方登录补强、附件能力闭环、分类导航升级和站点配置体验重构。
- GitHub 登录与账号绑定(Site + Server + Admin)
- 新增 GitHub OAuth 登录能力,并补齐登录回调、账号绑定与解绑流程。
- 后端支持按邮箱自动识别并关联已有用户,降低重复注册与绑定成本。
- 后台新增 GitHub 登录开关、Client ID 和 Client Secret 配置,并同步补齐中英文文案。
- 附件上传下载体系完善(Site + Server)
- 新增话题附件上传与下载能力,支持按用户维度记录已下载附件与下载状态。
- 增加附件下载控制、中间件与错误页处理,提升异常场景下的可用性和提示友好度。
- 上传器与附件服务重构,统一附件键生成、事务处理和多存储实现的行为。
- 分类层级与导航体验升级(Site + Server + Admin)
- 节点支持父子级关系与类型继承,后台节点管理和表单能力同步增强。
- 站点新增子分类导航、分类快捷选择和层级树构建逻辑,分类浏览更清晰。
- 搜索、节点页和帖子发布页同步适配多级分类筛选与展示。
- 站点设置与页面内容配置重构(Admin + Site + Server)
- 后台设置中心重构,新增页面设置、内容设置和通知设置模块。
- About 页面、Footer 链接及相关站点内容改为可配置化管理,减少硬编码内容。
- 通知设置支持站内信和邮件分别控制,配置结构与前后端接口保持一致。
- 交互细节、资源与多语言优化(Site + Server + Docs)
- 优化话题列表、详情页、评论区、任务页和用户资料等多处样式与交互细节。
- 调整默认 logo、节点图标、默认背景图等资源组织方式,并补齐默认资源兜底。
- 持续完善
en-US/zh-CN文案、README 与相关开发文档,提升安装和使用一致性。
v4.3.4
This release focuses on stronger Q&A workflows, a complete bounty lifecycle, and a refactored settings experience, with continued UI and i18n improvements across modules.
- Get Started:https://bbs-go.com
- Q&A Capabilities and Admin Management (Server + Admin)
- Added Q&A capabilities and connected them to admin management flows with status management and filtering.
- Consolidated Q&A and topic management entry points in admin to reduce duplicated operations.
- Optimized topic list and node filtering parameters for better consistency across admin and site.
- Bounty Lifecycle Improvements (Site + Server)
- Added bounty score support for Q&A topics, including create-time input and validation rules.
- Added bounty refund flow for unanswered/unaccepted Q&A topics to complete the score lifecycle.
- Refactored topic create/publish logic with clearer parameter handling and UX copy in Q&A scenarios.
- Notification and Task Event Expansion (Server + Admin)
- Added
QaAnswerAcceptedmessage type and wired both in-site and email notification flows. - Added separate toggles for site notifications and email notifications for finer-grained control.
- Refactored settings-related pages and introduced dedicated content and notification settings modules.
- i18n and Configuration UX Enhancements (Admin + Site + Locales)
- Expanded and aligned
en-US/zh-CNtext coverage for Q&A, bounty, notification, and settings flows. - Improved editor i18n handling to make translation key management more maintainable.
- Improved multilingual consistency for form labels, validation messages, and page titles in admin.
- UI Interactions and Asset Structure Optimization (Site + Server)
- Improved readability and layout details across topic list/detail pages, comments, and user info sections.
- Enhanced node-page filtering and sorting interactions for better browsing efficiency.
- Refactored site resource layout (logos, default images, node icons) with safer default fallbacks.
Release: https://github.com/mlogclub/bbs-go/releases/tag/v4.3.4
本次版本聚焦问答能力完善、悬赏流程闭环和设置中心重构,并持续优化多端交互体验。
- 帮助文档:https://bbs-go.com
- 问答能力与后台管理升级(Server + Admin)
- 新增问答功能并打通后台管理能力,支持问答状态管理与筛选。
- 后台将问答与帖子管理入口整合,减少重复入口和维护成本。
- 帖子列表与节点筛选参数优化,提升管理侧和站点侧查询一致性。
- 悬赏机制完善(Site + Server)
- 新增问答悬赏积分能力,支持发布时配置悬赏积分并补齐校验规则。
- 支持问答未被采纳时的悬赏退回逻辑,完善资金流转闭环。
- 话题创建与发布流程重构,细化 Q&A 场景下的参数处理与提示文案。
- 消息通知与任务事件扩展(Server + Admin)
- 新增
QaAnswerAccepted消息类型,并补齐站内信与邮件通知链路。 - 支持站内通知与邮件通知拆分开关,通知策略更灵活。
- 通知与设置相关页面重构,新增内容设置和通知设置模块。
- 多语言与配置体验优化(Admin + Site + Locales)
- 扩展并统一
en-US/zh-CN文案,覆盖问答、悬赏、通知与设置场景。 - 优化编辑器国际化处理方式,提升翻译键管理的可维护性。
- 补齐后台表单文案、校验提示与页面标题的多语言一致性。
- 页面交互与资源结构优化(Site + Server)
- 话题列表、详情页、评论区和用户信息区域进行多项样式与可读性优化。
- 节点页新增动态筛选与排序交互优化,增强浏览效率。
- 站点资源目录调整(logo、默认图片、节点图标等)并完善默认资源兜底逻辑。
发布地址: https://github.com/mlogclub/bbs-go/releases/tag/v4.3.4
v4.3.3
This release focuses on navigation management upgrades, script injection support, and infrastructure refactors.
- Navigation Config (Admin + Site)
- Upgraded navigation configuration to support two-level menus.
- Added expand/collapse for submenus and one-click expand/collapse all actions.
- Refactored menu editing UX with menu detail/actions and drag-and-drop sorting.
- Improved related i18n content and interaction details in both
en-USandzh-CN.
- Script Injection (Admin + Server)
- Added script injection settings and management flow.
- Added required validation for script name and updated field labels.
- Updated related i18n resources to keep admin configuration consistent across languages.
- Tooling, i18n, and Editor Enhancements
- Added branch selector support (
master/dev) for the build tool and optimized branch ordering. - Added language switch support and improved theme-toggle texts.
- Added i18n support in
HtmlEditorand upgradedtiptapto3.20.0.
- Infrastructure & Runtime Improvements
- Refactored IP locator initialization and configuration with improved async startup flow.
- Added IPv4/IPv6 data file handling, download/validation logic, and related unit tests.
- Refactored upload path handling through the new
respathpackage and aligned related features. - Improved file download flow with progress monitoring and better logging.
- Multiple UI behavior optimizations (dropdown positioning, selected-item scrolling, responsive nav behavior).
Release: https://github.com/mlogclub/bbs-go/releases/tag/v4.3.3
本次版本聚焦导航管理升级、脚本注入能力和基础设施重构优化。
- 导航配置能力升级(Admin + Site)
- 导航配置升级为支持二级菜单。
- 新增二级菜单展开/收起,以及全部展开/收起操作。
- 重构菜单编辑体验,支持菜单详情操作与拖拽排序。
- 补齐并优化
en-US/zh-CN多语言文案和交互细节。
- 脚本注入能力(Admin + Server)
- 新增脚本注入配置能力与后台管理入口。
- 增加“脚本名称”必填校验,并统一字段命名展示。
- 同步更新相关国际化文案,保证中英文配置体验一致。
- 构建工具、i18n 与编辑器增强
- 构建工具新增目标分支选择(
master/dev),并优化分支展示顺序。 - 新增语言切换能力,优化主题切换按钮文案。
HtmlEditor新增 i18n 支持,并升级tiptap到3.20.0。
- 基础能力与运行时优化
- 重构 IP 定位初始化与配置流程,改进异步启动逻辑。
- 增强 IPv4/IPv6 数据文件下载、校验与解析能力,并补充单元测试。
- 新增
respath包统一上传路径处理,并同步改造相关功能。 - 重构文件下载流程,增加下载进度监控与日志记录能力。
- 多项交互细节优化(如下拉菜单定位、选中项滚动、导航响应式表现)。
发布地址: https://github.com/mlogclub/bbs-go/releases/tag/v4.3.3
v4.3.2
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-USandzh-CN(site + server locales).
- SMTP Config Management (Admin + Migration)
- Added SMTP settings form in admin settings page.
- Added
smtpConfigin sys-config admin response and save flow. - Added migration to move effective SMTP config from YAML (
config.Instance.Smtp) intosys_configwhen missing. - Cleaned
bbs-go.example.yamlby removing legacy SMTP block comments and reorganizing search config section.
- Email Log System (Admin + Server)
- Added
EmailLogmodel/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/adminroles.
- 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
LoadMoreAsynccomponent naming and simplifiedTasksUserCardusage. - 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
v4.3.1
This release focuses on site URL configuration, message experience improvements, and cross-platform build compatibility.
- Site URL Configuration & Link Generation
- Moved site URL (
baseURL) from YAML config into system configs, so installer and admin now manage it in one place. - Added
baseURLto public config APIs; admin now loads site URL at runtime instead of relying on static env values. - Added
useAPIBaseURLand updateduseSiteURLin admin to clearly separate API URL and site URL usage. - Unified URL normalization (trailing slash handling) and switched topic detail URLs to encoded topic IDs.
- Task & Growth Message Enhancements
- Added new event/message types for level-up and badge grant, with full i18n text updates.
- Added corresponding in-site message and email notification subjects.
- Added direct detail links: level-up messages jump to Task Center, badge messages jump to user badge page.
- Installer & Database Guidance Updates
- Updated installer copy to support both MySQL (5.7+) and SQLite, with MySQL recommended for production.
- Added required Site URL validation in installer, with current request origin as the default initial value.
- Build & Release Compatibility
- Improved multi-platform build flow in Makefile (macOS / Linux / Windows, multiple architectures).
- Replaced SQLite driver with pure-Go
github.com/glebarez/sqlite, removing CGO dependency for cross-compilation.
本次版本聚焦站点 URL 配置、消息体验和跨平台构建兼容性优化。
- 站点 URL 配置与链接生成优化
- 将站点 URL(
baseURL)从配置文件迁移到系统配置表,支持安装向导与后台统一配置。 - 公开配置接口增加
baseURL返回,管理后台在运行时从接口读取站点 URL,减少环境变量依赖。 - 管理后台新增
useAPIBaseURL/useSiteURL区分 API 地址与站点地址,图片与站内跳转链接生成更准确。 - 站内 URL 生成统一做标准化处理(去除多余
/),并将话题详情链接切换为编码 ID 路由。
- 任务成长消息增强
- 新增“用户等级提升”“获得勋章”事件消息类型,并补齐中英文本地化文案。
- 新增对应站内消息与邮件通知标题。
- 等级提升消息可跳转任务中心,勋章消息可跳转用户勋章页,查看详情更直接。
- 安装与数据库说明更新
- 安装引导文案更新为支持 MySQL(5.7+)或 SQLite,并提示生产环境优先使用 MySQL。
- 安装页新增网站 URL 必填校验,默认使用当前访问域名作为初始值。
- 构建与发布兼容性改进
- Makefile 完善跨平台构建流程(macOS / Linux / Windows 多架构)。
- SQLite 驱动切换为
github.com/glebarez/sqlite纯 Go 实现,移除交叉编译对 CGO 的依赖,提升可移植性。
Full Changelog: v4.3.0...v4.3.1
v4.3.0
本次版本聚焦于「任务系统 + 成长体系 + 投票能力 + 安装/构建流程 + 多语言与体验优化」,并包含多项稳定性修复与工程重构。
- 新增功能
- 新增任务系统(任务中心、任务配置、任务分组、任务进度、任务菜单与路由、相关 API 与迁移初始化)。
- 新增成长体系能力(等级配置、经验值、等级称号展示、升级事件与任务联动)。
- 新增用户徽章系统(徽章展示、勋章模板与图标、用户中心/侧边栏展示、缓存支持)。
- 新增前台投票能力(投票数据结构、服务端实现、前端投票卡与编辑器、到期时间选择器)。
- 新增 Google 登录集成(前后端接入、绑定流程、重定向与参数校验优化)。
- 新增 AWS S3 上传支持,并完善阿里云/腾讯云上传配置校验。
- 新增 SQLite 支持与安装流程相关配置能力。
- 重要优化
- 重构 ID 体系:引入 Snowflake ID;增加 ID 编解码(Feistel + Base62)、随机密钥、配置与测试;多处接口 ID 统一字符串化并兼容明文/加密 ID。
- 任务事件与积分发放流程优化:强化事务原子性、事件唯一性与日志更新逻辑,减少重复完成风险。
- 用户中心与任务页 UI 大幅优化:用户等级/经验展示、签到卡片、任务卡片、徽章组件、导航与布局持续打磨。
- 话题/搜索/节点选择器体验优化:节点选择、筛选交互、滚动区域、样式与可读性改进。
- 多语言(en-US / zh-CN)覆盖持续补齐,移除硬编码文案并完善登录、任务、投票等场景国际化。
- 上传与资源路径逻辑优化(头像/默认资源迁移到 server 资源目录、URL 拼接能力增强)。
- 修复项
- 修复多处事务与并发相关问题(包含任务、积分、主题计数等链路)。
- 修复数据泄露相关漏洞。
- 修复投票展示、搜索组件结构、消息列表、登录/绑定流程等问题。
- 修复构建产物目录层级与 Makefile 打包问题。
- 修复安装初始化迁移失败处理、middleware 配置判空等稳定性问题。
- 构建与工程
- 支持将 site 构建为 SPA/静态站点,完善打包流程与输出目录处理。
- 构建工具链重构:.opensource 流程、分支切换、远端选择推送、提交信息 TUI 输入等。
- 升级和调整多项依赖(如 Nuxt/Vue、reka-ui、shadcn-nuxt、md-editor-v3、lucide-vue-next、Go 依赖等)。
- 清理无用代码与历史文件(含部分脚本、文档、iconfont、docker 相关内容)。
- 兼容性与注意事项
- 接口字段与 ID 策略有调整(如部分场景返回 uuid、ID 字符串化、加密 ID 能力引入),请关注前后端联调与后台筛选参数兼容。
- 任务/徽章/等级相关功能依赖 migration 初始化,升级后请确保迁移已完整执行。
- 上传配置结构有变更(如 S3 字段调整),请核对部署配置。