diff --git a/Cargo.lock b/Cargo.lock
index 812c55e8..4937cc7d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -933,7 +933,7 @@ dependencies = [
"nom",
"pathdiff",
"serde",
- "toml 0.5.9",
+ "toml",
]
[[package]]
@@ -2935,7 +2935,7 @@ dependencies = [
[[package]]
name = "lapce"
-version = "0.3.1"
+version = "0.4.0"
dependencies = [
"lapce-app",
"lapce-proxy",
@@ -2943,7 +2943,7 @@ dependencies = [
[[package]]
name = "lapce-app"
-version = "0.3.1"
+version = "0.4.0"
dependencies = [
"Inflector",
"alacritty_terminal",
@@ -2990,7 +2990,7 @@ dependencies = [
"strum_macros",
"tar",
"thiserror",
- "toml 0.8.2",
+ "toml",
"toml_edit 0.20.2",
"tracing 0.2.0",
"tracing-appender",
@@ -2998,13 +2998,13 @@ dependencies = [
"tracing-subscriber",
"unicode-width",
"url",
- "windows-sys 0.52.0",
+ "windows-sys 0.36.1",
"zip",
]
[[package]]
name = "lapce-core"
-version = "0.3.1"
+version = "0.4.0"
dependencies = [
"anyhow",
"arc-swap",
@@ -3037,7 +3037,7 @@ dependencies = [
[[package]]
name = "lapce-proxy"
-version = "0.3.1"
+version = "0.4.0"
dependencies = [
"alacritty_terminal",
"anyhow",
@@ -3076,7 +3076,7 @@ dependencies = [
"strum",
"strum_macros",
"tar",
- "toml 0.8.2",
+ "toml",
"toml_edit 0.20.2",
"tracing 0.2.0",
"tracing-log",
@@ -3092,7 +3092,7 @@ dependencies = [
[[package]]
name = "lapce-rpc"
-version = "0.3.1"
+version = "0.4.0"
dependencies = [
"anyhow",
"crossbeam-channel",
@@ -5284,18 +5284,6 @@ dependencies = [
"serde",
]
-[[package]]
-name = "toml"
-version = "0.8.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d"
-dependencies = [
- "serde",
- "serde_spanned",
- "toml_datetime",
- "toml_edit 0.20.2",
-]
-
[[package]]
name = "toml_datetime"
version = "0.6.3"
@@ -6022,7 +6010,7 @@ dependencies = [
"serde",
"serde_derive",
"sha2",
- "toml 0.5.9",
+ "toml",
"windows-sys 0.48.0",
"zstd",
]
diff --git a/Cargo.toml b/Cargo.toml
index 5a90318a..f68bcb6e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -23,7 +23,7 @@ path = "lapce-proxy/src/bin/lapce-proxy.rs"
members = ["lapce-app", "lapce-proxy", "lapce-rpc", "lapce-core"]
[workspace.package]
-version = "0.3.1"
+version = "0.4.0"
edition = "2021"
rust-version = "1.75"
license = "Apache-2.0"
diff --git a/extra/linux/dev.lapce.lapce.metainfo.xml b/extra/linux/dev.lapce.lapce.metainfo.xml
index 12f8d456..99d322af 100644
--- a/extra/linux/dev.lapce.lapce.metainfo.xml
+++ b/extra/linux/dev.lapce.lapce.metainfo.xml
@@ -30,6 +30,6 @@
-
+
diff --git a/extra/macos/Lapce.app/Contents/Info.plist b/extra/macos/Lapce.app/Contents/Info.plist
index f2374a26..2f6f78e2 100644
--- a/extra/macos/Lapce.app/Contents/Info.plist
+++ b/extra/macos/Lapce.app/Contents/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 0.3.1
+ 0.4.0
CFBundleSupportedPlatforms
MacOSX
diff --git a/extra/windows/wix/lapce.wxs b/extra/windows/wix/lapce.wxs
index 64a9d27c..b2d0e4c6 100644
--- a/extra/windows/wix/lapce.wxs
+++ b/extra/windows/wix/lapce.wxs
@@ -1,6 +1,6 @@
-
+
diff --git a/lapce.spec b/lapce.spec
index b964ec68..4eefa8cd 100644
--- a/lapce.spec
+++ b/lapce.spec
@@ -1,5 +1,5 @@
Name: lapce-git
-Version: 0.3.1.{{{ git_dir_version }}}
+Version: 0.4.0.{{{ git_dir_version }}}
Release: 1
Summary: Lightning-fast and Powerful Code Editor written in Rust
License: Apache-2.0