Skip to content

v4.4.0

Latest

Choose a tag to compare

@bbbbbbbbbbbbba bbbbbbbbbbbbba released this 22 May 10:05
· 33 commits to master since this release

v4.4.0

中文

本次版本聚焦底层技术栈升级、前后端运行架构统一、SPA 构建与部署体验,以及 SEO 与 Docker 发布能力增强。

  1. 前端重构为 React 架构(Web)
  • 将前端从旧版实现重构为基于 React / React Router 的新架构,统一页面路由、加载逻辑和组件组织方式。
  • 新增完整的 web 工程结构,包含页面路由、通用组件、后台组件、编辑器、用户中心、主题、i18n 与 API 客户端等模块。
  • 移除旧的 site 构建产物,改为新的 Web 构建与嵌入流程,提升后续功能维护和界面迭代效率。
  1. 服务端迁移到 Gin(Server)
  • 将服务端 Web 框架从 Iris 迁移到 Gin,重构路由、中间件、请求参数、响应封装和静态资源处理逻辑。
  • 将原有 controller 逐步迁移为 handler 结构,覆盖前台 API、后台管理 API、安装、登录、内容、用户、评论、投票等主要功能。
  • 新增 ginxparams 等基础工具,补充静态资源、路由、安装流程、用户渲染、搜索等相关测试。
  1. SPA 构建、嵌入与运行体验优化(Web + Server)
  • 新增 SPA 构建产物嵌入与静态文件处理能力,支持服务端直接托管前端页面。
  • 优化 Makefile,提供更清晰的 build、run、test、check、web-build-spa、release 等命令。
  • 增加运行时 Banner 地址输出,并通过 .env / server URL 配置提升本地运行和 SSR 脚本的可配置性。
  1. SEO Sitemap 与搜索能力增强(Server + Web)
  • 新增 SEO sitemap 生成与状态接口,并接入后台权限控制。
  • 增加 /sitemap.xml 代理处理,优化 SSR 服务中的请求转发逻辑。
  • 优化搜索服务、搜索参数处理和搜索相关测试,提升站点内容发现能力。
  1. Docker、构建流水线与贡献文档完善(Build + Docs)
  • 新增 Dockerfile.dockerignoreCONTRIBUTING.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.

  1. 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 web project structure covering routes, shared components, dashboard components, editors, user center, theming, i18n, and API clients.
  • Removed the old site build output in favor of the new Web build and embedding workflow, making future UI and feature iteration easier to maintain.
  1. 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 ginx and params utilities, plus tests for static serving, routing, installation, user rendering, and search behavior.
  1. 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.
  1. SEO Sitemap and Search Improvements (Server + Web)
  • Added SEO sitemap generation and status endpoints with dashboard permission integration.
  • Added /sitemap.xml proxy handling and improved request forwarding in the SSR service.
  • Improved search services, search parameter handling, and related tests to strengthen content discovery.
  1. Docker, Build Pipeline, and Contribution Docs (Build + Docs)
  • Added Dockerfile, .dockerignore, and CONTRIBUTING.md to 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