mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🔖 Release v2.1.10
This commit is contained in:
parent
4a71829400
commit
560f34e5ae
10 changed files with 49 additions and 23 deletions
6
.github/CONTRIBUTING.md
vendored
6
.github/CONTRIBUTING.md
vendored
|
|
@ -14,10 +14,10 @@ Install pnpm: `npm install -g pnpm`
|
|||
|
||||
Set the Electron mirror environment variable and install Electron:
|
||||
|
||||
* macOS/Linux: `ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install electron@20.0.3 -D`
|
||||
* macOS/Linux: `ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install electron@20.1.0 -D`
|
||||
* Windows:
|
||||
* `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/`
|
||||
* `pnpm install electron@20.0.3 -D`
|
||||
* `pnpm install electron@20.1.0 -D`
|
||||
|
||||
NPM mirror:
|
||||
|
||||
|
|
@ -28,7 +28,7 @@ NPM mirror:
|
|||
|
||||
On the desktop, go to the app folder to run:
|
||||
|
||||
* `pnpm install electron@20.0.3 -D`
|
||||
* `pnpm install electron@20.1.0 -D`
|
||||
* `pnpm run dev`
|
||||
* `pnpm run start`
|
||||
|
||||
|
|
|
|||
6
.github/CONTRIBUTING_zh_CN.md
vendored
6
.github/CONTRIBUTING_zh_CN.md
vendored
|
|
@ -14,10 +14,10 @@
|
|||
|
||||
设置 Electron 镜像环境变量并安装 Electron:
|
||||
|
||||
* macOS/Linux: `ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install electron@20.0.3 -D`
|
||||
* macOS/Linux: `ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install electron@20.1.0 -D`
|
||||
* Windows:
|
||||
* `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/`
|
||||
* `pnpm install electron@20.0.3 -D`
|
||||
* `pnpm install electron@20.1.0 -D`
|
||||
|
||||
NPM 镜像:
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ NPM 镜像:
|
|||
|
||||
桌面端进入 app 文件夹运行:
|
||||
|
||||
* `pnpm install electron@20.0.3 -D`
|
||||
* `pnpm install electron@20.1.0 -D`
|
||||
* `pnpm run dev`
|
||||
* `pnpm run start`
|
||||
|
||||
|
|
|
|||
2
.github/workflows/dockerimage.yml
vendored
2
.github/workflows/dockerimage.yml
vendored
|
|
@ -33,4 +33,4 @@ jobs:
|
|||
|
||||
- name: Build the Docker image
|
||||
run: |
|
||||
docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7 -t b3log/siyuan:latest -t b3log/siyuan:v2.1.9 .
|
||||
docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7 -t b3log/siyuan:latest -t b3log/siyuan:v2.1.10 .
|
||||
28
CHANGELOG.md
28
CHANGELOG.md
|
|
@ -1,3 +1,31 @@
|
|||
## v2.1.10 / 2022-08-28
|
||||
|
||||
### 改进功能
|
||||
|
||||
* [数学公式支持设置全局宏定义](https://github.com/siyuan-note/siyuan/issues/5682)
|
||||
* [提供重建单个文档索引的 API](https://github.com/siyuan-note/siyuan/issues/5719)
|
||||
* [支持导出系统日志](https://github.com/siyuan-note/siyuan/issues/5726)
|
||||
* [同步向导优化,登录后根据条件进行下一步提示](https://github.com/siyuan-note/siyuan/issues/5727)
|
||||
* [链接菜单中的转化为文本移动到删除上](https://github.com/siyuan-note/siyuan/issues/5731)
|
||||
* [使用 HTML 块时建议使用 `<div>` 包裹 HTML 代码](https://github.com/siyuan-note/siyuan/issues/5732)
|
||||
* [表格中的代码包含 `\|` 时复制纯文本应该剔除掉 `\`](https://github.com/siyuan-note/siyuan/issues/5733)
|
||||
* [改进云端同步图标](https://github.com/siyuan-note/siyuan/issues/5734)
|
||||
* [移动端实现状态栏提示](https://github.com/siyuan-note/siyuan/issues/5736)
|
||||
|
||||
### 开发重构
|
||||
|
||||
* [Android 端升级 SDK 为 32](https://github.com/siyuan-note/siyuan/issues/5737)
|
||||
* [升级 Electron](https://github.com/siyuan-note/siyuan/issues/5738)
|
||||
|
||||
### 修复缺陷
|
||||
|
||||
* [macOS 端无法使用 ⌘V 粘贴图片](https://github.com/siyuan-note/siyuan/issues/5722)
|
||||
* [复制粘贴带换行的文本拆分为多个块后解析不正确](https://github.com/siyuan-note/siyuan/issues/5723)
|
||||
* [拖动有序列表项生产超级块后撤销不正确](https://github.com/siyuan-note/siyuan/issues/5725)
|
||||
* [嵌入块中存在换行 SQL 语句时会被转换为段落文本](https://github.com/siyuan-note/siyuan/issues/5728)
|
||||
* [第一次打开页签有光标,关闭后第二次打开无光标](https://github.com/siyuan-note/siyuan/issues/5729)
|
||||
* [云端同步失败重试后导致旧数据覆盖新数据](https://github.com/siyuan-note/siyuan/issues/5730)
|
||||
|
||||
## v2.1.9 / 2022-08-24
|
||||
|
||||
### 改进功能
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<Identity Name="89C2A984.SiYuan"
|
||||
ProcessorArchitecture="x64"
|
||||
Publisher='CN=087C656E-C1D9-42D8-8807-CED45A74FC0F'
|
||||
Version="2.1.9.0"/>
|
||||
Version="2.1.10.0"/>
|
||||
<Properties>
|
||||
<DisplayName>SiYuan</DisplayName>
|
||||
<PublisherDisplayName>云南链滴科技有限公司</PublisherDisplayName>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "SiYuan",
|
||||
"version": "2.1.9",
|
||||
"version": "2.1.10",
|
||||
"description": "Build Your Eternal Digital Garden",
|
||||
"homepage": "https://b3log.org/siyuan",
|
||||
"main": "./electron/main.js",
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
"clean-webpack-plugin": "^4.0.0",
|
||||
"css-loader": "^6.7.1",
|
||||
"dayjs": "^1.11.3",
|
||||
"electron": "20.0.3",
|
||||
"electron": "20.1.0",
|
||||
"electron-builder": "^23.3.1",
|
||||
"encoding": "^0.1.13",
|
||||
"eslint": "^8.19.0",
|
||||
|
|
|
|||
18
app/pnpm-lock.yaml
generated
18
app/pnpm-lock.yaml
generated
|
|
@ -15,7 +15,7 @@ specifiers:
|
|||
clean-webpack-plugin: ^4.0.0
|
||||
css-loader: ^6.7.1
|
||||
dayjs: ^1.11.3
|
||||
electron: 20.0.3
|
||||
electron: 20.1.0
|
||||
electron-builder: ^23.3.1
|
||||
electron-fetch: ^1.7.4
|
||||
encoding: ^0.1.13
|
||||
|
|
@ -39,7 +39,7 @@ specifiers:
|
|||
webpack-cli: ^4.10.0
|
||||
|
||||
dependencies:
|
||||
'@electron/remote': 2.0.8_electron@20.0.3
|
||||
'@electron/remote': 2.0.8_electron@20.1.0
|
||||
electron-fetch: 1.7.4
|
||||
pnpm: 7.9.3
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ devDependencies:
|
|||
clean-webpack-plugin: 4.0.0_webpack@5.73.0
|
||||
css-loader: 6.7.1_webpack@5.73.0
|
||||
dayjs: 1.11.3
|
||||
electron: 20.0.3
|
||||
electron: 20.1.0
|
||||
electron-builder: 23.3.1
|
||||
encoding: 0.1.13
|
||||
eslint: 8.19.0
|
||||
|
|
@ -1274,12 +1274,12 @@ packages:
|
|||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
/@electron/remote/2.0.8_electron@20.0.3:
|
||||
/@electron/remote/2.0.8_electron@20.1.0:
|
||||
resolution: {integrity: sha512-P10v3+iFCIvEPeYzTWWGwwHmqWnjoh8RYnbtZAb3RlQefy4guagzIwcWtfftABIfm6JJTNQf4WPSKWZOpLmHXw==}
|
||||
peerDependencies:
|
||||
electron: '>= 13.0.0'
|
||||
dependencies:
|
||||
electron: 20.0.3
|
||||
electron: 20.1.0
|
||||
dev: false
|
||||
|
||||
/@electron/universal/1.2.1:
|
||||
|
|
@ -1906,10 +1906,10 @@ packages:
|
|||
resolution: {integrity: sha512-mi4DG3m32cMJ5CtO9iYk41gBvGWLzJjQsaQgGOd4ZhmIuKyj8M/0rT1g0s/0qD4Tw8jsa//NXMXCC7vpGIfkTg==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
dependencies:
|
||||
7zip-bin: 5.1.1
|
||||
'@develar/schema-utils': 2.6.5
|
||||
'@electron/universal': 1.2.1
|
||||
'@malept/flatpak-bundler': 0.4.0
|
||||
7zip-bin: 5.1.1
|
||||
async-exit-hook: 2.0.1
|
||||
bluebird-lst: 1.0.9
|
||||
builder-util: 23.3.0
|
||||
|
|
@ -2193,9 +2193,9 @@ packages:
|
|||
/builder-util/23.3.0:
|
||||
resolution: {integrity: sha512-m7RRd21N2yrnuGFd+ZqOY0ryeqWmBslDKmGDVz0wETqoEEqpiJsF3CGlsb6MRN2EQKDubvE5e+lBf8ATt06fnA==}
|
||||
dependencies:
|
||||
7zip-bin: 5.1.1
|
||||
'@types/debug': 4.1.7
|
||||
'@types/fs-extra': 9.0.13
|
||||
7zip-bin: 5.1.1
|
||||
app-builder-bin: 4.0.0
|
||||
bluebird-lst: 1.0.9
|
||||
builder-util-runtime: 9.0.3
|
||||
|
|
@ -2815,8 +2815,8 @@ packages:
|
|||
resolution: {integrity: sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==}
|
||||
dev: true
|
||||
|
||||
/electron/20.0.3:
|
||||
resolution: {integrity: sha512-Yx0a/SGgus/XqDAoMMs165JUikgE5vBmQpNJ+0XMDG/IYFj6TNNzfY2ATI+t171JjhKKO+MYPO8xqyZdFRoIDw==}
|
||||
/electron/20.1.0:
|
||||
resolution: {integrity: sha512-gzl6fdZe5g0qmzCC6Ejxa1Oa8eqUSxs4+QLtrM7SyEVp+mEPJAOoDe0xD8ayRQqeXTBxLK1LFrKtc4c98iufsg==}
|
||||
engines: {node: '>= 10.17.0'}
|
||||
hasBin: true
|
||||
requiresBuild: true
|
||||
|
|
|
|||
|
|
@ -331,8 +331,6 @@ func fullTextSearchCount(query, box, path, filter string) (matchedBlockCount, ma
|
|||
}
|
||||
|
||||
func fullTextSearch(query, box, path, filter string, beforeLen int, querySyntax bool) (ret []*Block, matchedBlockCount, matchedRootCount int) {
|
||||
fullTextSearchHistory(query, 1)
|
||||
|
||||
query = gulu.Str.RemoveInvisible(query)
|
||||
if util.IsIDPattern(query) {
|
||||
ret, matchedBlockCount, matchedRootCount = searchBySQL("SELECT * FROM `blocks` WHERE `id` = '"+query+"'", beforeLen)
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ import (
|
|||
"github.com/siyuan-note/logging"
|
||||
)
|
||||
|
||||
const DatabaseVer = "20220828" // 修改表结构的话需要修改这里
|
||||
const DatabaseVer = "20220501" // 修改表结构的话需要修改这里
|
||||
|
||||
const (
|
||||
ExitCodeReadOnlyDatabase = 20 // 数据库文件被锁
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ import (
|
|||
var Mode = "prod"
|
||||
|
||||
const (
|
||||
Ver = "2.1.9"
|
||||
Ver = "2.1.10"
|
||||
IsInsider = false
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue