Skip to content

v0.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 18:30
· 45 commits to main since this release
67f1ae7

A test release for the signed update path (2.4.6, A1): the first release signed with the owner's minisign key. An installed copy built from main after PR #136 updates to it automatically.

Fixed

  • phoecord trust on Windows no longer says "trusted" when the CA was not added: certutil exits 0 even when its confirmation is declined or cannot be shown, so the store is now checked afterwards and the command fails with what to do.

Added

  • 2.2.8: phoecord launch --channel phoenix can load another mod's DLL next to PhoeCord's loader: --also-inject <DLL> (repeatable) or [phoenix] also_inject = [...] in config.toml, for example Sunbird's phoenix.dll, so both run in one Phoenix through PhoeCord's proxy. A missing file stops the launch. The loader now identifies the build by .text of Discord.exe on disk rather than in memory, so a mod that patched code first does not make a known build look unknown. And the proxy a Phoenix launch started now stops when that Phoenix exits, however it ends (closed, crashed, killed in Task Manager).

  • 2.3.2: two more built-in themes, themes/light.toml and themes/high-contrast.toml (every text colour at least 7:1), and phoecord theme import <vencord-theme.css>, which turns a Vencord theme's colour variables into a theme.toml and lists what does not carry over. Theme authoring: docs/plugins/themes.md. The palette field names are still PhoeCord's own until Phoenix's are known.

  • 2.4.2 (a): message sends and edits with files (multipart/form-data) reach plugins: they see payload_json as the body, and a change is written back with the same boundary, file names following attachments[].filename; file bytes are passed as they are. So ClearURLs, FakeNitro, TextReplace and the other send plugins now also work on messages with attachments. Bodies over 64 MiB stream through unread.

  • 2.4.2 (b): /phoecord serverinfo also lists your friends, blocked and ignored users who are in that server, like Vencord's tabs: one gateway op 8 per lookup with the ids from READY / RELATIONSHIP_* (at most 100), answered by a local message when the last GUILD_MEMBERS_CHUNK with PhoeCord's nonce is in; those chunks never reach the client.

  • 2.2.6 (second part): phoecord check also runs the typed locators of the hook targets (http_send, the allocator, the gateway registry) and prints what each found and how; for a Phoenix exe a locator miss fails the check.

  • 2.4.2 (c): MusicRichPresence reaches a self-hosted ListenBrainz-compatible instance: listenbrainzHost names it and fetch_hosts in the same [plugins.music_rich_presence] section allows it. fetch_hosts works for any plugin: exact host names the user adds to that plugin's fetch list in config.toml (a plugin cannot write it).

  • 2.4.2 (d): message context menu entries for UnsuppressEmbeds (toggle_embeds), ViewRaw (view_raw) and SilentDelete (silent_delete, silent_delete_history) against the frozen API; a click does what the /phoecord command does and answers with a local message only the user sees (commands::local_message). They show on Phoenix once 2.3.5 hooks the menu.

  • 2.1.10 (partial, was 1.1.9): scripts/scrub_fixture.py rewrites a decoded Gateway event into a fixture with no real data — every key, the nesting and each value's JSON type are kept, every string and every snowflake-shaped value (string or integer, keys included) is replaced with an invented one, and the Gateway envelope (op/t/s) and Discord's own type enums are left alone so a fixture stays loadable by event name; a shared --map file keeps a repeated id consistent across several fixtures from the same capture. tests/fixtures/README.md documents the capture-then-scrub workflow. The fixtures themselves are not recorded yet: that step needs a human with a throwaway account and a running client.

  • 2.4.2 (e): plugin settings are described for the settings tab. Plugin API v1 gets Manifest.settings (SettingSpec { key, kind, default, options, label }, SettingKind: bool, number, text, choice, list; additive), WASM packages declare [[setting]] in plugin.toml (checked: kind, default fitting the kind, a choice's options, no duplicates), and 40 built-in plugins carry 143 specs with English and Russian labels.

  • 2.3.1 / 2.3.4 (partial, not wired to a real Phoenix hook): themes/default.toml ships a starting-point theme with Discord's own published surface colours (field names are placeholders, not yet Phoenix's real palette fields — unknown, see 2.3.1's status); phoecord_loader::ui::message_logger::Accessory::for_message decides what a MessageRow::render wrap would show for a logged message (deleted, or edited with its history), pure and tested. Neither closes its task: the private phoecord-recon notes have no anchor yet for Phoenix's theme global or MessageRow::render — only the app-level render chain in docs/re/gpui-lifecycle.md is mapped.

  • 2.4.4: developer documentation for third-party plugin authors in docs/plugins/: a quick start in Rust and in TypeScript (from an empty folder to a package that loads, with the commands CI uses, phoecord install and phoecord dev watch / dev console), the event reference (every event, its fields, what Pass, Changed, Drop and Reply do for each, the events filter syntax, PHOECORD_TIMER, PHOECORD_LOCAL_DELETE, ui:menu_action), the rights with their Host methods, limits and what the user sees at install, publishing (package layout, every plugin.toml field, versioning and what the v1 freeze guarantees, the catalog, licensing) and localization (i18n/<lang>.ftl, Host::t, menu labels). Fixed while checking them against the code: the plugin.toml examples in docs/ARCHITECTURE.md and docs/_template/code/plugin.toml used rest_request:POST:/channels/*/messages (it loads and matches nothing: the filter is "METHOD route" with a space) and [settings.*] and [i18n] tables, which the parser refuses as unknown fields; CONTRIBUTING.md's "a new variant is minor" now says that the WIT is stricter.

  • 2.4.5: PhoeCord installs on all three systems from a release file and keeps itself up to date. Linux gets a .deb (Debian, Ubuntu, Mint) and an .rpm (Fedora, openSUSE) with the installer window, phoecord and a menu entry. The Windows setup now carries the loader (in loader\version.dll, never next to phoecord.exe), stops PhoeCord's proxy before it replaces files, and removing PhoeCord in Installed apps undoes setup first: CA trust, autostart, shortcuts, loader copies. Automatic updates: once a day an installed copy looks at this repository's GitHub Releases, downloads the installer for this system and installs it the next time the window or the background proxy starts, only when its SHA-256 matches the release's SHA256SUMS (drafts and prereleases are skipped; anything missing or different is refused). The window says what was updated; Settings has the switch ([update] auto in config.toml, on by default) and shows the last error. phoecord upgrade checks now; phoecord stop stops the running proxy. The check contacts GitHub, which sees your IP address.

  • 2.2.8: phoecord launch --channel phoenix picks Phoenix's transport before the client starts and injects the loader (CreateProcess suspended + QueueUserAPC, 2.1.7). It runs the loader's hook locators on Discord.exe on disk and keeps the result in phoenix-check.json in the data folder, keyed by the client's .text hash and a hash of the signature folder, so only a Phoenix update or a signature change re-runs the check. All or nothing per launch: with every network hook found Phoenix runs in-process and no proxy process is started at all; with any one missing the whole launch goes through the proxy and the loader does the UI only. A build the loader marks failed goes to the proxy until the signatures change. --transport auto|proxy|in-process and [phoenix] transport = "auto" in config.toml override the choice; macOS and Linux get the proxy and a plain launch. Today no build can run in-process yet (the gateway send hook, 2.2.4, and the in-process transport wiring, 2.2.7, are not there), so auto chooses the proxy and says why. The Phoenix shortcut is now "Discord Phoenix (PhoeCord)"; uninstall also removes the check cache.

  • 2.3.7 (automated part): the three degradation scenarios run as tests with fake locator results (crates/phoecord-loader/tests/degradation.rs): an unknown build is proxy only with the UI off, one broken signature or missing locator turns off only its own feature, and an Electron client is told apart from Phoenix. New: ClientKind::of (Phoenix by its DiscordPhoenix install folder) and Plan::all_in_process() (every entry point in-process, the all-or-nothing rule of 2026-11-26). The live run inside a Phoenix client is still open.

  • 2.2.2 (part 1, loader): a read-only inline detour on the REST transport's send (Windows x64, hooks::detour). A naked entry saves the argument registers, reads method, URL and body out of the request through ReadProcessMemory on the client's own process (hooks::abi: every field checked, a wrong layout is a refused read, not a crash), asks the plugin chain and jumps to the original send. A changed body or a local reply is logged and not applied yet; the poll swap waits for the response layout.

  • 2.2.4 (part 1, loader): a gateway_send locator for the outgoing frame encoder; Plan::from_hooks maps the Send entry point to it instead of refusing it outright.

  • 2.2.7: the in-process transport is all or nothing per launch (ruling 2026-11-26): it runs only when every entry point was found (Plan::all_in_process), otherwise every entry point passes the traffic and the proxy carries the launch. InProcessTransport::wants_request lets the send detour skip the body when no plugin looks at it. The loader logs the network plan of a Phoenix build and that an Electron client gets no network hooks.

  • 2.3.7 (automated part): the three degradation scenarios run as tests with fake locator results (crates/phoecord-loader/tests/degradation.rs): an unknown build is proxy only with the UI off, one broken signature or missing locator turns off only its own feature, and an Electron client is told apart from Phoenix. New: ClientKind::of (Phoenix by its DiscordPhoenix install folder) and Plan::all_in_process() (every entry point in-process, the all-or-nothing rule of 2026-11-26). The live run inside a Phoenix client is still open.

  • 2.1.9: the Phoenix reconnaissance report is complete. docs/research/phoenix-recon.md gets a section on the loading path (2.1.7, launcher injection) and a part 3: what stage 2.1 found, the decisions for 2.2–2.4 and what changed from the plan (launcher instead of sideload, a gateway registry built per instance instead of static tables, Sentry going around the proxy), the open questions by task and the risks. Lines the later findings had made stale are fixed. docs/ARCHITECTURE.md describes the in-process transport with launcher injection and the proposed UI hook points.

  • 2.2.5 (part 2): typed locators for the in-process transport's hook targets, each a masked AOB anchor from the private phoecord-recon notes, checked against Phoenix 0.1.0.2208 only. phoecord_loader::locators::http_transport::find locates ReqwestTransport::send's entry (the inline hook target hooks::found already asks for) and carries its struct size/alignment. locators::allocator::find locates __rust_alloc and __rust_dealloc together — both or neither, since a body freed through the wrong shim corrupts the host's allocation counter. locators::gateway::find locates the registry's builder/query function; the registry itself has no fixed table address (2.1.6), so this is what a 2.2.3 detour would hook. http_poll (the .rdata vtable slot of the response future's poll) stays open: the recon notes give the function's own address but not a .text site that refers to the slot, and this framework does not guess one. New: Pe::image_base and Image::find_ptr (an .rdata pointer scan, for when that anchor is found). Cross-build verification is task 2.2.9.

  • 2.2.10 (first part): phoecord signatures install <file or folder> checks signature tables and puts them where the Windows loader reads them at the next client start, without a new DLL; phoecord signatures list shows them. Where real tables are published, and downloading them, are still open.

  • 1.2.15: gif_provider_switcher (off by default): Tenor (default) or Giphy answer the GIF picker's search, suggestions, categories and trending calls instead of Discord's Klipy, with the keys Vencord ships; provider = "klipy" leaves the picker alone. If the provider fails, the call goes to Discord.

  • 2.4.3: the Plugin API v1 is frozen (API_VERSION = 1): from now on only additive changes. New in it: UI events for the Phoenix hooks, Event::Ui(UiEvent::MenuAction { entry, channel_id, message_id }) (a click on one of the plugin's message context menu entries, declared in Manifest.menu or [[menu]] in plugin.toml; WASM: one generic ui(ui-event { name, payload }) case, events = ["ui:menu_action"]), the dispatch name LOCAL_DELETE_EVENT (PHOECORD_LOCAL_DELETE) for the client's optimistic delete, Event::kind(), UiEvent::{name, to_val, from_val}, Chain::ui / ui_to. Event, EventKind, UiEvent, Verdict, Layer, Manifest, MenuEntry and HostResponse are #[non_exhaustive]; build the structs with Manifest::new, MenuEntry::new and HostResponse::new. begin_plugin and set_fetch_hosts moved from Host to the host-only ChainHost, which the chain takes. A host without a newer method now always answers Host::<name> is not supported by this host. wit/frozen/ holds the frozen WIT, and the runtime tests fail when wit/phoecord.wit would break plugins already built. Breaking for WASM packages built for 0.5 or earlier: the WIT gained the ui case, so they must be rebuilt with the current SDK (the runtime now says so instead of only reporting the type mismatch).

  • 1.2.14 / 1.2.15 (decisions, no code): USRBG and Decor wait for a Phase 2 UI hook; GifProviderSwitcher waits for the query string in plugin routes and may use the Tenor and Giphy keys Vencord ships.

  • 1.2.15 (API): Host::request_query() (WASM request-query, always allowed) gives a plugin the raw query string of the REST call it is handling, so it can read GET /gifs/search?q=…; Event routes stay the path alone, so wants matching is unchanged. phoecord_core::route::split_query and query_pairs (form decoding) help read it. Wired in the proxy and in the loader's REST bridge. Additive, Plugin API stays v1: plugins built before it load and run unchanged.

  • 2.2.6 (first part): phoecord check <exe> [--signatures <dir>] reads a client executable without running it, picks the signature table of its build and prints each signature as found, missed or ambiguous with its RVA; the exit code is 1 unless every one is found. Typed locators and the CI job on private dumps are still open.

  • 2.1.7: phoecord dev inject <exe> [--dll <path>] [-- args...], a developer tool that starts a process suspended and loads a DLL into it before it runs any of its own code (phoecord_loader::inject: CreateProcess suspended + QueueUserAPC + LoadLibraryW + ResumeThread) — how Phoenix is reached, since it imports no DLL this loader could sideload. Live-confirmed with PhoeCord's own loader on a real Phoenix process: DllMain and the worker ran, detected the build and degraded cleanly (no signature table for it yet, UI layer off), no crash. A third-party tool already on the owner's machine had shown the same method working first, in 858 ms. Wiring this into phoecord launch's normal path is 2.1.1/2.2.8.

  • 2.2.11: the loader checked against Discord Canary 1.0.1364 — one worker per start, hash matches, loader connected logged, clean uninstall; detection measured at ~130 ms, over the 20 ms target.

  • 2.1.1: phoecord launch --channel phoenix starts Desktop Phoenix (Windows) through the PhoeCord proxy with --proxy-server, and phoecord paths shows its install folder and build (Phoenix …\DiscordPhoenix\app (0.1.0.2208), or "not found" in English and Russian). Discovery finds %LOCALAPPDATA%\DiscordPhoenix\app\Discord.exe and reads the build from the executable's version resource without loading it (Phoenix has no app-x.y.z folder). Phoenix is started only when named: a bare phoecord launch and setup do not count it, so a machine that gets Phoenix behaves as before. Plain launch only, no injection (that is 2.1.7); the installer window now lists a Phoenix client too. Linux and macOS locations are not known and not searched. The update scheme (in-place replacement of app\, inferred from the setup log and the installer, no update observed yet) is written up in docs/research/phoenix-recon.md. 2.1.1 moves from buslan to Nanda.

  • 2.1.7: Phoenix is reached by launcher injection (CreateProcess suspended + QueueUserAPC + LoadLibrary), not passive version.dll sideload; live-observed (via a third-party tool, not yet PhoeCord's own loader) hooking a real Phoenix process in 858 ms, before the client reports ready, with no crash and normal account traffic afterward. Ruling and docs/ARCHITECTURE.md updated; PhoeCord's own loader on this path is still to build.

  • 2.1.5, 2.1.6 (static analysis only, Phoenix not run): the HTTP transport's send, its vtable, the request layout and the allocator shims were located; an outgoing Gateway send path and READY's special handling in the connection loop were found; the event registry turned out to have no fixed address — it's a per-instance tree-shaped structure built at runtime. Addresses, byte signatures and structure offsets are kept in the team's private recon notes, not in this repo; open for 2.2.2: the response layout. 2.2.2 and 2.2.3 are reassigned from Nanda to ken, who already owns 2.2.7 (which calls them); 2.2.1 now has 10 named hook targets in the Ghidra project.

  • 2.2.7 (second part): the in-process transport in the loader. phoecord_loader::transport runs an entry point only when the degradation plan says so (a response hook without a request hook stays with the proxy), queues what plugins send to the client until the dispatch hook takes it, counts and logs what cannot be delivered, and fires plugin timers on its own thread. No detour calls it yet.

  • 2.2.2, 2.2.3 (loader, structure only): typed Found<T> locators for the HTTP transport send/poll and the Gateway registry, a panic-guarded HookRuntime that bridges hook entries to Engine::on_request, on_response and on_dispatch, and per-hook degradation when a signature is missing or invalid. The detours themselves follow the 2.1.5-2.1.7 findings.

  • 2.1.2 (tool): phoecord dev inspect-pe <exe> reads a PE executable without loading it and prints the imported and delay-loaded DLLs (sideload candidates such as version.dll and winhttp.dll marked), DllCharacteristics, the Load Configuration DependentLoadFlags, TLS callbacks, whether CLR metadata is present, and each section's virtual address and raw offset for AOB scans; --functions lists imported function names. Uses the object crate (already in the tree). The findings still go into docs/research/phoenix-recon.md.

  • 2.1.3 / 2.1.4 / 2.3.7 (method, and Windows results on Phoenix 0.1.0.2208: --proxy-server and the system proxy are honoured, HTTPS_PROXY is not, a PhoeCord CA in the system store is accepted, the gateway is JSON with zstd-stream): docs/research/phoenix-recon.md with the steps for proxy behavior (HTTPS_PROXY, system proxy, system CA store, root set or pin), the gateway capture (a mitmproxy addon that saves server frames only) and the degradation scenarios.

  • 2.2.7 / 2.3.7 (preparation): the degradation plan. phoecord_loader::plan takes the locator results for a client build and decides which Engine entry points run in-process and which stay with the proxy, and which UI features are on, with the reason for each; an unknown build is proxy only without UI. Tested with fake locator results on every OS; not wired to hooks yet.

  • 2.3.1 (first part): the theme file format. phoecord_loader::theme reads theme.toml (name and a flat [colors] table of palette field name → colour; #rgb, #rgba, #rrggbb, #rrggbbaa, rgb()/rgba(), hsl()/hsla()) into GPUI-style Hsla values, skipping and reporting bad entries, and ThemeWatcher reloads the file when it changes (2 s poll) or reports it removed. Nothing is applied to Discord yet: the palette hook and a default theme need the Phoenix reconnaissance (stage 2.1).

  • 2.2.5 (first part): the typed locator framework in phoecord_loader::locators. A locator returns Found<T> (the value and how it was found) or a LocatorError (Missing, Ambiguous { count }, Bad): exactly one match or nothing, never a guess. Image reads .text, .rdata and the .pdata function table of a loaded image; CallIndex, built once and shared, records call rel32 targets and RIP-relative lea / mov loads; exactly_one, winner (the best must beat the runner-up by a factor) and string anchors build locators from them. The locators for the hook targets need the stage 2.1 findings and come in part 2.

  • 1.3.9: phoecord dev console attaches to the running proxy and shows, live, every plugin's log lines and every event a plugin ran (REST and Gateway) with the plugin's verdict and time taken; --filter TEXT keeps events whose name or route contains the text, --plugin ID one plugin. Commands: plugins, toggle, reload (a WASM package from its folder, the old version keeps running if the new one is broken), settings, kv, events, replay <event> <plugin> (the last such event into one plugin, a dry run: what it queues is not delivered), filter, plugin. The endpoint is /__phoecord/dev on the proxy's own listener, for loopback peers with the per-start token in dev-token in the data folder (Unix: owner-only). Nothing is copied while no console is attached. Plugin API unchanged.

  • 1.3.10: fast hot reload. A changed, added or removed plugin.wasm, plugin.toml or i18n/*.ftl in plugins/ is picked up at once through file-system notifications (50 ms debounce) instead of the 2 s scan; if notifications fail, the 2 s scan is back. phoecord dev watch <plugin source folder> builds the plugin for wasm32-wasip2, installs it into plugins/<id>/ and rebuilds on every source change (--plugins-dir, --once). Replacing plugin.wasm of examples/plugins/clear_urls is live in the proxy in 117–154 ms (Windows, release).

  • 1.3.11: the plugin catalog. catalog/plugins.json (checked by catalog/plugins.schema.json and a CI test; entries are added by reviewed pull request, see catalog/README.md) lists community WASM plugins with download link, SHA-256 and rights. phoecord install <id|https link|path>, phoecord update [id], phoecord remove <id> and phoecord catalog (--yes skips the rights question; uninstall stays the undo of setup), and a Catalog list in the installer window's Plugins tab, install and update through the same staging and rights dialog. A download whose hash is not the listed one, or a package whose id, version or rights differ from its entry, is refused before anything is installed. Updates are offered only for packages installed from the catalog; the index is read from the main branch on GitHub (PHOECORD_CATALOG_URL overrides it). The package code moved from the installer window into the new phoecord-catalog crate. The index ships empty: no community plugin has a published, hashed download yet.

  • 1.3.6: the plugin SDK. phoecord-plugin-sdk re-exports the guest bindings and adds a Plugin trait, the #[phoecord::plugin] attribute and Tree / Outcome helpers; examples/hello-plugin logs every MESSAGE_CREATE and has its own CI job.

  • 1.3.7: a TypeScript plugin template, examples/hello-plugin-ts: the same plugin as the Rust example, built with componentize-js (types from jco guest-types, esbuild bundle, WASI features off so the component imports only host), with src/tree.ts helpers for the value tree; loaded and checked by an ignored runtime test that the new typescript-template CI job runs. A JavaScript component is about 12 MB and is compiled on every load (about 17 s in release on a desktop PC), so it starts much slower than a Rust plugin.

  • 1.2.15: dearrow (calmer YouTube embed titles from DeArrow; its thumbnails with replaceElements = 0) and fix_images_quality (original image attachments with originalImagesInChat), both off by default. GifProviderSwitcher is blocked on query strings in plugin routes.

  • 1.2.14 (first half): no_profile_themes and fake_profile_themes, off by default. The first removes other people's Nitro profile theme colours; the second reads colours hidden in a bio as invisible text and applies them (marking the profile as Nitro, as Vencord does; setting nitroFirst). USRBG and Decor (banner and decoration images on Discord's CDN) are not done yet.

  • 1.5.5: the loader reports to the proxy. phoecord run / launch open a per-user Windows named pipe (\\.\pipe\phoecord-<SID>, only your Windows user may connect, no remote clients) and log one line per loader that connects: loader connected: build …, hash …, UI layer off (no signatures). The loader (version.dll) sends its version, the client build and .text hash and whether the UI layer is on, retries five times in the background and gives up quietly when no proxy runs (one line in loader.log). The protocol (JSON lines, 64 KiB cap) also carries settings for the loader (the [loader] table of config.toml) and UI events, for Phase 2. No effect on macOS and Linux.

  • Plugin timers: Host::schedule(after_ms, tag) and Host::cancel_schedule(tag) (also WASM imports schedule / cancel-schedule); a due timer is a PHOECORD_TIMER dispatch to the scheduling plugin only. Additive, Plugin API stays v1. Needed by the 1.2.19 userplugins with delayed loops.

  • Host::fetch_with(method, url, headers, body) (WASM fetch-with, same fetch right): fetch with the plugin's own headers, credential and hop-by-hop names refused; fetch host entries may be *.example.com (exactly one extra label). Additive, Plugin API stays v1.

  • 1.2.19: network parts of the owner's userplugins FakeDeafen (/phoecord fakedeafen), FollowUser (/phoecord follow, unfollow), FakeDeafenDetector (/phoecord flagged; detection needs a voice SPEAKING feed the proxy does not see yet), AntiRickroll (/phoecord rickrolls), localDevBadges (badges on your own profile, local only), VoiceChatUtilities (/phoecord vcu), rmcord (/phoecord rmcord), SilentDelete (/phoecord silentdelete, silentpurge) and QuestMaster (/phoecord quests; game and stream paths emulated on the wire, ACHIEVEMENT bypass through *.discordsays.com), ported 1:1 from the owner's scripts, all off by default.

  • 1.7.4: Host::t(key, args), a plugin's own strings in the user's language (additive, Plugin API stays v1; a host without bundles returns the key). Lookup: the plugin's bundle in the language of --lang, then config language, then the OS, then its English bundle, then the key. WASM packages ship i18n/<lang>.ftl next to plugin.toml (loaded with the package and on hot reload; WIT host.t, no right needed); built-in plugins ship crates/phoecord-plugins/i18n/{en,ru}/<plugin id>.ftl. The notifications of RelationshipNotifier, BetterSessions and VcNarrator and the /phoecord answers (plugins, toggle, sessions, "plugin is off") now appear in Russian with language = "ru". check_i18n.py also checks that every plugin bundle has its ru twin and is registered. The installer window keeps a package's i18n/<lang>.ftl when it installs from a file, a drop or a link (at most 16 files of 256 KB each); the runtime skips a .ftl over 256 KB. The other plugins' /phoecord answers stay English for now.

  • unindent plugin: code blocks you send or edit lose the indentation shared by all their lines (stage 1.2.2).

  • 1.2.12: command plugins, all off by default: CustomCommands (/phoecord tags, /phoecord tag: text snippets with {{arg=default}} arguments, sent or shown only to you), FriendInvites (/phoecord create-friend-invite, view-friend-invites, revoke-friend-invites), petpet (/phoecord petpet: a headpat GIF of an avatar or a Discord-hosted picture, uploaded to the channel), SpotifyShareCommands (/phoecord track, album, artist: the link of what you are listening to), and the data parts of ServerInfo (/phoecord serverinfo), ViewRaw (/phoecord viewraw: raw JSON of a message, channel, server, role or user) and UnsuppressEmbeds (/phoecord unsuppress). For plugin authors: commands::invocation reads a /phoecord call with its channel, and commands::kept_answer shows the answer a plugin computed as itself; an empty answer shows nothing. The plugins crate now depends on image (PNG, JPEG, GIF).

  • 1.2.13: presence plugins, all off by default, working on the presence the client sends (identify and op 3): AutoDNDWhilePlaying (shows statusToSet, default Do Not Disturb, while a "Playing" activity is on; your status setting itself is not changed), IgnoreActivities (Vencord's filter: listMode, idsList, the ignore* switches, ignoredActivities; /phoecord activities, /phoecord ignoreactivity), CustomIdle (idleTimeout 0 = never idle or above 10 minutes, remainInIdle with /phoecord exitidle), CustomRPC (Vencord's settings, images by asset name or link; /phoecord rpc) and MusicRichPresence (Last.fm or ListenBrainz now playing every 16 s). For plugin authors: presence.rs finds the presence in identify and op 3, and Owned adds one activity of a plugin's own without stacking copies.

  • 1.2.17: data parts, all off by default: Translate (/phoecord translate for a text or a message, autoTranslate / /phoecord autotranslate for what you send; Google, as in Vencord; DeepL and Kagi fall back to Google because they need Authorization / Cookie headers), ReviewDB (/phoecord reviews reads a user's reviews; writing needs the ReviewDB token header) and VoiceMessages (/phoecord voicemessage sends an Ogg Opus file from Discord's CDN as a voice message with duration and waveform). XSOverlay is not ported: it needs a local UDP or WebSocket right the Plugin API does not have, and none is planned.

Changed

  • 2.4.5: TERMS.md §4 and §6 (and TERMS.ru.md) now describe the automatic updates (daily check of GitHub, signed SHA256SUMS, install at next start, how to turn off) and how to verify a hand-downloaded file with minisign.
  • 2.4.5: Windows has one installer, the setup .exe; the .msi is no longer built (a setup run over a 0.5 .msi install offers to remove it). Releases are published only after every file is uploaded.
  • macOS: the minimum is now macOS 13 (Ventura), because the client is started with open --env, which macOS 13 added. Macs on macOS 11 and 12 cannot install 0.5.1.
  • Host::emit_send from a REST event (for example a /phoecord command) or a timer goes to the live gateway connection at once instead of being lost; every plugin-queued send passes the Send chain once.
  • The per-plugin Host::rest limit allows bursts: 5 calls per 5 s (was 1 per second); a refusal says retry in X s. The 5/s overall cap and Discord's buckets are unchanged.
  • 1.5.8: the loader (version.dll) is cheap: Electron child processes (--type= on the command line) get export forwarding only, no worker, and the main process identifies the client build from the exe already mapped in memory instead of reading the whole file (about 140 ms and 224 MB per process before); the log line client build: … now ends with the detection time in ms. The .text hash is unchanged, so existing signatures/*.toml keep matching.

Fixed

  • /phoecord petpet, serverinfo, viewraw, the Spotify share commands and tags / tag always answered "did not run": PetPet, ServerInfo, ViewRaw, SpotifyShareCommands and CustomCommands were built but never put in the plugin chain, where their answers are computed. A test now checks every plugin behind a kept_answer command.
  • Twelve data parts from 1.2.16 (MemberCount, MessageLinkEmbeds, ReadAllNotificationsButton, PauseInvitesForever, PlatformIndicators, UserVoiceShow, TypingIndicator, VcNarrator, NewGuildSettings, ValidReply, ValidUser, OverrideForumDefaults) read gateway dispatches as bare data while the proxy hands plugins the whole {op, t, d} frame, so they saw nothing in a real session; they now read d through state::dispatch_data, with a real-frame test each.
  • macOS: Discord started by PhoeCord could not read its own data ("Operation not permitted", installer.db could not be opened, the updater showed "Installation paused"), because as a child of PhoeCord.app it was treated as PhoeCord.app reaching into another app's data. A .app client is now started through LaunchServices (open -n -a <Discord>.app --env ... --args --proxy-server=...), so it is its own process. Windows and Linux are unchanged.
  • macOS: the downloaded PhoeCord.app said "damaged and can't be opened". The app is now ad-hoc signed after packaging and the .dmg is refreshed with the signed copy (scripts/package/sign-macos.sh); the installers job checks the signature with codesign --verify. macOS now shows the ordinary "unidentified developer" prompt with Open Anyway.
  • Release notes start with "Which file do I download?" and the macOS note has the xattr -dr com.apple.quarantine fallback.
  • phoecord with no command no longer silently starts the proxy: it prints what PhoeCord is and the main commands (English and Russian) and exits. Autostart (launchd, systemd, Run key), shortcuts and the installer window already pass run or launch, so entries written by 0.5.0 keep working without a rewrite.

Security

  • 2.4.6, audit finding A1: automatic updates need the owner's signature. A release's SHA256SUMS is signed with an offline minisign key (SHA256SUMS.minisig, trusted comment phoecord <version>), the public key is built into PhoeCord, and an update whose list is unsigned, signed with another key or signed for another version is refused. CI leaves releases as drafts; the owner publishes them after signing (scripts/sign-release.ps1; the key is made once with scripts/new-update-key.ps1). The public key (ID CC88851881F300F5) is in crates/phoecord-installer/update-key.pub.
  • 2.4.6 audit: ca.key and dev-token are set owner-only on every write on Unix, not only when created; Host::rest refuses dot segments written with %2e in any mix. Findings and what stays open: SECURITY.md, "Audit".

Which file do I download?

  • Windows: PhoeCord_<version>_x64-setup.exe.
  • Mac with Apple Silicon (M1 and newer): PhoeCord_<version>_aarch64.dmg.
  • Intel Mac: PhoeCord_<version>_x64.dmg.
  • Debian, Ubuntu, Mint: PhoeCord_<version>_amd64.deb (sudo apt install ./PhoeCord_<version>_amd64.deb).
  • Fedora, openSUSE: PhoeCord_<version>_x86_64.rpm (sudo dnf install ./PhoeCord_<version>_x86_64.rpm).
  • phoecord-* archives: the command-line tool, for advanced users and other Linux distributions. Most people want the installer above.

Updating

An installed PhoeCord checks for a new release once a day, downloads it, checks it against SHA256SUMS and the owner's signature SHA256SUMS.minisig, and installs it the next time the PhoeCord window or its background proxy starts (on Linux, the window asks for your password). Turn this off in the window's Settings, or with [update] auto = false in config.toml. To update by hand, install the new file over the old one; the command-line archives are never updated automatically.

Before you install

These builds have no publisher certificate (the Mac app is only ad-hoc signed). Check them against SHA256SUMS before you run them. SHA256SUMS itself is signed with the owner's minisign key: with minisign installed, minisign -Vm SHA256SUMS -p update-key.pub (the key is crates/phoecord-installer/update-key.pub in the repository) must print "Signature and comment signature verified" and phoecord <version>.

  • Windows: SmartScreen shows "Windows protected your PC". Click More info, then Run anyway. Verify a file with Get-FileHash .\<file> -Algorithm SHA256 and compare it with the line in SHA256SUMS.
  • macOS: Gatekeeper blocks the app on first start. Right-click it, choose Open, then Open again. If macOS still refuses, open System Settings, Privacy and Security, scroll to the message about PhoeCord and choose Open Anyway. As a last resort, run xattr -dr com.apple.quarantine /Applications/PhoeCord.app in Terminal.
  • Linux and anything else: put the files and SHA256SUMS in one folder and run sha256sum -c SHA256SUMS --ignore-missing.