diff --git a/app/appx/AppxManifest.xml b/app/appx/AppxManifest.xml index 62c4214f6ec..2ac6ef0b9be 100644 --- a/app/appx/AppxManifest.xml +++ b/app/appx/AppxManifest.xml @@ -9,7 +9,7 @@ + Version="3.1.13.0"/> SiYuan 云南链滴科技有限公司 diff --git a/app/changelogs/v3.1.13/v3.1.13.md b/app/changelogs/v3.1.13/v3.1.13.md new file mode 100644 index 00000000000..28e030bb348 --- /dev/null +++ b/app/changelogs/v3.1.13/v3.1.13.md @@ -0,0 +1,59 @@ +## Overview + +This version supports setting dynamic icons for documents and improves data synchronization. + +From this version, SiYuan will automatically clean up the local data repository after the first data sync ends after startup: + +* Only 2 snapshots are kept per day +* Snapshots older than 180 days are cleaned up + +You can adjust this cleanup policy in Settings - About - Data repo purge. + +Automatic snapshot cleanup helps improve startup speed. If you do not want a snapshot to be cleaned up, you can manually tag the snapshot, and the tagged snapshot will not be cleaned up. + +## Changelogs + +Below are the detailed changes in this version. + +### Enhancement + +* [The database supports adding view/field/option description](https://github.com/siyuan-note/siyuan/issues/11053) +* [Improve open PDF with new window](https://github.com/siyuan-note/siyuan/issues/11993) +* [Improve positioning doc in split screens](https://github.com/siyuan-note/siyuan/issues/12694) +* [Support exporting Markdown after selecting multiple documents](https://github.com/siyuan-note/siyuan/issues/12912) +* [Document icons support the use of dynamic icons](https://github.com/siyuan-note/siyuan/issues/12943) +* [Improve blocks highlighting effects](https://github.com/siyuan-note/siyuan/issues/12951) +* [Improve WebDAV data synchronization compatibility](https://github.com/siyuan-note/siyuan/issues/12961) +* [The backlink panel supports filtering by the block attributes](https://github.com/siyuan-note/siyuan/issues/12985) +* [Long press `Esc` to focus on the button in the flashcard](https://github.com/siyuan-note/siyuan/issues/12989) +* [Bold, italic, underline, and strikethrough inherit the block element color](https://github.com/siyuan-note/siyuan/issues/13043) +* [Improve plain text comparison in data snapshot](https://github.com/siyuan-note/siyuan/issues/13046) +* [Apps in Chinese mainland app stores no longer provide AI access settings](https://github.com/siyuan-note/siyuan/issues/13051) +* [Improve appearance for table and database nested in container block](https://github.com/siyuan-note/siyuan/issues/13052) +* [Improve marketplace multi-language internationalization](https://github.com/siyuan-note/siyuan/issues/13053) +* [Improved database pasting of text containing commas and line breaks](https://github.com/siyuan-note/siyuan/issues/13068) +* [List only 512 unreferenced assets](https://github.com/siyuan-note/siyuan/issues/13075) +* [Automatic purge for local data repo](https://github.com/siyuan-note/siyuan/issues/13091) +* [Double-click the panel drag line to restore the default width](https://github.com/siyuan-note/siyuan/issues/13107) +* [Improve data sync](https://github.com/siyuan-note/siyuan/issues/13133) +* [Improve importing Markdown](https://github.com/siyuan-note/siyuan/issues/13149) + +### Bugfix + +* [SQL injection security vulnerabilities](https://github.com/siyuan-note/siyuan/issues/13077) +* [Access authorization code captcha vulnerability](https://github.com/siyuan-note/siyuan/issues/13147) +* [Some XSS vulnerabilities](https://github.com/siyuan-note/siyuan/issues/13171) + +### Refactor + +* [Upgrade to Electron v32.2.5](https://github.com/siyuan-note/siyuan/issues/13161) + +### Development + +* [Kernel serve CardDAV service on path `/carddav/`](https://github.com/siyuan-note/siyuan/pull/12895) +* [Add a kernel API `/api/filetree/renameDocByID`](https://github.com/siyuan-note/siyuan/issues/13105) + +## Download + +* [B3log](https://b3log.org/siyuan/en/download.html) +* [GitHub](https://github.com/siyuan-note/siyuan/releases) diff --git a/app/changelogs/v3.1.13/v3.1.13_zh_CHT.md b/app/changelogs/v3.1.13/v3.1.13_zh_CHT.md new file mode 100644 index 00000000000..a7436b70d6e --- /dev/null +++ b/app/changelogs/v3.1.13/v3.1.13_zh_CHT.md @@ -0,0 +1,59 @@ +## 概述 + +此版本支援設定文件動態圖標,並改進了資料同步。 + +從此版本開始思源會在啟動後第一次資料同步結束後自動清理本機資料倉儲: + +* 每天只保留 2 個快照 +* 清理超過 180 天的快照 + +可以在 設定 - 關於 - 資料倉儲清理 中調整該清理策略。 + +自動清理快照有助於提升啟動速度,如果你不希望某個快照被清理,可以手動標記該快照,被標記的快照不會被清理。 + +## 變更記錄 + +以下是此版本中的詳細變更。 + +### 改進功能 + +* [資料庫支援新增視圖/欄位/選項描述](https://github.com/siyuan-note/siyuan/issues/11053) +* [改進在新視窗中開啟 PDF](https://github.com/siyuan-note/siyuan/issues/11993) +* [改進在分割畫面中定位文件](https://github.com/siyuan-note/siyuan/issues/12694) +* [支援選擇多個文件後匯出 Markdown](https://github.com/siyuan-note/siyuan/issues/12912) +* [文件圖示支援使用動態圖示](https://github.com/siyuan-note/siyuan/issues/12943) +* [改良塊高亮效果](https://github.com/siyuan-note/siyuan/issues/12951) +* [改進 WebDAV 資料同步相容性](https://github.com/siyuan-note/siyuan/issues/12961) +* [反向連結面板支援按區塊屬性過濾](https://github.com/siyuan-note/siyuan/issues/12985) +* [長按 `Esc` 聚焦閃卡中的按鈕](https://github.com/siyuan-note/siyuan/issues/12989) +* [加粗、斜體、底線和刪除線繼承塊元素顏色](https://github.com/siyuan-note/siyuan/issues/13043) +* [改進資料快照中的純文字比較](https://github.com/siyuan-note/siyuan/issues/13046) +* [中國大陸應用商店中的應用程式不再提供 AI 存取設定](https://github.com/siyuan-note/siyuan/issues/13051) +* [改進嵌套在容器區塊中的表格和資料庫的外觀](https://github.com/siyuan-note/siyuan/issues/13052) +* [改進集市多語國際化](https://github.com/siyuan-note/siyuan/issues/13053) +* [改進貼上包含逗號和換行符的文字到資料庫](https://github.com/siyuan-note/siyuan/issues/13068) +* [僅列出 512 個未引用的資源檔案](https://github.com/siyuan-note/siyuan/issues/13075) +* [本地資料倉自動清理](https://github.com/siyuan-note/siyuan/issues/13091) +* [雙擊面板拖曳線恢復預設寬度](https://github.com/siyuan-note/siyuan/issues/13107) +* [改進資料同步](https://github.com/siyuan-note/siyuan/issues/13133) +* [改進導入 Markdown](https://github.com/siyuan-note/siyuan/issues/13149) + +### 修復缺陷 + +* [SQL 注入安全漏洞](https://github.com/siyuan-note/siyuan/issues/13077) +* [存取授權碼驗證碼漏洞](https://github.com/siyuan-note/siyuan/issues/13147) +* [一些 XSS 漏洞](https://github.com/siyuan-note/siyuan/issues/13171) + +### 開發重構 + +* [升級 Electron v32.2.5](https://github.com/siyuan-note/siyuan/issues/13161) + +### 開發者 + +* [核心提供 CardDAV 服務 `/carddav/`](https://github.com/siyuan-note/siyuan/pull/12895) +* [新增一個核心介面 `/api/filetree/renameDocByID`](https://github.com/siyuan-note/siyuan/issues/13105) + +## 下載 + +* [B3log](https://b3log.org/siyuan/download.html) +* [GitHub](https://github.com/siyuan-note/siyuan/releases) diff --git a/app/changelogs/v3.1.13/v3.1.13_zh_CN.md b/app/changelogs/v3.1.13/v3.1.13_zh_CN.md new file mode 100644 index 00000000000..b881934d5c5 --- /dev/null +++ b/app/changelogs/v3.1.13/v3.1.13_zh_CN.md @@ -0,0 +1,59 @@ +## 概述 + +该版本支持设置文档动态图标,并改进了数据同步。 + +从该版本开始思源会在启动后第一次数据同步结束后自动清理本地数据仓库: + +* 每天仅保留 2 个快照 +* 清理超过 180 天的快照 + +可以在 设置 - 关于 - 数据仓库清理 中调整该清理策略。 + +自动清理快照有助于提升启动速度,如果你不希望某个快照被清理,可以手动标记该快照,被标记的快照不会被清理。 + +## 变更记录 + +以下是此版本中的详细变更。 + +### 改进功能 + +* [数据库支持添加视图/字段/选项描述](https://github.com/siyuan-note/siyuan/issues/11053) +* [改进在新窗口中打开 PDF](https://github.com/siyuan-note/siyuan/issues/11993) +* [改进在分屏中定位文档](https://github.com/siyuan-note/siyuan/issues/12694) +* [支持选择多个文档后导出 Markdown](https://github.com/siyuan-note/siyuan/issues/12912) +* [文档图标支持使用动态图标](https://github.com/siyuan-note/siyuan/issues/12943) +* [改进块高亮效果](https://github.com/siyuan-note/siyuan/issues/12951) +* [改进 WebDAV 数据同步兼容性](https://github.com/siyuan-note/siyuan/issues/12961) +* [反向链接面板支持按块属性过滤](https://github.com/siyuan-note/siyuan/issues/12985) +* [长按 `Esc` 聚焦闪卡中的按钮](https://github.com/siyuan-note/siyuan/issues/12989) +* [加粗、斜体、下划线和删除线继承块元素颜色](https://github.com/siyuan-note/siyuan/issues/13043) +* [改进数据快照中的纯文本比较](https://github.com/siyuan-note/siyuan/issues/13046) +* [中国大陆应用商店中的应用不再提供 AI 访问设置](https://github.com/siyuan-note/siyuan/issues/13051) +* [改进嵌套在容器块中的表格和数据库的外观](https://github.com/siyuan-note/siyuan/issues/13052) +* [改进集市多语言国际化](https://github.com/siyuan-note/siyuan/issues/13053) +* [改进粘贴包含逗号和换行符的文本到数据库](https://github.com/siyuan-note/siyuan/issues/13068) +* [仅列出 512 个未引用的资源文件](https://github.com/siyuan-note/siyuan/issues/13075) +* [本地数据仓库自动清理](https://github.com/siyuan-note/siyuan/issues/13091) +* [双击面板拖动线恢复默认宽度](https://github.com/siyuan-note/siyuan/issues/13107) +* [改进数据同步](https://github.com/siyuan-note/siyuan/issues/13133) +* [改进导入 Markdown](https://github.com/siyuan-note/siyuan/issues/13149) + +### 修复缺陷 + +* [SQL 注入安全漏洞](https://github.com/siyuan-note/siyuan/issues/13077) +* [访问授权码验证码漏洞](https://github.com/siyuan-note/siyuan/issues/13147) +* [一些 XSS 漏洞](https://github.com/siyuan-note/siyuan/issues/13171) + +### 开发重构 + +* [升级 Electron v32.2.5](https://github.com/siyuan-note/siyuan/issues/13161) + +### 开发者 + +* [内核提供 CardDAV 服务 `/carddav/`](https://github.com/siyuan-note/siyuan/pull/12895) +* [添加一个内核接口 `/api/filetree/renameDocByID`](https://github.com/siyuan-note/siyuan/issues/13105) + +## 下载 + +* [B3log](https://b3log.org/siyuan/download.html) +* [GitHub](https://github.com/siyuan-note/siyuan/releases) diff --git a/app/package.json b/app/package.json index 2146231e9cb..d2204ba1e07 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "SiYuan", - "version": "3.1.12", + "version": "3.1.13", "description": "Refactor your thinking", "homepage": "https://b3log.org/siyuan", "main": "./electron/main.js", diff --git a/kernel/util/working.go b/kernel/util/working.go index 196f7c0addb..5b5ea894efa 100644 --- a/kernel/util/working.go +++ b/kernel/util/working.go @@ -44,7 +44,7 @@ import ( var Mode = "prod" const ( - Ver = "3.1.12" + Ver = "3.1.13" IsInsider = false )