mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-04 08:36:11 +02:00
1.4 KiB
1.4 KiB
v0.2.8
Bug Fixes
- Fix memory leak —
HttpResponseMessageobjects never disposed inApiClient, leaking TCP connections and content buffers on every API call (especially on failed connection attempts) - Fix 401 retry leak —
AuthenticatedGetAsync/AuthenticatedRequestAsyncleaked the original response when retrying after token refresh - Fix connection failure cleanup —
ConnectionManager.ConnectAsyncnow properly disposesApiClientandEchoHubConnectionon any failure path (previously only cleaned up on saved-token auth failures) - Fix IRC gateway sending UTF-8 BOM on first message, breaking CAP negotiation and SASL auth for all clients
- Handle
AUTHENTICATE *(SASL abort) instead of crashing on invalid base64
New Features
- Add Docker support for EchoHub.Server —
docker compose up -dfor easy self-hosting with persistent volume for database, uploads, and logs - IRC account creation — connecting with a new username auto-registers the account (PASS and SASL PLAIN)
Refactoring
- Extract
IUserService/UserService— consolidate user registration, authentication, and profile management into a dedicated service, eliminating duplicated logic betweenAuthControllerandChatService - IRC gateway now checks ban status during authentication (previously skipped)
CI
- Add Docker workflow — builds and pushes multi-arch (
amd64/arm64) server image to GHCR on release