Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
26620c5dc8
10 changed files with 195 additions and 5 deletions
55
app/changelogs/v3.0.17/v3.0.17.md
Normal file
55
app/changelogs/v3.0.17/v3.0.17.md
Normal file
|
@ -0,0 +1,55 @@
|
|||
## Overview
|
||||
|
||||
This version supports Windows arm64 and Linux arm64, improves web clipping, fixes some defects, and improves many details.
|
||||
|
||||
## Changelogs
|
||||
|
||||
Below are the detailed changes in this version.
|
||||
|
||||
### Enhancement
|
||||
|
||||
* [Dock icon support drag](https://github.com/siyuan-note/siyuan/issues/10247)
|
||||
* [Improve the handling of empty input of query criteria](https://github.com/siyuan-note/siyuan/issues/11254)
|
||||
* [Add deb release package for Linux](https://github.com/siyuan-note/siyuan/issues/11532)
|
||||
* [Display database superscript icon on mobile](https://github.com/siyuan-note/siyuan/issues/11549)
|
||||
* [Disable `Ctrl+D` in read-only mode](https://github.com/siyuan-note/siyuan/issues/11558)
|
||||
* [Improve HTML h clipping](https://github.com/siyuan-note/siyuan/issues/11560)
|
||||
* [Improve HTML strong clipping](https://github.com/siyuan-note/siyuan/issues/11562)
|
||||
* [Support Windows arm64](https://github.com/siyuan-note/siyuan/issues/11565)
|
||||
* [Support Linux arm64](https://github.com/siyuan-note/siyuan/issues/11566)
|
||||
* [Improve importing Markdown folder](https://github.com/siyuan-note/siyuan/issues/11567)
|
||||
* [Improve pasting nearby some inline elements](https://github.com/siyuan-note/siyuan/issues/11572)
|
||||
* [Improve rollback doc file history](https://github.com/siyuan-note/siyuan/issues/11575)
|
||||
* [Improve `Enter` outdent after adjusting image size in the list](https://github.com/siyuan-note/siyuan/issues/11577)
|
||||
* [Improve the block fold icon button in the backlink panel](https://github.com/siyuan-note/siyuan/issues/11578)
|
||||
* [Add confirm dialog for `Restore Default Layout`](https://github.com/siyuan-note/siyuan/issues/11579)
|
||||
* [Improve untitled doc placeholder](https://github.com/siyuan-note/siyuan/issues/11582)
|
||||
* [The browser extension supports Wikipedia formula clipping](https://github.com/siyuan-note/siyuan/issues/11583)
|
||||
* [The User Guide is no longer opened repeatedly when multiple windows exist](https://github.com/siyuan-note/siyuan/issues/11588)
|
||||
* [Improve pasting in code block](https://github.com/siyuan-note/siyuan/issues/11589)
|
||||
* [Improve `Expand Down/Up` keymaps on Windows](https://github.com/siyuan-note/siyuan/issues/11593)
|
||||
* [Improve HTML img clipping](https://github.com/siyuan-note/siyuan/issues/11595)
|
||||
* [Improve HTML math clipping](https://github.com/siyuan-note/siyuan/issues/11599)
|
||||
* [Do not clip the `Edit` element next to Wikipedia headings](https://github.com/siyuan-note/siyuan/issues/11600)
|
||||
* [Improve task list redo](https://github.com/siyuan-note/siyuan/issues/11605)
|
||||
* [Add an internal kernel API `/api/av/appendAttributeViewDetachedBlocksWithValues`](https://github.com/siyuan-note/siyuan/issues/11608)
|
||||
* [Static compile for Linux desktop kernel](https://github.com/siyuan-note/siyuan/issues/11620)
|
||||
* [Improve database handling when importing .sy.zip](https://github.com/siyuan-note/siyuan/issues/11628)
|
||||
* [Improve table parsing](https://github.com/siyuan-note/siyuan/issues/11630)
|
||||
|
||||
### Bugfix
|
||||
|
||||
* [The exception occurs in the Settings - About on the Microsoft Store edition](https://github.com/siyuan-note/siyuan/issues/11580)
|
||||
* [The request of PWA files without `Authentication` Header](https://github.com/siyuan-note/siyuan/pull/11586)
|
||||
* [The primary key sorting of the database panel fails in some cases](https://github.com/siyuan-note/siyuan/issues/11621)
|
||||
* [`Optimize typography` causes HTML blocks in the list to become invalid](https://github.com/siyuan-note/siyuan/issues/11623)
|
||||
* [Database entries cannot be reordered in some cases](https://github.com/siyuan-note/siyuan/issues/11627)
|
||||
|
||||
### Document
|
||||
|
||||
* [Add Japanese user guide](https://github.com/siyuan-note/siyuan/pull/11591)
|
||||
|
||||
## Download
|
||||
|
||||
* [B3log](https://b3log.org/siyuan/en/download.html)
|
||||
* [GitHub](https://github.com/siyuan-note/siyuan/releases)
|
55
app/changelogs/v3.0.17/v3.0.17_zh_CHT.md
Normal file
55
app/changelogs/v3.0.17/v3.0.17_zh_CHT.md
Normal file
|
@ -0,0 +1,55 @@
|
|||
## 概述
|
||||
|
||||
此版本支援了 Windows arm64 和 Linux arm64,改進了網頁剪藏,修復了一些缺陷並改進了許多細節。
|
||||
|
||||
## 變更記錄
|
||||
|
||||
以下是此版本中的詳細變更。
|
||||
|
||||
### 改進功能
|
||||
|
||||
* [支援拖曳停靠列圖示](https://github.com/siyuan-note/siyuan/issues/10247)
|
||||
* [改進查詢條件空輸入的處理](https://github.com/siyuan-note/siyuan/issues/11254)
|
||||
* [為 Linux 新增 deb 發布套件](https://github.com/siyuan-note/siyuan/issues/11532)
|
||||
* [在行動裝置上顯示資料庫角標](https://github.com/siyuan-note/siyuan/issues/11549)
|
||||
* [在唯讀模式下停用 `Ctrl+D`](https://github.com/siyuan-note/siyuan/issues/11558)
|
||||
* [改進 HTML h 剪藏](https://github.com/siyuan-note/siyuan/issues/11560)
|
||||
* [改進 HTML strong 剪藏](https://github.com/siyuan-note/siyuan/issues/11562)
|
||||
* [支援 Windows arm64](https://github.com/siyuan-note/siyuan/issues/11565)
|
||||
* [支援 Linux arm64](https://github.com/siyuan-note/siyuan/issues/11566)
|
||||
* [改進導入 Markdown 資料夾](https://github.com/siyuan-note/siyuan/issues/11567)
|
||||
* [改進在一些行級元素附近貼上](https://github.com/siyuan-note/siyuan/issues/11572)
|
||||
* [改進文件檔案歷史的回溯](https://github.com/siyuan-note/siyuan/issues/11575)
|
||||
* [在清單中調整影像大小後改進 `Enter` 縮排](https://github.com/siyuan-note/siyuan/issues/11577)
|
||||
* [改進反向連結面板中的塊折疊圖示按鈕](https://github.com/siyuan-note/siyuan/issues/11578)
|
||||
* [為 `恢復預設版面配置` 新增確認對話方塊](https://github.com/siyuan-note/siyuan/issues/11579)
|
||||
* [改進未命名文件佔位符](https://github.com/siyuan-note/siyuan/issues/11582)
|
||||
* [瀏覽器擴充支援維基百科公式剪藏](https://github.com/siyuan-note/siyuan/issues/11583)
|
||||
* [當存在多個視窗時不再重複開啟使用者指南](https://github.com/siyuan-note/siyuan/issues/11588)
|
||||
* [改進程式碼區塊中的貼上](https://github.com/siyuan-note/siyuan/issues/11589)
|
||||
* [在 Windows 上改進 `向下/向上展開` 快捷鍵](https://github.com/siyuan-note/siyuan/issues/11593)
|
||||
* [改良 HTML img 剪藏](https://github.com/siyuan-note/siyuan/issues/11595)
|
||||
* [改進 HTML 公式剪藏](https://github.com/siyuan-note/siyuan/issues/11599)
|
||||
* [不剪下維基百科標題旁的 `編輯` 元素](https://github.com/siyuan-note/siyuan/issues/11600)
|
||||
* [改進任務清單重做](https://github.com/siyuan-note/siyuan/issues/11605)
|
||||
* [新增內部核心 API `/api/av/appendAttributeViewDetachedBlocksWithValues`](https://github.com/siyuan-note/siyuan/issues/11608)
|
||||
* [為 Linux 桌面端核心進行靜態編譯](https://github.com/siyuan-note/siyuan/issues/11620)
|
||||
* [在匯入 .sy.zip 時改進資料庫處理](https://github.com/siyuan-note/siyuan/issues/11628)
|
||||
* [改進表格解析](https://github.com/siyuan-note/siyuan/issues/11630)
|
||||
|
||||
### 修復缺陷
|
||||
|
||||
* [微軟商店版版本的設定 - 關於異常](https://github.com/siyuan-note/siyuan/issues/11580)
|
||||
* [PWA 檔案的請求沒有 `Authentication` 標頭](https://github.com/siyuan-note/siyuan/pull/11586)
|
||||
* [資料庫面板的主鍵排序在某些情況下失敗](https://github.com/siyuan-note/siyuan/issues/11621)
|
||||
* [`優化排版` 導致清單中的 HTML 區塊失效](https://github.com/siyuan-note/siyuan/issues/11623)
|
||||
* [在某些情況下無法重新排序資料庫條目](https://github.com/siyuan-note/siyuan/issues/11627)
|
||||
|
||||
### 改進文檔
|
||||
|
||||
* [新增日文使用者指南](https://github.com/siyuan-note/siyuan/pull/11591)
|
||||
|
||||
## 下載
|
||||
|
||||
* [B3log](https://b3log.org/siyuan/download.html)
|
||||
* [GitHub](https://github.com/siyuan-note/siyuan/releases)
|
55
app/changelogs/v3.0.17/v3.0.17_zh_CN.md
Normal file
55
app/changelogs/v3.0.17/v3.0.17_zh_CN.md
Normal file
|
@ -0,0 +1,55 @@
|
|||
## 概述
|
||||
|
||||
该版本支持了 Windows arm64 和 Linux arm64,改进了网页剪藏,修复了一些缺陷并改进了许多细节。
|
||||
|
||||
## 变更记录
|
||||
|
||||
以下是此版本中的详细变更。
|
||||
|
||||
### 改进功能
|
||||
|
||||
* [支持拖动停靠栏图标](https://github.com/siyuan-note/siyuan/issues/10247)
|
||||
* [改进查询条件空输入的处理](https://github.com/siyuan-note/siyuan/issues/11254)
|
||||
* [为 Linux 添加 deb 发布包](https://github.com/siyuan-note/siyuan/issues/11532)
|
||||
* [在移动设备上显示数据库角标](https://github.com/siyuan-note/siyuan/issues/11549)
|
||||
* [在只读模式下禁用 `Ctrl+D`](https://github.com/siyuan-note/siyuan/issues/11558)
|
||||
* [改进 HTML h 剪藏](https://github.com/siyuan-note/siyuan/issues/11560)
|
||||
* [改进 HTML strong 剪藏](https://github.com/siyuan-note/siyuan/issues/11562)
|
||||
* [支持 Windows arm64](https://github.com/siyuan-note/siyuan/issues/11565)
|
||||
* [支持 Linux arm64](https://github.com/siyuan-note/siyuan/issues/11566)
|
||||
* [改进导入 Markdown 文件夹](https://github.com/siyuan-note/siyuan/issues/11567)
|
||||
* [改进在一些行级元素附近粘贴](https://github.com/siyuan-note/siyuan/issues/11572)
|
||||
* [改进文档文件历史的回滚](https://github.com/siyuan-note/siyuan/issues/11575)
|
||||
* [在列表中调整图像大小后改进 `Enter` 缩进](https://github.com/siyuan-note/siyuan/issues/11577)
|
||||
* [改进反向链接面板中的块折叠图标按钮](https://github.com/siyuan-note/siyuan/issues/11578)
|
||||
* [为 `恢复默认布局` 添加确认对话框](https://github.com/siyuan-note/siyuan/issues/11579)
|
||||
* [改进未命名文档占位符](https://github.com/siyuan-note/siyuan/issues/11582)
|
||||
* [浏览器扩展支持维基百科公式剪藏](https://github.com/siyuan-note/siyuan/issues/11583)
|
||||
* [当存在多个窗口时不再重复打开用户指南](https://github.com/siyuan-note/siyuan/issues/11588)
|
||||
* [改进代码块中的粘贴](https://github.com/siyuan-note/siyuan/issues/11589)
|
||||
* [在 Windows 上改进 `向下/向上展开` 快捷键](https://github.com/siyuan-note/siyuan/issues/11593)
|
||||
* [改进 HTML img 剪藏](https://github.com/siyuan-note/siyuan/issues/11595)
|
||||
* [改进 HTML 公式剪藏](https://github.com/siyuan-note/siyuan/issues/11599)
|
||||
* [不剪藏维基百科标题旁边的 `编辑` 元素](https://github.com/siyuan-note/siyuan/issues/11600)
|
||||
* [改进任务列表重做](https://github.com/siyuan-note/siyuan/issues/11605)
|
||||
* [添加内部内核 API `/api/av/appendAttributeViewDetachedBlocksWithValues`](https://github.com/siyuan-note/siyuan/issues/11608)
|
||||
* [为 Linux 桌面端内核进行静态编译](https://github.com/siyuan-note/siyuan/issues/11620)
|
||||
* [在导入 .sy.zip 时改进数据库处理](https://github.com/siyuan-note/siyuan/issues/11628)
|
||||
* [改进表格解析](https://github.com/siyuan-note/siyuan/issues/11630)
|
||||
|
||||
### 修复缺陷
|
||||
|
||||
* [微软商店版版本的设置 - 关于异常](https://github.com/siyuan-note/siyuan/issues/11580)
|
||||
* [PWA 文件的请求没有 `Authentication` 标头](https://github.com/siyuan-note/siyuan/pull/11586)
|
||||
* [数据库面板的主键排序在某些情况下失败](https://github.com/siyuan-note/siyuan/issues/11621)
|
||||
* [`优化排版` 导致列表中的 HTML 块失效](https://github.com/siyuan-note/siyuan/issues/11623)
|
||||
* [在某些情况下无法重新排序数据库条目](https://github.com/siyuan-note/siyuan/issues/11627)
|
||||
|
||||
### 改进文档
|
||||
|
||||
* [添加日语用户指南](https://github.com/siyuan-note/siyuan/pull/11591)
|
||||
|
||||
## 下载
|
||||
|
||||
* [B3log](https://b3log.org/siyuan/download.html)
|
||||
* [GitHub](https://github.com/siyuan-note/siyuan/releases)
|
|
@ -32,6 +32,8 @@ linux:
|
|||
arch: "arm64"
|
||||
- target: "AppImage"
|
||||
arch: "arm64"
|
||||
- target: "deb"
|
||||
arch: "arm64"
|
||||
|
||||
extraResources:
|
||||
- from: "changelogs"
|
||||
|
|
2
app/stage/protyle/js/lute/lute.min.js
vendored
2
app/stage/protyle/js/lute/lute.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -8,7 +8,7 @@ require (
|
|||
github.com/88250/epub v0.0.0-20230830085737-c19055cd1f48
|
||||
github.com/88250/go-humanize v0.0.0-20240424102817-4f78fac47ea7
|
||||
github.com/88250/gulu v1.2.3-0.20240505150113-bc43bd50f866
|
||||
github.com/88250/lute v1.7.7-0.20240602153357-e36a63bb1689
|
||||
github.com/88250/lute v1.7.7-0.20240603041044-7b72f654420d
|
||||
github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c
|
||||
github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1
|
||||
github.com/ClarkThan/ahocorasick v0.0.0-20231011042242-30d1ef1347f4
|
||||
|
|
|
@ -12,8 +12,8 @@ github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950 h1:Pa5hMiBceT
|
|||
github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
|
||||
github.com/88250/gulu v1.2.3-0.20240505150113-bc43bd50f866 h1:RFfNFS0hv6TbOuwET6xZAfGlV4hNlXiWTnfbLN1eF6k=
|
||||
github.com/88250/gulu v1.2.3-0.20240505150113-bc43bd50f866/go.mod h1:MUfzyfmbPrRDZLqxc7aPrVYveatTHRfoUa5TynPS0i8=
|
||||
github.com/88250/lute v1.7.7-0.20240602153357-e36a63bb1689 h1:z7h8QF23XO8s8aYIiMvVqyJgLdGxxo/P+g6LKI8bt2w=
|
||||
github.com/88250/lute v1.7.7-0.20240602153357-e36a63bb1689/go.mod h1:VDAzL8b+oCh+e3NAlmwwLzC53ten0rZlS8NboB7ljtk=
|
||||
github.com/88250/lute v1.7.7-0.20240603041044-7b72f654420d h1:onRLjvLPceWPp/QlJ9TPtL0IAFT/IgYgCVOjnF3AUOo=
|
||||
github.com/88250/lute v1.7.7-0.20240603041044-7b72f654420d/go.mod h1:VDAzL8b+oCh+e3NAlmwwLzC53ten0rZlS8NboB7ljtk=
|
||||
github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c h1:Dl/8S9iLyPMTElnWIBxmjaLiWrkI5P4a21ivwAn5pU0=
|
||||
github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c/go.mod h1:S5YT38L/GCjVjmB4PB84PymA1qfopjEhfhTNQilLpv4=
|
||||
github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 h1:48T899JQDwyyRu9yXHePYlPdHtpJfrJEUGBMH3SMBWY=
|
||||
|
|
|
@ -273,8 +273,26 @@ func RollbackDocHistory(boxID, historyPath string) (err error) {
|
|||
IncSync()
|
||||
go func() {
|
||||
sql.WaitForWritingDatabase()
|
||||
|
||||
tree, _ = LoadTreeByBlockID(id)
|
||||
if nil == tree {
|
||||
return
|
||||
}
|
||||
|
||||
// 刷新关联的动态锚文本 https://github.com/siyuan-note/siyuan/issues/11575
|
||||
refreshDynamicRefText(tree.Root, tree)
|
||||
|
||||
// 刷新页签名
|
||||
refText := getNodeRefText(tree.Root)
|
||||
evt := util.NewCmdResult("rename", 0, util.PushModeBroadcast)
|
||||
evt.Data = map[string]interface{}{
|
||||
"box": boxID,
|
||||
"id": tree.Root.ID,
|
||||
"path": tree.Path,
|
||||
"title": tree.Root.IALAttr("title"),
|
||||
"refText": refText,
|
||||
}
|
||||
util.PushEvent(evt)
|
||||
}()
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -121,7 +121,11 @@ func getUpdatePkg() (downloadPkgURLs []string, checksum string, err error) {
|
|||
|
||||
var suffix string
|
||||
if gulu.OS.IsWindows() {
|
||||
suffix = "win.exe"
|
||||
if "arm64" == runtime.GOARCH {
|
||||
suffix = "win-arm64.exe"
|
||||
} else {
|
||||
suffix = "win.exe"
|
||||
}
|
||||
} else if gulu.OS.IsDarwin() {
|
||||
if "arm64" == runtime.GOARCH {
|
||||
suffix = "mac-arm64.dmg"
|
||||
|
|
|
@ -21,6 +21,7 @@ export CGO_ENABLED=1
|
|||
echo 'Building Kernel amd64'
|
||||
export GOOS=linux
|
||||
export GOARCH=amd64
|
||||
export CC=~/x86_64-linux-musl-cross/bin/x86_64-linux-musl-gcc
|
||||
go build -buildmode=pie --tags fts5 -v -o "../app/kernel-linux/SiYuan-Kernel" -ldflags "-s -w -extldflags -static-pie" .
|
||||
|
||||
echo 'Building Kernel arm64'
|
||||
|
|
Loading…
Add table
Reference in a new issue