Releases: tangly1024/NotionNext
Releases · tangly1024/NotionNext
v4.1.0
提示
请谨慎更新该版本!!
4.1相比4.0有大量改动,合并将会出现无法预估的冲突,建议备份好您的代码分支,代码配置。可通过新建一个分支的方式来保存代码。
What's Changed
- fix/notion-page-cover by @tangly1024 in #1614
- Release/4.1.0 by @tangly1024 in #1619
4.1 主要特性
-
开发相关
-
新增siteConfig函数,可直接从Notion中读取配置,并且支持传入默认值
/** * 读取配置顺序 * 1. 优先读取NotionConfig表 * 2. 其次读取环境变量 * 3. 再读取blog.config.js / 或各个主题的CONFIG文件 * @param {*} key ; 参数名 * @param {*} extendConfig ; 参考配置对象{key:val},如果notion中找不到优先尝试在这里面查找 * @param {*} defaultVal ; 参数不存在默认返回值 * @returns */ export const siteConfig = (key, defaultVal = null, extendConfig) => { }
-
-
使用相关
- 绝大部分配置支持在Notion中设置,减少对blog.config.js和vercel环境变量的配置
v4.1.0
- 配置支持读取Notion中的Config文档;省去修改代码和修改环境变量的麻烦。
- 网页上的切换主题按钮,样式微调。
Full Changelog: v4.0.18...v4.1.0
v4.0.18
What's Changed
- 折叠代码块默认展开状态 by @tangly1024 in #1607
- [fix] 文章不存在封面的时候,不使用默认站点封面,导致不显示封面的问题 by @expoli in #1600
- 博客封面随机图片支持 by @tangly1024 in #1608
Full Changelog: v4.0.17...v4.0.18
v4.0.17
What's Changed
- 修复Notion上传视频无法播放
- Fix: 修复 Medium 主题首页文章列表无封面图片时动画异常 by @Femoon in #1579
- 多级slug-bug by @tangly1024 in #1599
New Contributors
Full Changelog: v4.0.16...v4.0.17
v4.0.16
What's Changed
- 新主题add theme nav & add pageIcon support of @lib/getNotionData by @emengweb in #1563
- style(heo): 修复在较小屏幕尺寸时,文章宽度样式问题 by @real-jacket in #1513
- HEO 404页面深色模式 by @tangly1024 in #1572
Full Changelog: v4.0.15...v4.0.16
v4.0.15
What's Changed
- nobelium 主页日期 by @tangly1024 in #1493
- [fix] 修复pushUrl未配置相关Secrets报错邮件 by @ghlerrix in #1495
- style(heo): fix heo style by @real-jacket in #1499
- 修复最新文章发布排序 by @tangly1024 in #1510
- 修复页面中的文件附件无法下载的BUG @tangly1024 in #1511
- 已知遗留bug,页面的嵌入PDF文件无法在线预览
New Contributors
- @real-jacket made their first contribution in #1499
Full Changelog: v4.0.14...v4.0.15
v4.0.14
What's Changed
- 修复因notion升级导致的图片无法显示的问题
- fix nobelium主题搜索框丢失 by @tangly1024 in #1459
- Feat/wwads by @tangly1024 in #1465
- 优化百度推送和新增必应推送 by @ghlerrix in #1461
- Next style by @LooseLi in #1479
- [fix] 修复未配置Action Secrets每日定时推送报错 by @ghlerrix in #1476
Full Changelog: v4.0.13...v4.0.14
v4.0.13
What's Changed
- 支持Artalk评论插件 by @tangly1024 in #1436
- gitbook 侧边栏支持自动分组自动排序 by @tangly1024 in #1455
- feat: 优化右键菜单,现在右键菜单不会超出窗口了 by @mouyase in #1454
- feat(vercel环境变量): 新增代码主题风格 by @LooseLi in #1447
- 百度自动推送 by @ghlerrix in #1440
- fix:sidebar在768-1024 显示不正常 by @Liboq in #1439
New Contributors
Full Changelog: v4.0.12...v4.0.13
v4.0.12
What's Changed
- 集成WebWhiz by @tangly1024 in #1402
- FIX heo 评论区关闭 by @tangly1024 in #1408
- heo搜索 显示摘要 by @tangly1024 in #1409
- 修复文章丢失 by @tangly1024 in #1416
- fix:example 搜索 by @Liboq in #1419
- Nobelium主题菜单优化 by @tangly1024 in #1426
- Fix/comment cusdis by @tangly1024 in #1427
Full Changelog: v4.0.11...v4.0.12
v4.0.11
What's Changed
- feat: 新增页面防复制功能 by @LooseLi in #1381
- fb-messenger逻辑微调,用户点击后即刻弹出窗口
- fix/menu-link-blank 调整外链菜单,使用新窗口打开 by @tangly1024 in #1394
- 修复next主题分页导航bug by @tangly1024 in #1395
Full Changelog: v4.0.10...v4.0.11