summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md14
-rw-r--r--Cargo.lock6
-rw-r--r--Cargo.toml2
3 files changed, 14 insertions, 8 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5ec43fb..a78dad5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,13 @@
-## [Unreleased]
-- linux: move pid file path to `/run/dpibreak.pid` and log file path (on daemon) to `/var/log/dpibreak.log`. (Fixes #16)
-- linux: add guard checking euid is root. (#16)
-- linux: fix log file truncated when daemonize fails (#17)
+## DPIBreak v0.4.2 - 2026-02-16
+Hotfix from [v0.4.1](https://github.com/dilluti0n/dpibreak/releases/tag/v0.4.0). Linux only — Windows users do not need to update from v0.4.0 or v0.4.1.
+
+**Upgrading from v0.4.0/v0.4.1:** Stop any running dpibreak instance (`sudo pkill dpibreak`) before upgrading. The PID file path has changed, so the new binary won't detect the old instance.
+
+- Move PID file to `/run/dpibreak.pid` and daemon log file to `/var/log/dpibreak.log`. (Fixes #16)
+- Add root privilege check on startup. (#16)
+- Fix log file being truncated when daemonize fails. (#17)
+
+For new features added on 0.4 (which introduce windows service and daemonize on linux), see [v0.4.0](https://github.com/dilluti0n/dpibreak/releases/tag/v0.4.0) release note.
## [DPIBreak v0.4.1] - 2026-02-15
Linux only hotfix:
diff --git a/Cargo.lock b/Cargo.lock
index 9fd3ee0..52a5589 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -257,7 +257,7 @@ dependencies = [
[[package]]
name = "dpibreak"
-version = "0.4.1"
+version = "0.4.2"
dependencies = [
"anyhow",
"criterion",
@@ -602,9 +602,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.115"
+version = "2.0.116"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e614ed320ac28113fa64972c4262d5dbc89deacdfd00c34a3e4cea073243c12"
+checksum = "3df424c70518695237746f84cede799c9c58fcb37450d7b23716568cc8bc69cb"
dependencies = [
"proc-macro2",
"quote",
diff --git a/Cargo.toml b/Cargo.toml
index 05b288e..899ee44 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -17,7 +17,7 @@
[package]
name = "dpibreak"
-version = "0.4.1"
+version = "0.4.2"
authors = ["Dilluti0n <[email protected]>"]
edition = "2024"
build = "build.rs"