Skip to content

Releases

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 18:30
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 (...

Read more

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 12:30

Added

  • 1.2.16: data parts of 17 plugins with an on-screen part, all off by default: ValidUser, ValidReply, MessageLinkEmbeds, NewGuildSettings, OverrideForumDefaults (traffic fixes and settings), PauseInvitesForever, ReadAllNotificationsButton (commands), PlatformIndicators, TypingIndicator, UserVoiceShow, VcNarrator, MemberCount, BetterSessions, ImplicitRelationships, MutualGroupDMs, WhoReacted, MessageLatency (collected state shown by /phoecord commands or notifications). Shared trackers for them in phoecord-plugins/src/state.rs, FnCmd for closure commands. Their on-screen parts come in Phase 2.

  • 1.2.18: data parts of ShowHiddenChannels (/phoecord hidden), ShowHiddenThings (/phoecord hiddenthings) and Experiments (/phoecord experiments), off by default. The READY rewrites (hidden channels in the list, the STAFF flag) sit behind their own extra settings, also off, because they are the most ban-prone changes in the project.

  • 1.4.5: releases. A v* tag (pushed by the owner) runs .github/workflows/release.yml: the phoecord CLI for Linux x86_64, Windows x86_64 (with the loader as version.dll) and macOS arm64 and x86_64, each archived with LICENSE, NOTICE, LICENSES/ and the terms, plus the native installers from package.yml, one SHA256SUMS over every file, and a GitHub release whose notes are the version's CHANGELOG section and a note on unsigned builds (SmartScreen, Gatekeeper, how to verify the checksums). A tag with - makes a prerelease; the run stops when the tag does not match the version in Cargo.toml; a manual run is a dry run. package.yml no longer runs on tags itself: release.yml calls it. Release rules in GOVERNANCE.md, failures and antivirus warnings in RUNBOOK.md.

  • 1.5.6: phoecord setup --loader (Windows) installs the native loader as version.dll into the newest app-x.y.z folder of the chosen Discord; every phoecord launch and autostart (phoecord run) puts it back after a Discord update moves the client to a new folder. A version.dll from another program is never overwritten (ownership by SHA-256 recorded in install.log), and phoecord uninstall removes every copy PhoeCord made, old app folders included, and nothing else. On macOS and Linux the option reports that it is Windows-only. English and Russian.

  • 1.4.3: the installer window phoecord-installer (English and Russian): terms of use first, Discord clients with a live status and one main action (install, add, open), repair and uninstall with step-by-step progress, and a Plugins tab that installs WASM packages from a file, a dropped file or an HTTPS link after showing their events and rights in plain words, switches them and removes them. Garnet theme, animated tabs, dialogs, switches and progress, with a reduce-motion setting; --dry-run keeps every change in a sandbox folder. A Discord installed somewhere else is added with "Choose folder…" (kept in clients in config.toml, also used by launch and setup); when no Discord is found the window says where it looked. Built-in plugins are not listed in the window: they will be managed inside Discord. It ships as a native installer: a setup .exe and an .msi on Windows, PhoeCord.app in a .dmg on macOS (unsigned), with its own icon, an opening animation, a short first-start onboarding (what PhoeCord does, the terms, which Discord, done) and the repository link in About. LICENSE, NOTICE and LICENSES/ ship as files in every installer (next to the executables on Windows, in Contents/Resources of the .app).

  • 1.1.11: upstream = "socks5://host:port" or "http://host:port" in config.toml sends every outgoing connection of the proxy (intercepted REST and Gateway, and tunnelled) through a SOCKS5 or HTTP-CONNECT proxy, for VPN and zapret users; a dead or refusing upstream gives a clear error; phoecord selftest honours it.

  • 1.2.9: phoecord import-vencord [--path FILE] finds the settings of Vencord, Vesktop or Equicord and switches on the PhoeCord plugins whose Manifest::vencord matches an enabled Vencord plugin (English and Russian).

  • Stage 1.1 core refactor: the proxy, REST and Gateway run through Plugin API v1 and Chain; ProxyHost provides scoped settings, KV, account state and notifications. The phoecord CLI now has run, launch, setup, trust, untrust, plugins, enable, disable, toggle, paths and selftest.

  • Cargo workspace of 8 crates: core, proxy, plugin-runtime, plugin-sdk, plugins, loader, installer, cli.

  • Plugin API v1 (phoecord-core::plugin): Manifest, Event, EventKind, Verdict, Host.

  • Plugin chain phoecord-plugin-runtime::Chain: the first Drop/Reply stops the chain.

  • AOB signature scanner in phoecord-loader (?? masks, ambiguous matches rejected).

  • Docs: README, ARCHITECTURE, ROADMAP, CONTRIBUTING, SECURITY, AGENTS; docs/ index, code map, governance, runbook, secrets, support, project map; templates for plans, incidents, releases, release checks and rulings; the Phase 1 plan.

  • scripts/check.sh / check.ps1 (all checks), scripts/gen_tasks.py (TASKS.md), scripts/gen_decisions.py (docs/DECISIONS.md).

  • Issue and PR templates; CI on Linux, Windows and macOS plus an MSRV job.

  • Localization planned: English first, Russian next (ROADMAP 1.7).

  • phoecord-i18n: Fluent localizer with English and Russian bundles, fallback ru → en → key, OS language detection (stage 1.7.1).

  • scripts/check_i18n.py: fails when a Russian translation is missing a key or a variable; part of check.sh and CI (stage 1.7.5).

  • phoecord-loader builds as a proxy version.dll: lazy export forwarding to the system DLL, a DllMain that only starts a worker, client build detection (file version + .text SHA-256), signatures/*.toml with unique AOB matches and RIP resolution, inline detours with removal on unload (stages 1.5.1-1.5.4).

  • silent_typing plugin: your typing indicator is never sent (stage 1.2.1).

  • clear_urls plugin: strips tracking parameters (utm_*, fbclid, gclid, si on YouTube and Spotify, …) from links in messages you send or edit; extra rules in [plugins.clear_urls] extra_rules (stage 1.2.7).

  • docs/research/gpui.md: GPUI map, a release + LTO reference build (research/gpui-reference), anchors that survive in a stripped binary, and ranked hook candidates (palette, settings tabs, message row) for Phase 2 (stage 1.6).

  • Plugins game_activity_toggle, relationship_notifier and fake_nitro (emoji part), all off by default (stages 1.2.3-1.2.5).

  • message_logger plugin and phoecord log: deleted and edited messages stay visible and are written to messages.jsonl (stage 1.2.6).

  • /phoecord plugins and /phoecord toggle <id> slash commands, answered locally (stage 1.2.8).

  • Plugin API (minor, API_VERSION stays 1): RestResponse.body is mutable; new Host methods emit_dispatch, plugin_enabled, set_plugin_enabled, append_data.

  • Installer library: client discovery on 3 OSes, CA + autostart install with an install log, full rollback (stages 1.4.1, 1.4.2, 1.4.4; not wired to the CLI yet).

  • WASM plugin runtime: wit/phoecord.wit, wasmtime 38 backend behind the same Chain, 5 ms / 32 MiB limits, plugin packages (plugin.toml + plugin.wasm, events and rights) with reload (stages 1.3.1-1.3.5).

  • WASM plugins: a slow event costs a strike (3 in a minute disable the plugin) instead of disabling it at 5 ms; new rights emit_dispatch, plugins, data; plugin packages copied into or removed from plugins/ load and unload without a restart, and phoecord run now loads them (stage 1.3.4).

  • Issues are the place for every problem; leaks of personal data or secrets go privately to nandak070 on Discord (SECURITY.md). The README shows contributors automatically.

  • phoecord setup now runs the installer library (CA, trust and autostart, logged in install.log), and phoecord uninstall undoes it (stages 1.4.2, 1.4.4).

  • Language setting: phoecord --lang ru, language in config.toml, or the OS language; setup, uninstall and paths already speak Russian, the rest of the CLI follows in 1.7.3 (stage 1.7.2).

  • The whole CLI speaks Russian, --help included (stage 1.7.3).

  • Terms of use (TERMS.md, TERMS.ru.md, version 1): phoecord setup shows them and installs nothing until you type yes (да); a new version asks again (stage 1.4.7).

  • Plugins i_love_spam, no_blocked_messages and no_reply_mention, off by default (stage 1.2.10); ImageLink and NoPendingCount are UI-only and move to Phase 2.

  • Plugins text_replace, send_timestamps, anonymise_file_names and silent_message_toggle with /phoecord silent, off by default (stage 1.2.11); BetterGifAltText is UI-only and moves to Phase 2.

  • The first third-party plugin example: clear_urls as a WASM package in examples/plugins/clear_urls/, loaded without a restart (stage 1.3.8).

  • phoecord launch --channel stable|ptb|canary (no silent default to Stable); launch reuses a running proxy; setup --channel adds a Start-menu shortcut that starts that Discord through PhoeCord; uninstall stops a running proxy and removes PhoeCord's own CA files (stage 1.4.8).

  • Plugins can call Discord's API as your own client session (Host::rest, rate-limited) and outside HTTPS hosts they list (Host::fetch, fetch = [...] in plugin.toml); the session header stays in memory only (stage 1.1.13).

  • Plugin API (minor, API_VERSION stays 1): HostResponse.bytes (raw non-JSON answers, e.g. images) and Host::rest_files (upload files to Discord as the client does); both reach WASM plugins through wit/phoecord.wit (right rest). Unblocks petpet (1.2.12) and USRBG / Decor (1.2.14).

  • setup trusts a recreated local CA (it compares fingerprints with the trust store), and run/launch warn when the CA is not trusted (stage 1.4.9).

Removed

  • Docs: PROJECT_MAP.md, SUPPORT.md, SECRETS.md (merged into GOVERNANCE.md), TASKS.md ...
Read more