Skip to content

Commit cc8e57d

Browse files
committed
chore: v1.9.34 - TOML config migration
Ship the JSON-to-TOML config migration from PR #1317 with automatic legacy config upgrade support and release notes for users updating old shortcuts or automation.
1 parent 059f3e0 commit cc8e57d

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mhrv-rs"
3-
version = "1.9.33"
3+
version = "1.9.34"
44
edition = "2021"
55
description = "Rust port of MasterHttpRelayVPN -- DPI bypass via Google Apps Script relay with domain fronting"
66
license = "MIT"

docs/changelog/v1.9.34.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!-- see docs/changelog/v1.1.0.md for the file format: Persian, then `---`, then English. -->
2+
<div dir="rtl">
3+
4+
• **مهاجرت config از JSON به TOML با upgrade خودکار** ([PR #1317](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/pull/1317) از @CaptainMirage). فایل canonical برای نسخه‌های جدید حالا `config.toml` است و نمونه‌ها، راهنماها، لانچر ویندوز، OpenWRT init، UI و مسیر Android/JNI همگی با TOML هماهنگ شده‌اند. اگر کنار برنامه هنوز `config.json` قدیمی دارید، mhrv-rs آن را می‌خواند، یک فایل `.toml` معادل کنار آن می‌نویسد، و خود `config.json` را دست‌نخورده می‌گذارد تا مهاجرت بدون از دست رفتن تنظیمات انجام شود. برای اجرای معمولی بعد از مهاجرت از `config.toml` استفاده کنید؛ اگر automation یا shortcut قدیمی دارید که صراحتاً `--config config.json` می‌دهد، آن مسیر را به فایل TOML جدید تغییر دهید.
5+
6+
</div>
7+
---
8+
**Migrate config from JSON to TOML with automatic upgrade support** ([PR #1317](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/pull/1317) by @CaptainMirage). The canonical config file for new releases is now `config.toml`, and the examples, guides, Windows launcher, OpenWRT init, UI, and Android/JNI path now follow the TOML format. If an old `config.json` is still present, mhrv-rs reads it, writes an equivalent neighboring `.toml` file, and leaves the JSON file untouched so settings survive the migration. For normal use after migration, run with `config.toml`; if an old automation or shortcut explicitly passes `--config config.json`, update it to point at the new TOML file.

0 commit comments

Comments
 (0)