An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Show changelog after upgrading https://github.com/siyuan-note/siyuan/issues/7902
Liang Ding0fe6759bdee3
diff --git a/kernel/api/system.go b/kernel/api/system.goindex b2a6c8fd0b..b9f5f7a558 100644--- a/kernel/api/system.go+++ b/kernel/api/system.go@@ -45,13 +45,16 @@ func getChangelog(c *gin.Context) {return}- if !model.Conf.ShowChangelog {- return- }+ //if !model.Conf.ShowChangelog {+ // return+ //}++ ver := util.Ver+ ver = "2.8.4"- changelogPath := filepath.Join(changelogsDir, "v"+util.Ver+"_"+model.Conf.Lang+".md")+ changelogPath := filepath.Join(changelogsDir, "v"+ver+"_"+model.Conf.Lang+".md")if !gulu.File.IsExist(changelogPath) {- changelogPath = filepath.Join(changelogsDir, "v"+util.Ver+".md")+ changelogPath = filepath.Join(changelogsDir, "v"+ver+".md")if !gulu.File.IsExist(changelogPath) {logging.LogErrorf("changelog not found: %s", changelogPath)return@@ -64,11 +67,12 @@ func getChangelog(c *gin.Context) {return}+ model.Conf.ShowChangelog = falseluteEngine := lute.New()htmlContent := luteEngine.Markdown("", contentData)data["show"] = true- data["html"] = htmlContent+ data["html"] = gulu.Str.FromBytes(htmlContent)ret.Data = data}