Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2025-02-19 12:48:41 +08:00
commit e41fa434f9
5 changed files with 195 additions and 0 deletions

View File

@ -0,0 +1,61 @@
## Overview
This version improves some details.
## Changelogs
Below are the detailed changes in this version.
### Enhancement
* [Hide text in breadcrumb of last non-document path in embed block](https://github.com/siyuan-note/siyuan/issues/13866)
* [Improve code/kbd/tag element editing](https://github.com/siyuan-note/siyuan/issues/13871)
* [Deduplicate container block backlink](https://github.com/siyuan-note/siyuan/issues/13872)
* [Improve the centering and line wrapping of database primary key emojis](https://github.com/siyuan-note/siyuan/issues/13940)
* [Insert list reference when dragging multiple docs into the editor](https://github.com/siyuan-note/siyuan/issues/13942)
* [Double click .search__drag to restore default width](https://github.com/siyuan-note/siyuan/issues/13964)
* [Improve RTL rendering](https://github.com/siyuan-note/siyuan/issues/14044)
* [Improve find-replace of image/link elements](https://github.com/siyuan-note/siyuan/issues/14049)
* [Remove `<br>` in the document title](https://github.com/siyuan-note/siyuan/issues/14057)
* [Supports table copy in read-only mode](https://github.com/siyuan-note/siyuan/issues/14080)
* [Hide the network image icon in the inbox](https://github.com/siyuan-note/siyuan/issues/14084)
* [Improve database date field relative between filter](https://github.com/siyuan-note/siyuan/issues/14091)
* [Expand doc tree after moving from inbox](https://github.com/siyuan-note/siyuan/issues/14097)
* [Click inside the table to hide the toolbar](https://github.com/siyuan-note/siyuan/issues/14098)
* [Convert ref to text only when sharing to the community](https://github.com/siyuan-note/siyuan/issues/14100)
* [Improve backmention highlighting](https://github.com/siyuan-note/siyuan/issues/14103)
* [Improve opening links in Attribute panel - Database](https://github.com/siyuan-note/siyuan/issues/14104)
* [Improve browser clipping extension](https://github.com/siyuan-note/siyuan/issues/14105)
* [Improve block reference count refreshing](https://github.com/siyuan-note/siyuan/issues/14109)
* [Improve menu pasting](https://github.com/siyuan-note/siyuan/issues/14112)
* [Switch content blocks LTR RTL layout supports custom shortcut keys](https://github.com/siyuan-note/siyuan/issues/14113)
* [Improve heading block copy and paste](https://github.com/siyuan-note/siyuan/issues/14114)
* [Improve code block parsing](https://github.com/siyuan-note/siyuan/issues/14116)
* [Improve asset src decoding when importing markdown](https://github.com/siyuan-note/siyuan/issues/14117)
* [Expand doc tree after duplicating doc](https://github.com/siyuan-note/siyuan/issues/14125)
* [/menu add kbd element](https://github.com/siyuan-note/siyuan/issues/14139)
* [Set the auth code via environment variable](https://github.com/siyuan-note/siyuan/pull/14142)
* [Refresh virtual reference cache after doc convert to heading](https://github.com/siyuan-note/siyuan/issues/14147)
* [Set the workspace path and lang via environment variable](https://github.com/siyuan-note/siyuan/pull/14148)
### Bugfix
* [Inline code exceptions on Windows 10](https://github.com/siyuan-note/siyuan/issues/13824)
* [Lacks the entry to edit mermaid on mobile](https://github.com/siyuan-note/siyuan/issues/13934)
* [Scrollbar style is incorrect](https://github.com/siyuan-note/siyuan/issues/14085)
* [Relative paths are constructed from a wrong basedir when importing markdown folder](https://github.com/siyuan-note/siyuan/issues/14095)
* [Rollback document exception after moving document](https://github.com/siyuan-note/siyuan/issues/14107)
* [Font folder not packaged on macOS/Linux/Windows arm64](https://github.com/siyuan-note/siyuan/issues/14119)
### Refactor
* [Upgrade to Electron v33.4.1](https://github.com/siyuan-note/siyuan/issues/14101)
### Development
* [Improve kernel API `exportMdContent`](https://github.com/siyuan-note/siyuan/issues/14032)
## Download
* [B3log](https://b3log.org/siyuan/en/download.html)
* [GitHub](https://github.com/siyuan-note/siyuan/releases)

View File

@ -0,0 +1,61 @@
## 概述
該版本改進了一些細節。
## 變更記錄
以下是此版本中的詳細變更。
### 改進功能
* [隱藏嵌入區塊中最後一個非文檔路徑的麵包屑文字](https://github.com/siyuan-note/siyuan/issues/13866)
* [改進程式碼/鍵盤/標籤元素編輯](https://github.com/siyuan-note/siyuan/issues/13871)
* [去重容器區塊反向連結](https://github.com/siyuan-note/siyuan/issues/13872)
* [改進資料庫主鍵表情的居中與換行](https://github.com/siyuan-note/siyuan/issues/13940)
* [將多個文件拖曳到編輯器時插入清單參考](https://github.com/siyuan-note/siyuan/issues/13942)
* [雙擊 .search__drag 恢復預設寬度](https://github.com/siyuan-note/siyuan/issues/13964)
* [改良 RTL 渲染](https://github.com/siyuan-note/siyuan/issues/14044)
* [改進圖片/連結元素的查找替換](https://github.com/siyuan-note/siyuan/issues/14049)
* [刪除文件標題中的 `<br>`](https://github.com/siyuan-note/siyuan/issues/14057)
* [支援唯讀模式下複製表格](https://github.com/siyuan-note/siyuan/issues/14080)
* [隱藏收集箱中的網路圖示](https://github.com/siyuan-note/siyuan/issues/14084)
* [改進資料庫日期欄位相對過濾](https://github.com/siyuan-note/siyuan/issues/14091)
* [從收集箱移動後展開文件樹](https://github.com/siyuan-note/siyuan/issues/14097)
* [在表格內點選時隱藏工具列](https://github.com/siyuan-note/siyuan/issues/14098)
* [僅在分享至社區時將引用轉換為純文本](https://github.com/siyuan-note/siyuan/issues/14100)
* [改進反向提及高亮](https://github.com/siyuan-note/siyuan/issues/14103)
* [改進屬性面板 - 資料庫中的連結開啟](https://github.com/siyuan-note/siyuan/issues/14104)
* [改進瀏覽器剪藏擴充功能](https://github.com/siyuan-note/siyuan/issues/14105)
* [改進區塊引用計數刷新](https://github.com/siyuan-note/siyuan/issues/14109)
* [改進選單貼上](https://github.com/siyuan-note/siyuan/issues/14112)
* [切換內容區塊 LTR RTL 佈局支援自訂快速鍵](https://github.com/siyuan-note/siyuan/issues/14113)
* [改進標題區塊複製和貼上](https://github.com/siyuan-note/siyuan/issues/14114)
* [改進程式碼區塊解析](https://github.com/siyuan-note/siyuan/issues/14116)
* [改進導入 Markdown 時的資源 src 解碼](https://github.com/siyuan-note/siyuan/issues/14117)
* [複製文件後展開文件樹](https://github.com/siyuan-note/siyuan/issues/14125)
* [/選單新增鍵盤元素](https://github.com/siyuan-note/siyuan/issues/14139)
* [支援透過環境變數設定授權碼](https://github.com/siyuan-note/siyuan/pull/14142)
* [文件轉換標題後刷新虛擬引用緩存](https://github.com/siyuan-note/siyuan/issues/14147)
* [支援透過環境變數設定工作空間路徑和語言](https://github.com/siyuan-note/siyuan/pull/14148)
### 修復缺陷
* [Windows 10 上的行級程式碼異常](https://github.com/siyuan-note/siyuan/issues/13824)
* [行動端缺少編輯 Mermaid 的入口](https://github.com/siyuan-note/siyuan/issues/13934)
* [捲軸樣式不正確](https://github.com/siyuan-note/siyuan/issues/14085)
* [匯入 Markdown 資料夾時相對路徑錯誤](https://github.com/siyuan-note/siyuan/issues/14095)
* [移動文檔後回滾文件異常](https://github.com/siyuan-note/siyuan/issues/14107)
* [macOS/Linux/Windows arm64 上未打包字型](https://github.com/siyuan-note/siyuan/issues/14119)
### 開發重構
* [升級至 Electron v33.4.1](https://github.com/siyuan-note/siyuan/issues/14101)
### 開發者
* [改進內核 API `exportMdContent`](https://github.com/siyuan-note/siyuan/issues/14032)
## 下載
* [B3log](https://b3log.org/siyuan/download.html)
* [GitHub](https://github.com/siyuan-note/siyuan/releases)

View File

@ -0,0 +1,61 @@
## 概述
该版本改进了一些细节。
## 变更记录
以下是此版本中的详细变更。
### 改进功能
* [隐藏嵌入块中最后一个非文档路径的面包屑文本](https://github.com/siyuan-note/siyuan/issues/13866)
* [改进代码/键盘/标签元素编辑](https://github.com/siyuan-note/siyuan/issues/13871)
* [去重容器块反向链接](https://github.com/siyuan-note/siyuan/issues/13872)
* [改进数据库主键表情的居中和换行](https://github.com/siyuan-note/siyuan/issues/13940)
* [将多个文档拖入编辑器时插入列表引用](https://github.com/siyuan-note/siyuan/issues/13942)
* [双击 .search__drag 恢复默认宽度](https://github.com/siyuan-note/siyuan/issues/13964)
* [改进 RTL 渲染](https://github.com/siyuan-note/siyuan/issues/14044)
* [改进图片/链接元素的查找替换](https://github.com/siyuan-note/siyuan/issues/14049)
* [删除文档标题中的 `<br>`](https://github.com/siyuan-note/siyuan/issues/14057)
* [支持只读模式下复制表格](https://github.com/siyuan-note/siyuan/issues/14080)
* [隐藏收集箱中的网络图标](https://github.com/siyuan-note/siyuan/issues/14084)
* [改进数据库日期字段相对过滤](https://github.com/siyuan-note/siyuan/issues/14091)
* [从收集箱移动后展开文档树](https://github.com/siyuan-note/siyuan/issues/14097)
* [在表格内点击时隐藏工具栏](https://github.com/siyuan-note/siyuan/issues/14098)
* [仅在分享至社区时将引用转换为纯文本](https://github.com/siyuan-note/siyuan/issues/14100)
* [改进反向提及高亮](https://github.com/siyuan-note/siyuan/issues/14103)
* [改进属性面板 - 数据库中的链接打开](https://github.com/siyuan-note/siyuan/issues/14104)
* [改进浏览器剪藏扩展](https://github.com/siyuan-note/siyuan/issues/14105)
* [改进块引用计数刷新](https://github.com/siyuan-note/siyuan/issues/14109)
* [改进菜单粘贴](https://github.com/siyuan-note/siyuan/issues/14112)
* [切换内容块 LTR RTL 布局支持自定义快捷键](https://github.com/siyuan-note/siyuan/issues/14113)
* [改进标题块复制和粘贴](https://github.com/siyuan-note/siyuan/issues/14114)
* [改进代码块解析](https://github.com/siyuan-note/siyuan/issues/14116)
* [改进导入 Markdown 时的资源 src 解码](https://github.com/siyuan-note/siyuan/issues/14117)
* [复制文档后展开文档树](https://github.com/siyuan-note/siyuan/issues/14125)
* [/菜单添加键盘元素](https://github.com/siyuan-note/siyuan/issues/14139)
* [支持通过环境变量设置授权码](https://github.com/siyuan-note/siyuan/pull/14142)
* [文档转换标题后刷新虚拟引用缓存](https://github.com/siyuan-note/siyuan/issues/14147)
* [支持通过环境变量设置工作空间路径和语言](https://github.com/siyuan-note/siyuan/pull/14148)
### 修复缺陷
* [Windows 10 上的行级代码异常](https://github.com/siyuan-note/siyuan/issues/13824)
* [移动端缺少编辑 Mermaid 的入口](https://github.com/siyuan-note/siyuan/issues/13934)
* [滚动条样式不正确](https://github.com/siyuan-note/siyuan/issues/14085)
* [导入 Markdown 文件夹时相对路径错误](https://github.com/siyuan-note/siyuan/issues/14095)
* [移动文档后回滚文档异常](https://github.com/siyuan-note/siyuan/issues/14107)
* [macOS/Linux/Windows arm64 上未打包字体](https://github.com/siyuan-note/siyuan/issues/14119)
### 开发重构
* [升级到 Electron v33.4.1](https://github.com/siyuan-note/siyuan/issues/14101)
### 开发者
* [改进内核 API `exportMdContent`](https://github.com/siyuan-note/siyuan/issues/14032)
## 下载
* [B3log](https://b3log.org/siyuan/download.html)
* [GitHub](https://github.com/siyuan-note/siyuan/releases)

View File

@ -268,6 +268,10 @@ func Doc2Heading(srcID, targetID string, after bool) (srcTreeBox, srcTreePath st
IncSync()
RefreshBacklink(srcTree.ID)
RefreshBacklink(targetTree.ID)
go func() {
sql.FlushQueue()
ResetVirtualBlockRefCache()
}()
return
}
@ -404,5 +408,9 @@ func Heading2Doc(srcHeadingID, targetBoxID, targetPath, previousPath string) (sr
IncSync()
RefreshBacklink(srcTree.ID)
RefreshBacklink(newTree.ID)
go func() {
sql.FlushQueue()
ResetVirtualBlockRefCache()
}()
return
}

View File

@ -140,5 +140,9 @@ func ListItem2Doc(srcListItemID, targetBoxID, targetPath, previousPath string) (
IncSync()
RefreshBacklink(srcTree.ID)
RefreshBacklink(newTree.ID)
go func() {
sql.FlushQueue()
ResetVirtualBlockRefCache()
}()
return
}