From 1d817c9bed2a8bec500faca9808102903ffe6e0f Mon Sep 17 00:00:00 2001 From: Devid HW Date: Thu, 25 Jun 2026 16:04:22 +0700 Subject: [PATCH] release: v1.33.0 --- CHANGELOG.md | 19 +++++++++++++++++++ Cargo.toml | 2 +- server.json | 6 +++--- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c3f82b..08e9ae2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## [1.33.0] — 2026-06-25 + +### Added +- **`src/utils/` module**: shared `read_file_as_utf8` utility for UTF-16LE BOM detection, used across set file and config handlers. +- **OS detection and diagnostics**: `utility.rs` gains `OsType` enum, `get_os_context`, `get_system_memory`, and `crossover_server_running` helper for better CrossOver diagnostics. +- **Wine binary detection**: MT5.app and CrossOver now detect both `wine` and `wine64` binaries; Homebrew and Linux paths add `wine` alongside `wine64`. + +### Changed +- **Optimizer launch mechanism**: rewritten from `/mt5mcp_backtest.ini` + `.bat` to `/config:` INI + shell script. Now patches `terminal.ini` directly with full optimization parameters and appends agent configuration — no longer relies on batch file or separate INI. +- **OptMode reset**: removed as a separate step; now included inline in `terminal.ini` patching during optimizer startup. +- **Wine prefix resolution**: changed from 2-parent to 3-parent traversal, matching the backtest pipeline's Wine prefix logic. +- **Set file parsing**: parameter delimiter changed from `:` to `=` (matches actual MT5 .set format); `||Y` sweep param parsing rewritten to split on `||` for accurate range extraction. +- **OptimizationParams**: `model` parameter removed (was hardcoded to `0` everywhere anyway; MT5 now defaults correctly). + +### Fixed +- **Set file cross-platform reading**: `.set` files are now read as UTF-16LE (with BOM) or UTF-8 regardless of platform, fixing potential encoding issues on macOS/Linux. +- **Read-only set file overwrite**: handles pre-existing read-only files during `.set` write by removing them first. + + ## [1.32.4] — 2026-04-25 ### Fixed diff --git a/Cargo.toml b/Cargo.toml index c9b641f..78c4f25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mt5-quant" -version = "1.32.4" +version = "1.33.0" edition = "2021" description = "MCP server for MT5 strategy development on macOS/Linux" authors = ["masdevid "] diff --git a/server.json b/server.json index 2233c9c..c89e360 100644 --- a/server.json +++ b/server.json @@ -7,12 +7,12 @@ "url": "https://github.com/masdevid/mt5-quant", "source": "github" }, - "version": "1.32.4", + "version": "1.33.0", "packages": [ { "registryType": "mcpb", - "version": "1.32.4", - "identifier": "https://github.com/masdevid/mt5-quant/releases/download/v1.32.4/mcp-mt5-quant-macos-arm64.tar.gz", + "version": "1.33.0", + "identifier": "https://github.com/masdevid/mt5-quant/releases/download/v1.33.0/mcp-mt5-quant-macos-arm64.tar.gz", "fileSha256": "54c6fd9d1f0d009bad1fa001582607377442ecfca908e3692b09d4c6b2732074", "transport": { "type": "stdio"