Skip to content

Releases: du2333/flare-stack-blog

v1.5.0

04 Apr 05:08

Choose a tag to compare

1.5.0 (2026-04-04)

邮件系统现已统一支持 SMTP,兼容性更高,可适配更多邮件服务商。旧版 Resend 配置可自动兼容,无需手动迁移。

The email system now uses SMTP for broader compatibility across more email providers. Legacy Resend configuration remains automatically compatible, with no manual migration required.

Features

  • 统一邮件配置为 SMTP 并兼容 Resend 旧配置 (#97) (04e5729)

Bug Fixes

  • 修正路由清单生成脚本的正则输出 (34456df)

Code Refactoring

  • 移除自定义列表扩展并修复编辑器 Tab 行为 (2bf8e79)

v1.4.3

29 Mar 11:05

Choose a tag to compare

1.4.3 (2026-03-29)

Features

  • 支持通过 ROUTE 变量切换 Cloudflare routes 部署 (22fb964)

Bug Fixes

  • 修复部署工作流未读取 Vault 的 ROUTE 和 ZONE_NAME (0b20d8d)
  • 浏览量记录从 loader 移至 useEffect,避免预加载误计 (d42ca8a)

Code Refactoring

  • 合并集成测试文件,减少 Workers pool 冷启动开销 (6a24746)

v1.4.2

22 Mar 05:46

Choose a tag to compare

1.4.2 (2026-03-22)

Bug Fixes

  • 修复 Cloudflare purge 响应判定 (714c8c3)
  • 社交链接自动补全 https:// 协议前缀 (d71aeaa)

Code Refactoring

  • 图片宽高检测从客户端移至服务端 refactor: detect image dimensions server-side (4f706f6)

v1.4.1

22 Mar 04:20

Choose a tag to compare

1.4.1 (2026-03-22)

Features

  • theme: 两个主题适配可配置社交链接数组 (bb7b452)
  • 旧格式社交链接自动迁移为数组 (63975d0)
  • 添加社交平台注册表,social schema 改为数组 (b0e8d76)

Bug Fixes

  • getPublicPostsByIds 漏选 pinnedAt 导致相关文章 Zod 解析失败 (69449ce)
  • popularPosts 缓存键加入版本号,清缓存时能正确失效 (03a5fcb)
  • 允许 social/ 前缀的资源上传路径 (a00225c)
  • 全局错误处理改为 console.error,UNKNOWN 错误不再弹 toast (d7267f8)
  • 后台热门内容显示文章标题而非 slug (871a25a)

Code Refactoring

  • 移除社交链接数量限制 (a16439c)

v1.4.0

22 Mar 01:32

Choose a tag to compare

1.4.0 (2026-03-22)

v1.4.0

自建浏览量统计 | Self-Hosted Pageview Analytics

告别第三方统计服务的服务端依赖。系统现已内置浏览量统计,基于 Cloudflare Queue + D1,从采集到展示全部在你自己的基础设施上完成。

No more server-side dependency on third-party analytics. The system now includes built-in pageview tracking powered by Cloudflare Queue + D1 — collection, storage, and display all run on your own infrastructure.

  • 后台概览页支持 24h / 7d / 30d / 90d 时间范围切换,展示 PV、UV、流量趋势和热门文章
  • Admin dashboard with PV, UV, traffic trends, and top posts across 24h / 7d / 30d / 90d ranges
  • 访客通过 SHA-256 匿名去重,浏览量异步写入,对页面加载零阻塞
  • Visitors anonymized via SHA-256 hashing; writes are async via Queue with zero impact on page load
  • 客户端 Umami 埋点仍可选启用,两者互不冲突
  • Client-side Umami tracking remains optional and works alongside built-in stats

文章置顶 | Post Pinning

在编辑器中一键置顶文章,置顶文章在首页优先展示。支持多篇置顶,按置顶时间排序。

Pin posts from the editor with one click. Pinned posts appear first on the homepage, ordered by pin time. Multiple pins supported.

环境变量变更 | Environment Variable Changes

新增 | Added:

  • PAGEVIEW_SALT(可选)— 增强访客哈希的匿名性,openssl rand -hex 16 生成
  • PAGEVIEW_SALT (optional) — strengthens visitor hash anonymization, generate with openssl rand -hex 16

移除 | Removed:

  • UMAMI_API_KEY / UMAMI_USERNAME / UMAMI_PASSWORD — 服务端 Umami 集成已被内置统计替代
  • Server-side Umami integration replaced by built-in analytics

保留 | Unchanged:

  • UMAMI_SRC / VITE_UMAMI_WEBSITE_ID — 客户端埋点不受影响
  • Client-side tracking unaffected

主题适配 | Theme Compatibility

自定义主题需适配 HomePageProps 新增的 pinnedPostspopularPosts 字段。内置的 Fuwari 和 Default 主题已完成适配。

Custom themes need to handle the new pinnedPosts and popularPosts fields in HomePageProps. Built-in Fuwari and Default themes are already updated.

v1.3.5

18 Mar 22:43

Choose a tag to compare

1.3.5 (2026-03-18)

Release Notes

中文

  • MCP 已切换到 Cloudflare 官方 workers-oauth-providercreateMcpHandler(),移除旧的 Better Auth OAuth 胶水和手写 MCP transport。
  • 修复 OAuth consent 页把 Worker-only 依赖带进前端打包的问题。
  • 移除 OAuth clients 列表中误导性的“最后活动时间”展示。
  • 清理已废弃的 Better Auth OAuth 数据表,并同步 wrangler.example.jsonc 所需配置。

Breaking Change

  • 这次升级后,现有 MCP OAuth 授权都会失效,所有已连接的 OAuth clients 需要重新授权。
  • 对于 fork 本项目并自行维护 wrangler.jsonc 的用户,需要手动同步配置:
    • 新增 OAUTH_KV 绑定,可与现有 KV 复用同一个 namespace id。
    • compatibility_flags 中加入 global_fetch_strictly_public

English

  • MCP has been migrated to Cloudflare’s official workers-oauth-provider and createMcpHandler(), removing the old Better Auth OAuth glue and custom MCP transport.
  • Fixed the OAuth consent page pulling Worker-only dependencies into the client bundle.
  • Removed the misleading “last activity” timestamp from the OAuth clients UI.
  • Cleaned up obsolete Better Auth OAuth tables and updated the required wrangler.example.jsonc configuration.

Breaking Change

  • Existing MCP OAuth authorizations are no longer valid after this upgrade, and all connected OAuth clients must re-authorize.
  • If you fork this project and maintain your own wrangler.jsonc, you must update it manually:
    • Add the OAUTH_KV binding. It can reuse the same namespace id as your existing KV.
    • Add global_fetch_strictly_public to compatibility_flags.

Bug Fixes

  • oauth-clients: 移除误导性的最后活动时间展示 (78d959a)
  • oauth: 拆分共享 OAuth 常量以避免客户端打包 Worker 依赖 (f2a12ca)

Code Refactoring

  • mcp: 切换到 Cloudflare 官方 OAuth Provider 与 MCP Handler (2396d73)

v1.3.4

18 Mar 04:14

Choose a tag to compare

1.3.4 (2026-03-18)

Features

  • 延长 MCP OAuth 访问令牌并补充 JWT 撤销校验 (b3b17f4)

v1.3.3

18 Mar 02:22

Choose a tag to compare

1.3.3 (2026-03-18)

Features

  • 改为本地校验 OAuth JWT 访问令牌 (69b4ab5)

v1.3.2

17 Mar 23:28

Choose a tag to compare

1.3.2 (2026-03-17)

Features

  • 优化文章历史差异视图 improve post revision history diff view(4f76249)

v1.3.1

17 Mar 21:00

Choose a tag to compare

1.3.1 (2026-03-17)

Features

  • 为 MCP Prompt 添加语言选择与中英双语文案; feat: Add prompt language selection and bilingual prompt copy for MCP prompts. (7b9b1a8)
  • 引入 MCP Prompt 系统、注册表与首批博客工作流提示; feat: Introduce the MCP prompt system, registry, and initial blog workflow prompts. (3b9d5b2)

Bug Fixes

  • 修复 MCP Markdown 输入中转义换行导致的解析问题; fix: Normalize escaped newlines in MCP markdown input to prevent parsing issues. (7b77eb8)