You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- see docs/changelog/v1.1.0.md for the file format: Persian, then `---`, then English. -->
2
+
<divdir="rtl">
3
+
4
+
• **رفع خطای JSON در `Code.gs` نسخه 1.9.28** ([PR #1265](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/pull/1265)، [#1245](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/issues/1245)، [#1253](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/issues/1253)، [#1261](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/issues/1261)). مسیر ساده `Code.gs` در بعضی درخواستها پاسخ مقصد را خام برمیگرداند و کلاینت Rust آن را بهجای envelope داخلی relay به عنوان JSON parse میکرد؛ نتیجه خطاهایی مثل `json: key must be a string` یا `no json in` بود. حالا `Code.gs` مثل `CodeFull.gs` پاسخها را داخل envelope `{s,h,b}` نگه میدارد و `req.r` فقط برای کنترل follow-redirect استفاده میشود. برای گرفتن این fix، فایل جدید `assets/apps_script/Code.gs` را در Apps Script جایگزین کنید و یک New version deploy بسازید.
5
+
6
+
</div>
7
+
8
+
---
9
+
• **Fix the v1.9.28 `Code.gs` JSON parse regression** ([PR #1265](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/pull/1265), [#1245](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/issues/1245), [#1253](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/issues/1253), [#1261](https://github.com/therealaleph/MasterHttpRelayVPN-RUST/issues/1261)). The simple `Code.gs` path could return the destination body verbatim for some requests, so the Rust client tried to parse arbitrary site HTML/JSON as the relay envelope and surfaced errors such as `json: key must be a string` or `no json in`. `Code.gs` now matches `CodeFull.gs`: normal relay responses stay wrapped as `{s,h,b}`, and `req.r` only controls redirect following. To get this fix, replace your Apps Script with the new `assets/apps_script/Code.gs` and deploy a New version.
<!-- see docs/changelog/v1.1.0.md for the file format: Persian, then `---`, then English. -->
2
+
• مسیر `CodeFull.gs` برای Full mode کمی سبکتر شد: چند hot path در Apps Script با ساختن رشتهها و آرایههای کمتر اجرا میشوند تا فشار CPU/GC در batchهای پرترافیک کمتر شود. با تشکر از @brightening-eyes برای PR #1254.
3
+
---
4
+
• Make the Full mode `CodeFull.gs` path a little lighter: several Apps Script hot paths now allocate fewer strings/arrays, reducing CPU/GC pressure during high-traffic batches. Thanks @brightening-eyes for PR #1254.
<!-- see docs/changelog/v1.1.0.md for the file format: Persian, then `---`, then English. -->
2
+
• رگرسیون pipeline در Full mode که بعد از v1.9.28 میتوانست روی sessionهای idle درخواستهای خالی زیادی بسازد و quota چند deployment را سریع مصرف کند، اصلاح شد. مسیر keepalive دوباره backoff مرحلهای دارد و timer refill در حالت idle کمتر poll خالی میفرستد.
3
+
• جریان داده در Full mode پایدارتر شد: پاسخهای خالی قدیمی که قبل از شروع جریان داده queue شده بودند دیگر streak داده را قطع نمیکنند، بنابراین افت زودهنگام عمق pipeline و گیر کردن ویدیوها، مخصوصاً Instagram، کمتر میشود.
4
+
• default گزینه `block_stun` از این نسخه `false` است تا STUN/TURN به صورت پیشفرض اجازه داشته باشد؛ اگر میخواهید آن ترافیک را مسدود کنید، `block_stun: true` را صریحاً در config بگذارید. با تشکر از @yyoyoian-pixel برای PR #1309.
5
+
---
6
+
• Fix a Full mode pipeline regression introduced after v1.9.28 where idle sessions could generate too many empty polls and burn quota across multi-deployment setups. Keepalive polling now has staged backoff again, and idle refill timers schedule fewer empty polls.
7
+
• Make Full mode data flow steadier: stale empty-poll replies queued before data starts no longer break active data streaks, reducing premature pipeline-depth drops and video stalls, especially on Instagram.
8
+
• Change the `block_stun` default to `false`, so STUN/TURN traffic is allowed by default; set `block_stun: true` explicitly if you want to block that traffic. Thanks @yyoyoian-pixel for PR #1309.
0 commit comments