最新版本与更新日志
当前主线:4.10.3(见根目录
package.json)
4.10.3 发布要点
本版本重点优化 Magzine 主题、字体资源、构建缓存和 Notion 数据过滤,并合入社区站数据库、视图筛选、Heo / Fuwari / Hexo / Matery 主题体验与依赖安全更新。
性能与资源加载
- 优化 Magzine 首页首屏图片加载策略,减少 LCP 图片延迟。
- 调整 Magzine 首页图片、广告位与文章卡片布局,降低图片、广告和卡片内容加载时的布局抖动。
- Font Awesome 样式改为延后加载,并在用户有交互意图后再加载,减少首屏阻塞。
- 预留 Font Awesome 图标布局空间,修复延迟加载期间图标可见性和页面跳动问题。
- 将 Font Awesome 字体文件改为本地自托管,减少第三方字体 CDN 依赖。
- Web Font 仅在配置启用时加载,未配置自定义字体的站点不再请求额外字体资源。
Notion 数据与构建稳定性
- 稳定本地构建缓存文件锁,降低并发构建或重复读取缓存时的异常风险。
- 优化 filtered collection 数据处理,减少无关 Notion collection 数据进入页面数据。
- 保留空的 selected view 结果,避免空集合视图被误判为缺失数据。
- 增加 typed collection helper,统一集合数据读取路径。
主题与配置
- Fuwari 主题首次渲染时正确应用主题色相,并补充主题切换稳定性调整。
- Heo 信息卡 greeting 逻辑归一化,避免不同配置路径显示不一致。
- Hexo / Matery 主题新增 greeting words speed 配置,可控制首页问候语切换速度。
- 新增社区站数据库模板文档,补充 Notion 社区站点搭建入口。
文档与部署
- 文档站首页和导航加入最近更新提示能力,方便维护者发现新 changelog 与重要文档更新。
- 更新 Cloudflare Pages V3 build image 迁移说明。
- 更新开发者首页、愿景路线图与性能优化计划,记录本轮性能优化和后续维护方向。
依赖更新
axios升级到1.17.0。@vercel/functions升级到3.6.2。ioredis升级到5.11.1。@supabase/supabase-js升级到2.107.0。
参与者
- @tangly1024:33 个提交。
- @qianzhu / Lucien:6 个提交。
- @dependabot:4 个提交。
- @88lin:1 个提交。
- @expoli:1 个提交。
- @githubdudu:1 个提交。
提交范围
从 v4.10.2 到 v4.10.3:
5a1017a7fix: filter embedded Notion collection views6ec30f99chore(release): bump package.json to 4.10.19c793e3cfix: handle sync_block with content ID array782a35bffix: render quote blocks without properties.title6b24adc9fix: respect view-level filters in database page resolutionf837e3d9fix: apply Fuwari theme hue on initial render1a6b2263fix: preserve giscus oauth callback token8f685096docs: surface changelog unread updates1aeac547merge: release v4.10.2 hotfixee1043eefix: limit docs unread dots to sidebara0c9970cfix: mark latest docs unread in sidebar2eee510dfix: record docs reads for every route07ccff5bfix: render sidebar unread dots as nodes3815bda6fix: keep sidebar unread leaf dots visible302feebbfix: normalize Heo infocard greetings5252770erefactor: add typed collection helpers61b8c774docs: add community site database template4fb658befix: preserve empty selected view results88e03cc1chore: bump @supabase/supabase-js to 2.107.0e747d117chore: bump ioredis to 5.11.18e11d730chore: bump @vercel/functions to 3.6.2186b3e3achore: bump axios to 1.17.09922643fOptimize Font Awesome stylesheet loading3abb4a83Merge Font Awesome loading optimization35f332d5Improve magzine homepage performance6ccd2b86Merge magzine homepage performance improvements560d04e2Optimize magzine LCP image loadingc9373041Merge magzine LCP image optimization1e34875bStabilize build cache locks and filtered collection data7d431f12Merge build cache stability updatescb4c065ddocs: add Cloudflare Pages V3 build image migration941cf310Improve magzine image and ad layout stabilitye3d91b9eMerge magzine image layout stabilitya9525fffDefer Font Awesome from critical pathf96fecd5Merge Font Awesome critical path deferral2362c9c2Load web fonts only when configured8d783e33Merge deferred web font loadingff2c5073Load Font Awesome after user intent8da1cf29Merge Font Awesome intent loader1e4e2de4Reserve Font Awesome icon layout33ad83bfMerge Font Awesome layout reservation2a1dda67Fix delayed Font Awesome visibilityad5e32b2Merge Font Awesome visibility fixdf71ae22Self-host Font Awesome for menu icons256a2363Merge self-hosted Font Awesome performance fix512524a7feat: add configurable greeting words speed
适用场景
- 使用 Magzine、Fuwari、Heo、Hexo 或 Matery 主题的站点。
- 希望减少 Font Awesome / Web Font 对首屏渲染影响的站点。
- 使用 Notion collection view、Cloudflare Pages 或依赖构建缓存的站点。
升级说明
- 正常升级无需新增环境变量。
- 如果站点依赖 Font Awesome 图标,请升级后确认图标显示正常。
- 如果使用自定义 Web Font,请确认相关字体配置仍按预期启用。
- 如果使用 Hexo / Matery 主题,可按需配置 greeting words speed。
验证
git diff --check:通过。node -e "const p=require('./package.json'); if (p.version !== '4.10.3') process.exit(1)":通过。yarn docs:site:build:通过。
如何升级
- 站长升级:见 版本升级指引。
- 构建性能与 Notion API 限流:见 构建性能与 Notion API 限流。
- GitHub Release:NotionNext Releases。
