Repository navigation
v0.3.1-rc.0
Pre-release
Pre-release
Changes
Features
- Token auto-refresh: Implement automatic token refresh mechanism with request queue to handle concurrent 401 errors gracefully
- Unified error handling: Response interceptor now unwraps the unified
{ success, data }response format - Auto-retry: Requests are automatically retried after successful token refresh
- RTC Agent config: Add theme (system mode) and bubble position (bottom-right) configuration
Bug Fixes
- rtc-agent-setup: Gracefully handle missing dist files in monorepo CI environments
- Test fixes: Correct import case sensitivity issues for Linux CI environment
- Error messages: Update error message format to use Chinese (请求失败)
Testing
- Fix app.test.tsx imports and update tests to match new error handling implementation
- Remove broken integration test that was testing middleware logic incorrectly
Related
- Depends on: rtc-agent/server v0.3.1-rc.0