Skip to content

v1.9.34

Latest

Choose a tag to compare

@github-actions github-actions released this 22 May 13:15
· 1 commit to main since this release

مهاجرت config از JSON به TOML با upgrade خودکار (PR #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 جدید تغییر دهید.

--- • **Migrate config from JSON to TOML with automatic upgrade support** ([PR #1317](https://github.com//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.

What's Changed

  • feat(config): migrate config format from JSON to TOML with automatic upgrade path by @CaptainMirage in #1317

Full Changelog: v1.9.33...v1.9.34