rspace-online/server
Jeff Emmett 53c757e68e fix: comprehensive memory leak and performance fixes across 44 files
Browser-side:
- Fix switchSpace() to LRU-evict idle space WebSocket connections (cap: 3)
- Add runtime.unsubscribe() to disconnectedCallback in 24 components
- Fix DocSyncManager.unsubscribe() to clean up syncStates, timers, listeners
- Fix 14 components leaking RAF loops, ResizeObservers, MutationObservers,
  document/window listeners, setIntervals, MapLibre WebGL contexts, and
  AbortControllers on disconnect
- Deduplicate Automerge WASM: module builds now use global shim from
  shell-offline instead of bundling ~2.5MB each (8 modules affected)

Server-side:
- Add LRU eviction to SyncServer.#docs (cap: 500, evicts idle docs with
  no subscribers, persists to disk before eviction)
- registerWatcher() now returns unsubscribe function

Data:
- Cap unbounded CRDT arrays: rexchange chatMessages (200), rcart events (200)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 22:26:24 -04:00
..
local-first fix: comprehensive memory leak and performance fixes across 44 files 2026-04-10 22:26:24 -04:00
magic-link feat: magic link responses for polls and RSVPs 2026-04-09 13:41:17 -04:00
mcp-tools feat(rcal): add Google Calendar sync integration with connectors menu 2026-04-10 19:45:52 -04:00
oauth feat(rcal): add Google Calendar sync integration with connectors menu 2026-04-10 19:45:52 -04:00
auth.ts refactor(auth): replace @encryptid/sdk imports with local auth module 2026-03-22 16:41:59 -07:00
bonding-curve.ts feat(rwallet): HyperSwitch full-loop fiat↔CRDT payment integration 2026-03-23 17:34:48 -07:00
bug-report-routes.ts feat: global bug report button — floating widget on every page 2026-04-09 14:03:27 -04:00
cad-orchestrator.ts fix(cad): CSS containment + Scribus image gen for all CAD shapes 2026-03-25 17:53:42 -07:00
clock-service.ts feat: system clock heartbeat + ephemeral clock delivery (TASK-47) 2026-03-11 16:20:04 -07:00
community-store.ts fix(spaces): pin visibility and ownerDID as server-authoritative 2026-03-25 18:03:43 -07:00
encryptid-sdk.d.ts feat(identity): local persona switcher for client-side multi-account 2026-03-23 12:10:55 -07:00
google-calendar.ts feat(rcal): add Google Calendar sync integration with connectors menu 2026-04-10 19:45:52 -04:00
index.ts feat: add MakeReal canvas shape (sketch-to-HTML via Gemini vision) 2026-04-10 17:25:28 -04:00
ipfs-routes.ts feat(ipfs): add IPFS integration for backups and generated files 2026-04-02 14:24:39 -07:00
ipfs.ts fix(ipfs): correct Kubo container hostname (collab-server-ipfs-1) 2026-04-02 15:06:05 -07:00
landing-proxy.ts fix(infra): consolidate external service URLs to rspace.online (TASK-51.1) 2026-03-11 19:12:51 -07:00
landing.ts fix(shell): update space-switcher on landing pages to show user's space or demo 2026-04-02 16:05:14 -07:00
mcp-server.ts feat(rmeets): require username on join, fix settings/background, add MI toolbar 2026-04-10 14:06:47 -04:00
mi-agent.ts feat(mi): agentic upgrade — multi-turn loop, LiteLLM, media gen, live data 2026-03-24 19:26:56 -07:00
mi-data-queries.ts feat: rebuild rNotes as vault browser, editor code now in rDocs 2026-04-10 18:05:35 -04:00
mi-media.ts feat: ASCII art canvas tool, video gen fixes, scribus/notebook sidecars 2026-04-03 14:25:48 -07:00
mi-provider.ts feat(mi): agentic upgrade — multi-turn loop, LiteLLM, media gen, live data 2026-03-24 19:26:56 -07:00
mi-routes.ts feat: rebuild rNotes as vault browser, editor code now in rDocs 2026-04-10 18:05:35 -04:00
notification-routes.ts fix(notifications): use full URL pathname for proxy path 2026-03-23 13:36:51 -07:00
notification-service.ts feat(comments): spatial comment pins on all rApp module pages 2026-04-10 11:15:05 -04:00
output-list.ts fix(routing): eliminate /{space} from paths on subdomain routing 2026-03-24 18:45:16 -07:00
seed-campaign.ts fix(canvas): prevent shape re-seeding after user clears canvas 2026-03-22 14:40:28 -07:00
seed-demo.ts fix: ensure demo community visibility is always public on startup 2026-03-24 13:21:59 -07:00
seed-template.ts fix(canvas): prevent shape re-seeding after user clears canvas 2026-03-22 14:40:28 -07:00
shell.ts feat: cross-browser/cross-device compatibility sweep 2026-04-10 19:57:59 -04:00
sidecar-manager.ts fix(sidecar): bump Docker API version from 1.43 to 1.44 2026-04-09 12:43:24 -04:00
spaces.ts fix: use internal mailcow relay (port 25) for all SMTP transports 2026-04-03 15:12:42 -07:00
sync-instance.ts fix: comprehensive memory leak and performance fixes across 44 files 2026-04-10 22:26:24 -04:00
token-schemas.ts feat(rwallet): HyperSwitch full-loop fiat↔CRDT payment integration 2026-03-23 17:34:48 -07:00
token-service.ts feat(rwallet): HyperSwitch full-loop fiat↔CRDT payment integration 2026-03-23 17:34:48 -07:00