From e1ae93271e5c1e9a66f5786a62a5fd39e643fb24 Mon Sep 17 00:00:00 2001
From: Daniel <845765@qq.com>
Date: Tue, 13 Jun 2023 10:21:53 +0800
Subject: [PATCH] :bookmark: Release v2.9.1
---
.github/workflows/dockerimage.yml | 2 +-
app/appx/AppxManifest.xml | 2 +-
app/changelogs/v2.9.1/v2.9.1.md | 49 ++++++++++++++++++++++++++
app/changelogs/v2.9.1/v2.9.1_zh_CHT.md | 49 ++++++++++++++++++++++++++
app/changelogs/v2.9.1/v2.9.1_zh_CN.md | 49 ++++++++++++++++++++++++++
app/package.json | 2 +-
kernel/util/working.go | 2 +-
7 files changed, 151 insertions(+), 4 deletions(-)
create mode 100644 app/changelogs/v2.9.1/v2.9.1.md
create mode 100644 app/changelogs/v2.9.1/v2.9.1_zh_CHT.md
create mode 100644 app/changelogs/v2.9.1/v2.9.1_zh_CN.md
diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml
index c05e7a334..bdb020a4e 100644
--- a/.github/workflows/dockerimage.yml
+++ b/.github/workflows/dockerimage.yml
@@ -33,4 +33,4 @@ jobs:
- name: Build the Docker image
run: |
- docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 -t b3log/siyuan:latest -t b3log/siyuan:v2.9.0 .
\ No newline at end of file
+ docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 -t b3log/siyuan:latest -t b3log/siyuan:v2.9.1 .
\ No newline at end of file
diff --git a/app/appx/AppxManifest.xml b/app/appx/AppxManifest.xml
index fee7c373a..5738f08f8 100644
--- a/app/appx/AppxManifest.xml
+++ b/app/appx/AppxManifest.xml
@@ -9,7 +9,7 @@
+ Version="2.9.1.0"/>
SiYuan
云南链滴科技有限公司
diff --git a/app/changelogs/v2.9.1/v2.9.1.md b/app/changelogs/v2.9.1/v2.9.1.md
new file mode 100644
index 000000000..e0efa874d
--- /dev/null
+++ b/app/changelogs/v2.9.1/v2.9.1.md
@@ -0,0 +1,49 @@
+## Overview
+
+This version mainly fixes bugs and improves details. The key point is to fix the problem that data cannot be saved in some cases.
+
+If you encounter data loss, please upgrade to the latest version as soon as possible.
+
+## Changelogs
+
+Below are the detailed changes in this version.
+
+### Enhancement
+
+* [Put the unpin plugins in the second menu on the mobile](https://github.com/siyuan-note/siyuan/issues/8411)
+* [Fix the style of settings-assets-tabs](https://github.com/siyuan-note/siyuan/pull/8462)
+* [Plugin API `addFloatLayer` can be closed by pressing `Esc`](https://github.com/siyuan-note/siyuan/issues/8470)
+* [Remove the limit on the retention period for history](https://github.com/siyuan-note/siyuan/issues/8472)
+* [Sometimes the memo update dialog cannot be opened](https://github.com/siyuan-note/siyuan/issues/8478)
+* [Improve marketplace responsive UI](https://github.com/siyuan-note/siyuan/issues/8480)
+* [Unify document icon font family to `--b3-font-family-emoji`](https://github.com/siyuan-note/siyuan/pull/8485)
+* [Improve boot UI](https://github.com/siyuan-note/siyuan/issues/8496)
+* [Improve detect Pad device](https://github.com/siyuan-note/siyuan/issues/8497)
+* [Set the minimum height for dynamic scroll](https://github.com/siyuan-note/siyuan/issues/8500)
+* [Improve history database index](https://github.com/siyuan-note/siyuan/issues/8506)
+* [Improve error message for installing marketplace package failed](https://github.com/siyuan-note/siyuan/issues/8507)
+* [Reduce the resource usage of real-time word count](https://github.com/siyuan-note/siyuan/issues/8512)
+* [Paste as plain text should show a search prompt after `((`](https://github.com/siyuan-note/siyuan/issues/8513)
+* [Blocks in the bookmark panel display their name instead of content](https://github.com/siyuan-note/siyuan/issues/8514)
+* [Improve the mouse hove data sync button information on the desktop and browser](https://github.com/siyuan-note/siyuan/issues/8521)
+
+### Bugfix
+
+* [The hyperlink in the changelog fails to jump to the browser to open](https://github.com/siyuan-note/siyuan/issues/8458)
+* [Move to new window not rendering](https://github.com/siyuan-note/siyuan/issues/8461)
+* [Paste hyperlink parsing exception in text containing bold](https://github.com/siyuan-note/siyuan/issues/8475)
+* [Hiding the main interface and then opening it from the taskbar icon will cause the interface to hang](https://github.com/siyuan-note/siyuan/issues/8489)
+* [The interface is not refreshed after switching the appearance language](https://github.com/siyuan-note/siyuan/issues/8498)
+* [After a period of rest, the input data cannot be saved](https://github.com/siyuan-note/siyuan/issues/8501)
+* [The doc tab cannot be opened after the pinning plugin opened tabs](https://github.com/siyuan-note/siyuan/issues/8502)
+* [Triple click does not select whole line](https://github.com/siyuan-note/siyuan/issues/8511)
+* [Search dialog XSS](https://github.com/siyuan-note/siyuan/issues/8525)
+
+### Refactor
+
+* [Upgrade Electron](https://github.com/siyuan-note/siyuan/issues/8510)
+
+### Development
+
+* [Plugin API tab options `beforeDestroy` to control react root unmount before tab element destroyed](https://github.com/siyuan-note/siyuan/issues/8467)
+* [Kernel API `transferBlockRef`](https://github.com/siyuan-note/siyuan/issues/8522)
diff --git a/app/changelogs/v2.9.1/v2.9.1_zh_CHT.md b/app/changelogs/v2.9.1/v2.9.1_zh_CHT.md
new file mode 100644
index 000000000..8abc53ad6
--- /dev/null
+++ b/app/changelogs/v2.9.1/v2.9.1_zh_CHT.md
@@ -0,0 +1,49 @@
+## 概述
+
+該版本主要是修復缺陷和改進細節體驗,其中比較關鍵的是修復了某些情況下無法保存數據的問題。
+
+如果你遇到了數據丟失問題,請盡快升級到最新版。
+
+## 變更記錄
+
+以下是此版本中的詳細變更。
+
+### 改進功能
+
+* [移動端上將未釘住的插件移到二級菜單中](https://github.com/siyuan-note/siyuan/issues/8411)
+* [統一 `settings-assets-tabs` 頁簽樣式](https://github.com/siyuan-note/siyuan/pull/8462)
+* [通過插件 API `addFloatLayer` 彈出的浮層支持 `Esc` 關閉](https://github.com/siyuan-note/siyuan/issues/8470)
+* [文件歷史保留天數上限不再受到限制](https://github.com/siyuan-note/siyuan/issues/8472)
+* [某些情況下備註編輯對話框無法打開](https://github.com/siyuan-note/siyuan/issues/8478)
+* [改進集市響應式界面](https://github.com/siyuan-note/siyuan/issues/8480)
+* [統一文檔圖標字體族 `--b3-font-family-emoji`](https://github.com/siyuan-note/siyuan/pull/8485)
+* [改進啟動界面](https://github.com/siyuan-note/siyuan/issues/8496)
+* [改進是否是 Pad 設備的判斷](https://github.com/siyuan-note/siyuan/issues/8497)
+* [為塊動態滾動條設置最大高度](https://github.com/siyuan-note/siyuan/issues/8500)
+* [改進歷史數據索引](https://github.com/siyuan-note/siyuan/issues/8506)
+* [改進集市包安裝失敗時的報錯提示](https://github.com/siyuan-note/siyuan/issues/8507)
+* [降低實時字數統計系統資源佔用](https://github.com/siyuan-note/siyuan/issues/8512)
+* [在 `((` 後粘貼純文本進行搜索提升](https://github.com/siyuan-note/siyuan/issues/8513)
+* [書籤面板中優先顯示塊命名](https://github.com/siyuan-note/siyuan/issues/8514)
+* [改進桌面端和瀏覽器端鼠標懸停數據同步按鈕後的提升信息](https://github.com/siyuan-note/siyuan/issues/8521)
+
+### 修復缺陷
+
+* [更新版本後點擊變更日誌對話框中的超鏈接未使用瀏覽器打開](https://github.com/siyuan-note/siyuan/issues/8458)
+* [頁簽移動到新窗口不渲染內容](https://github.com/siyuan-note/siyuan/issues/8461)
+* [在包含粗體的文本中粘貼超鏈接解析異常](https://github.com/siyuan-note/siyuan/issues/8475)
+* [隱藏主界面後從任務欄打開導致界面掛起](https://github.com/siyuan-note/siyuan/issues/8489)
+* [切換外觀語言後界面不刷新](https://github.com/siyuan-note/siyuan/issues/8498)
+* [某些情況下數據無法保存](https://github.com/siyuan-note/siyuan/issues/8501)
+* [釘住插件打開的頁籤後無法打開文檔頁簽](https://github.com/siyuan-note/siyuan/issues/8502)
+* [修復三擊選中整行](https://github.com/siyuan-note/siyuan/issues/8511)
+* [搜索對話框 XSS](https://github.com/siyuan-note/siyuan/issues/8525)
+
+### 開發重構
+
+* [升級 Electron](https://github.com/siyuan-note/siyuan/issues/8510)
+
+### 開發者
+
+* [添加插件 API `beforeDestroy`](https://github.com/siyuan-note/siyuan/issues/8467)
+* [添加內核 API `transferBlockRef`](https://github.com/siyuan-note/siyuan/issues/8522)
\ No newline at end of file
diff --git a/app/changelogs/v2.9.1/v2.9.1_zh_CN.md b/app/changelogs/v2.9.1/v2.9.1_zh_CN.md
new file mode 100644
index 000000000..1f8cd110c
--- /dev/null
+++ b/app/changelogs/v2.9.1/v2.9.1_zh_CN.md
@@ -0,0 +1,49 @@
+## 概述
+
+该版本主要是修复缺陷和改进细节体验,其中比较关键的是修复了某些情况下无法保存数据的问题。
+
+如果你遇到了数据丢失问题,请尽快升级到最新版。
+
+## 变更记录
+
+以下是此版本中的详细变更。
+
+### 改进功能
+
+* [移动端上将未钉住的插件移到二级菜单中](https://github.com/siyuan-note/siyuan/issues/8411)
+* [统一 `settings-assets-tabs` 页签样式](https://github.com/siyuan-note/siyuan/pull/8462)
+* [通过插件 API `addFloatLayer` 弹出的浮层支持 `Esc` 关闭](https://github.com/siyuan-note/siyuan/issues/8470)
+* [文件历史保留天数上限不再受到限制](https://github.com/siyuan-note/siyuan/issues/8472)
+* [某些情况下备注编辑对话框无法打开](https://github.com/siyuan-note/siyuan/issues/8478)
+* [改进集市响应式界面](https://github.com/siyuan-note/siyuan/issues/8480)
+* [统一文档图标字体族 `--b3-font-family-emoji`](https://github.com/siyuan-note/siyuan/pull/8485)
+* [改进启动界面](https://github.com/siyuan-note/siyuan/issues/8496)
+* [改进是否是 Pad 设备的判断](https://github.com/siyuan-note/siyuan/issues/8497)
+* [为块动态滚动条设置最大高度](https://github.com/siyuan-note/siyuan/issues/8500)
+* [改进历史数据索引](https://github.com/siyuan-note/siyuan/issues/8506)
+* [改进集市包安装失败时的报错提示](https://github.com/siyuan-note/siyuan/issues/8507)
+* [降低实时字数统计系统资源占用](https://github.com/siyuan-note/siyuan/issues/8512)
+* [在 `((` 后粘贴纯文本进行搜索提升](https://github.com/siyuan-note/siyuan/issues/8513)
+* [书签面板中优先显示块命名](https://github.com/siyuan-note/siyuan/issues/8514)
+* [改进桌面端和浏览器端鼠标悬停数据同步按钮后的提升信息](https://github.com/siyuan-note/siyuan/issues/8521)
+
+### 修复缺陷
+
+* [更新版本后点击变更日志对话框中的超链接未使用浏览器打开](https://github.com/siyuan-note/siyuan/issues/8458)
+* [页签移动到新窗口不渲染内容](https://github.com/siyuan-note/siyuan/issues/8461)
+* [在包含粗体的文本中粘贴超链接解析异常](https://github.com/siyuan-note/siyuan/issues/8475)
+* [隐藏主界面后从任务栏打开导致界面挂起](https://github.com/siyuan-note/siyuan/issues/8489)
+* [切换外观语言后界面不刷新](https://github.com/siyuan-note/siyuan/issues/8498)
+* [某些情况下数据无法保存](https://github.com/siyuan-note/siyuan/issues/8501)
+* [钉住插件打开的页签后无法打开文档页签](https://github.com/siyuan-note/siyuan/issues/8502)
+* [修复三击选中整行](https://github.com/siyuan-note/siyuan/issues/8511)
+* [搜索对话框 XSS](https://github.com/siyuan-note/siyuan/issues/8525)
+
+### 开发重构
+
+* [升级 Electron](https://github.com/siyuan-note/siyuan/issues/8510)
+
+### 开发者
+
+* [添加插件 API `beforeDestroy`](https://github.com/siyuan-note/siyuan/issues/8467)
+* [添加内核 API `transferBlockRef`](https://github.com/siyuan-note/siyuan/issues/8522)
diff --git a/app/package.json b/app/package.json
index 8b5a1f000..6994804c7 100644
--- a/app/package.json
+++ b/app/package.json
@@ -1,6 +1,6 @@
{
"name": "SiYuan",
- "version": "2.9.0",
+ "version": "2.9.1",
"description": "Build Your Eternal Digital Garden",
"homepage": "https://b3log.org/siyuan",
"main": "./electron/main.js",
diff --git a/kernel/util/working.go b/kernel/util/working.go
index 96d19a9d0..e4d5d6be2 100644
--- a/kernel/util/working.go
+++ b/kernel/util/working.go
@@ -41,7 +41,7 @@ import (
var Mode = "prod"
const (
- Ver = "2.9.0"
+ Ver = "2.9.1"
IsInsider = false
)