Repository navigation
v0.3.0
v0.3.0 — Dynamic Proxy Target, Request Filters, Provider Editing & Data Retention
New Features
- Dynamic Proxy Target — change the proxy forwarding target at runtime via
POST /api/proxy/targetor by clicking a provider card in the UI; backed by atomic target URL storage - Request Filtering — filter intercepted requests by provider, endpoint/path, and date range (from/to) on the Requests tab
- Provider Editing — edit provider name and URL inline via the new edit button on provider cards; backed by
PATCH /api/dashboard/providers/{id} - Filter Options API —
GET /api/dashboard/filtersreturns distinct providers and endpoints to populate filter dropdowns - Data Retention — new
-retentionflag auto-purges benchmark data older than N hours (0 = disable)
Improvements
- Provider URL validation on add/update: rejects non-
http:///https://schemes with a400error - More accurate token counting: the proxy interceptor now tracks SSE
data:lines as tokens, using the max of all three counting methods X-Target-Providerheader scheme validation: unsupported schemes are logged and fall through to the default target- Scheduled benchmarks update their last-run status to
"completed"on success - UI layout: proper scroll containment, separate filtered/unfiltered stats, auto-refresh of filtered stats on polling
Bug Fixes
- Panic recovery (
defer/recover) added to all background goroutines — benchmark runs, health poller, scheduler, parallel scaling workers — preventing a single panic from crashing the server - Provider update returns a proper error if the provider ID does not exist
- Cleaner request body handling on read errors
Chores
- New API routes:
POST /api/proxy/target,PATCH /api/dashboard/providers/{id},GET /api/dashboard/filters - New CLI flag:
-retention - React
ProviderCardcomponent extracted for reuse - Added
sync/atomicandnet/urlimports
What's Changed
- Refactor panic recovery, add dynamic proxy config, and update provider logic by @codewithwest in #3
Full Changelog: v0.2.0...v0.3.0
What's Changed
- Refactor panic recovery, add dynamic proxy config, and update provider logic by @codewithwest in #3
Full Changelog: v0.2.0...v0.3.0