Skip to content

Commit

Permalink
release v3.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tamlok committed Jul 1, 2024
1 parent 313764b commit 84cb60d
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
default: false

env:
VNOTE_VER: 3.17.0
VNOTE_VER: 3.18.0
CMAKE_VER: 3.24.3

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
default: false

env:
VNOTE_VER: 3.17.0
VNOTE_VER: 3.18.0
CMAKE_VER: 3.24.3

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
default: false

env:
VNOTE_VER: 3.17.0
VNOTE_VER: 3.18.0

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required (VERSION 3.20)
set(CMAKE_OSX_DEPLOYMENT_TARGET "12.1" CACHE STRING "Minimum OS X deployment version")

project(VNote
VERSION 3.17.0
VERSION 3.18.0
DESCRIPTION "A pleasant note-taking platform"
HOMEPAGE_URL "https://app.vnote.fun"
LANGUAGES C CXX)
Expand Down
8 changes: 8 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# Changes
## v3.18.0
* Upgrade to Qt6
* Support MacOS universal build
* Upgrade Mermaid, Flowchart.js, and markdown-it
* Markdown-it
* Fix XSS protection and turn it on by default
* Support mark by `==xx==`

## v3.17.0
* Quick note: create note in given scheme (@feloxx)
* MarkdownEditor: support inserting multiple images (@feloxx)
Expand Down
5 changes: 5 additions & 0 deletions scripts/update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
newVersion = sys.argv[1]
print("New version: {0}".format(newVersion))

# CMakeList
regExp = re.compile('(\\s+)VERSION \\S+')
for line in fileinput.input(['CMakeLists.txt'], inplace = True):
print(regExp.sub('\\1VERSION ' + newVersion, line), end='')

# vnotex.json
regExp = re.compile('(\\s+)"version" : "\\S+"')
for line in fileinput.input(['src/data/core/vnotex.json'], inplace = True):
Expand Down
2 changes: 1 addition & 1 deletion src/data/core/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<key>CFBundleShortVersionString</key>
<string>3.17</string>
<key>CFBundleVersion</key>
<string>3.17.0</string>
<string>3.18.0</string>
<key>NSHumanReadableCopyright</key>
<string>Distributed under LGPL-3.0 license. Copyright (c) 2024 app.vnote.fun</string>
<key>CFBundleIconFile</key>
Expand Down
2 changes: 1 addition & 1 deletion src/data/core/vnotex.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"metadata" : {
"//comment": "When releasing new version, please go through the following configs to check if override is needed.",
"//Comment": "markdown_editor#override_viewer_resource",
"version" : "3.17.0"
"version" : "3.18.0"
},
"core" : {
"theme" : "pure",
Expand Down
2 changes: 1 addition & 1 deletion src/data/extra/docs/en/welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ For more information, please visit [**VNote's Home Page**](https://vnotex.github
* Feedbacks are appreciated! Please [post an issue](https://github.com/vnotex/vnote/issues) on GitHub if there is any.

### Windows Users
* if VNote hangs frequently or behaves unexpectedly in interface, please check the **OpenGL** option. [Details here](https://github.com/vnotex/vnote/issues/853).
* If VNote hangs frequently or behaves unexpectedly in interface, please check the **OpenGL** option. Check details [here](https://github.com/vnotex/vnote/issues/853).

0 comments on commit 84cb60d

Please sign in to comment.