Releases: OpenPeerX/Peerx-Web
Release list
PeerX v0.1.0 — Initial brand launch
PeerX v0.1.0 — Initial brand launch
The first tagged release of PeerX (formerly SwapTrade). This tag marks the
completion of a wide-ranging brand migration across the entire codebase and is
recommended as a known-good baseline for new collaborators.
How to pin to this baseline
git checkout v0.1.0
Highlights
- Full rebrand from SwapTrade → PeerX across source, copy, configuration,
storage keys, cookies, env vars, and documentation. - 191 commits on
main, with original authorship preserved for all 36
historical contributors. - Local repo size 1.8 MB (was ~22 MB after an accidentally committed
stripe.exebinary — now removed from history and blocked by.gitignore). - Brand-portfolio consistency:
- Package:
swaptrade-frontend→peerx-web - Primary domain:
swaptrade.com→peerx.com - API domain:
api.swaptrade.com→api.peerx.com - Discord handle:
discord.gg/swaptrade→discord.gg/peerx - Telegram handle:
t.me/swaptrade→t.me/peerx - Sender email:
noreply@swaptrade.com→noreply@peerx.com
- Package:
Configuration changes
If you maintain a .env, update the following variables:
| Old | New |
|---|---|
SWAPTRADE_SQLITE_PATH |
PEERX_SQLITE_PATH |
SWAPTRADE_DATA_DIR |
PEERX_DATA_DIR |
SWAPTRADE_DATA_KEY |
PEERX_DATA_KEY |
Other identifiers that changed (no action needed unless you have local data
keyed by the old name):
| Layer | Old key | New key |
|---|---|---|
| CSRF cookie | __Host-swaptrade-csrf |
__Host-peerx-csrf |
| localStorage UID | swaptrade_user_id |
peerx_user_id |
| localStorage A/B | swaptrade_ab_* / swaptrade_ab_uid |
peerx_ab_* / peerx_ab_uid |
| localStorage notif | swaptrade_notification_prefs |
peerx_notification_prefs |
| Cookie (consent) | swaptrade_analytics_consent |
peerx_analytics_consent |
| Service worker | peerx-static-v1 / peerx-dynamic-v1 / peerx-images-v1 |
(unchanged namespace, just brand-flush happened) |
| SQLite file | .data/swaptrade.sqlite |
.data/peerx.sqlite |
Backwards compatibility: None. The PeerX runtime will create a fresh
.data/peerx.sqliteon first boot — local waitlist records from previous
swaptrade-frontendinstalls will not migrate automatically.
Manifest / PWA
public/manifest.json(generated fromsrc/app/manifest.ts):name: "PeerX – Swap Crypto Smarter"short_name: "PeerX"theme_color/background_colorunchanged
- Service-worker cache namespaces re-flushed to the new brand so users on
cached installs get a clean asset bundle.
Verification matrix
| Check | Result |
|---|---|
grep -ri swaptrade across repo |
0 matches in tracked files |
npm install --legacy-peer-deps |
✅ clean |
npm test |
53 / 61 passing; 8 pre-existing failures unrelated to the rebrand (see Known issues) |
code-reviewer post-rebrand sweep |
✅ approved |
Known issues
useABTest.test.tsx— the weighted-distribution assertion
(bCount > 0after 100 trials) is failing intermittently. Root cause
is preexisting and unrelated to the rebrand (see commit that introduced
the experimental A/B harness). Tracked as a follow-up.onboardingEmails.test.ts— one FOREIGN KEY constraint failure due
to test fixture not pre-seeding the users table. Preexisting; tracked as
a follow-up.- Some
WaitlistFormtests emit Reactact()warnings aboutsetCsrfToken
inside async work. Cosmetic; preexisting.
Contributors
36 authors contributed to the codebase leading up to this tag. Top
contributors by commit count:
- Xuccessor — 84
- Usman Adamu — 28
- DevMuhdishaq — 14
- ykargeee — 10
- nafsonig — 9
- Wildflower-mariposa — 1
- Juan Camilo Peláez Machado — 1
- Rosemary Effiom — 1
- whiteghost.dev — 1
- EDOHWARES — 1
- Bug-Hunter-X — 1
- devjaja — 1
-
- 24 additional contributors
Full list: git log --pretty=format:'%an' | sort -u
Installation
# Fresh install (post-tag)
git clone https://github.com/OpenPeerX/Peerx-Web.git
cd Peerx-Web
git checkout v0.1.0
npm install --legacy-peer-deps
cp .env.example .env # then fill in PEERX_DATA_KEY, email creds, etc.
npm run devUpgrade from previous brand
There is no supported upgrade path from swaptrade-frontend to this
release. Treat it as a fresh install.
License
MIT — see LICENSE.
Released by the PeerX team. Questions? File an issue on GitHub.