Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

fix: keep emoji out of the App Store's What's New

leepokai50f57967dbe5
diff --git a/apps/ios/WhatsNew.md b/apps/ios/WhatsNew.md
index 039b1359..11b0d3c1 100644
--- a/apps/ios/WhatsNew.md
+++ b/apps/ios/WhatsNew.md
@@ -1,7 +1,8 @@
<!--
App Store "What's New" for the iPhone app. Write it in the change that bumps the version:
a `## <version>` section with one `### <locale>` per App Store language (zh-Hant, en-US),
-listing what iPhone users notice. tools/asc-submit.py reads the released version's section;
+listing what iPhone users notice, without emoji (the App Store rejects them; asc-submit.py drops
+any left). tools/asc-submit.py reads the released version's section;
a version without one gets a generic "Bug fixes and improvements" line. Delete old sections.
-->
@@ -9,12 +10,12 @@ a version without one gets a generic "Bug fixes and improvements" line. Delete o
### zh-Hant
-- Bot 會用表情符號回應你的訊息:道謝時回一顆 ❤️,好消息回 🎉。群組裡的 Bot 之間也會互相按表情。
+- Bot 會用表情符號回應你的訊息,例如你道謝或分享好消息的時候。群組裡的 Bot 之間也會互相按表情。
- 記憶裡太長的內容會先收合成幾行,點一下就能看全文。
- 當機報告更完整,讓我們更快找到並修正 App 閃退的問題。
### en-US
-- Bots react to your messages with emoji: a ❤️ when you say thanks, a 🎉 for good news. In groups, bots react to each other too.
+- Bots react to your messages with emoji, like when you say thanks or share good news. In groups, bots react to each other too.
- Long memories fold to a few lines; tap one to read it all.
- More complete crash reports, so we can find and fix crashes faster.
diff --git a/tools/asc-submit-test.py b/tools/asc-submit-test.py
index b98b9772..19cd22c3 100644
--- a/tools/asc-submit-test.py
+++ b/tools/asc-submit-test.py
@@ -3,6 +3,7 @@
import importlib.util
import pathlib
import sys
+import tempfile
import types
sys.modules.setdefault("jwt", types.ModuleType("jwt"))
@@ -30,6 +31,13 @@ assert asc.pr_notes(prs, {"a", "b", "c"}) == {
assert asc.pr_notes(prs, {"c"}) == {}
print("ok")
+# WhatsNew.md loses its emoji too: v2.19.2's ❤️ and 🎉 failed the submission after 2.19.1 was pulled back.
+with tempfile.TemporaryDirectory() as tmp:
+ asc.NOTES = pathlib.Path(tmp, "WhatsNew.md")
+ asc.NOTES.write_text("## 2.19.2\n\n### en-US\n\n- Bots react with a ❤️ or a 🎉\n\n## 2.19.1\n\n### en-US\n\n- Old\n")
+ assert asc.release_notes("2.19.2") == {"en-US": "- Bots react with a or a"}, asc.release_notes("2.19.2")
+print("ok")
+
# Release history: v2.2.3 changed only the Mac app, host and website; v2.3.1 changed kit/.
assert not asc.ios_changed("v2.2.2", "v2.2.3")
assert asc.ios_changed("v2.3.0", "v2.3.1")
diff --git a/tools/asc-submit.py b/tools/asc-submit.py
index 91a0f766..a2051433 100755
--- a/tools/asc-submit.py
+++ b/tools/asc-submit.py
@@ -59,8 +59,9 @@ def ios_changed(base, tag):
def release_notes(version):
- """{locale: text} from the `## <version>` section, split by `### <locale>` headings."""
- text = NOTES.read_text() if NOTES.exists() else ""
+ """{locale: text} from the `## <version>` section, split by `### <locale>` headings, without
+ emoji (the App Store rejects them)."""
+ text = EMOJI.sub("", NOTES.read_text()) if NOTES.exists() else ""
section = re.search(rf"^## {re.escape(version)}\s*$(.*?)(?=^## |\Z)", text, re.M | re.S)
if not section:
return {}