Changelog
Notable additions and SDK releases for the Yuva Bot API. All changes are backward compatible with v1.
2026-11-27 — Upload rules in /meta and /me#
Admin-set upload rules: The accepted file types, size caps, daily quota and keep time are now set by site admins in Yönetim → Dosyalar instead of being fixed.
GET /metareturns them for a trusted member asuploads(UploadPolicy:extensions,maxMb,memberMaxMb,perTypeMb,ttlHours,dailyFiles,dailyMb), andGET /mereturns the bot's own (nullwhile untrusted). SDK types:UploadPolicyinyuva-botandyuva_bot. The defaults match the earlier fixed limits;csv,json,7z,gz,tar,msiandapkcan now be opened.
2026-11-25 — Bot API v1.1 (yuva-bot 2.1.0, yuva_bot 0.3.0)#
Machine-readable error codes: Every error response now includes
code,docs(https://yuva.chat/gelistirici#<code>), optionalfield, andretryAfteron429.Standard headers: Added
X-Request-Id(echoed if valid[A-Za-z0-9_-]{1,64}),X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset,Retry-Afteron429, andAllowon405.New endpoints:
GET /meta(andGET /api/bot/v1),GET /openapi.json,GET /messages/{id},DELETE /messages/{id}/reactions/{emoji},DELETE /messages/{id}/pin,POST /channels/{id}/typing, andGET /lodges/{id}/members(limit1–200,cursor/nextCursor).Expanded
GET /me: Also returns activetokenmetadata (id,label,scopes,createdAt,expiresAt) andgrantsper lodge.Idempotency:
POST /channels/{id}/messagesandPOST /channels/{id}/filesacceptIdempotency-Key(24-hour deduplication). Both SDKs attach it automatically.Scoped tokens: Up to 5 labelled tokens per bot with
read,write,voicescopes and optional expiry (SCOPE_MISSINGon 403).Webhooks: Optional HTTPS event delivery with
X-Yuva-Signature, 5-step backoff retries, SSRF protection, test button, andverifyWebhook/verify_webhookhelpers in the SDKs.Developer panel: Added token scopes, webhook config, 24h/7d usage metrics + last 50 requests, and an in-memory API test console.
2026-11-12 — LiveKit SFU voice (yuva-bot 2.0.0, yuva_bot 0.2.0)#
Added
POST /lodges/{id}/voice/mediaandsfu: truevoice handshake for LiveKit-backed lodges.Added
409 VOICE_UPGRADE_REQUIREDwhen joining a LiveKit lodge withoutsfu: true.
2026-10-29 — Initial Bot API v1 (yuva-bot 1.0.0, yuva_bot 0.1.0)#
Initial release with token auth, lodges, channels, messages, file uploads, reactions, pins,
/events, and mesh voice.