github therobbiedavis/Listenarr 0.2.8
Canary 0.2.8

latest releases: 0.2.45, 0.2.44, 0.2.40...
pre-releaseone month ago

This pull request introduces several improvements and refactors to the frontend codebase, focusing on authentication token handling, antiforgery token management, and the SignalR connection indicator. The most significant changes include robust handling of antiforgery tokens after authentication changes, refactoring SignalR connection state management for better UI diagnostics, and moving the backend connection indicator to the System view for a cleaner layout.

Authentication & Antiforgery Token Handling

  • Improved antiforgery token management: After any authentication change (login, API key update, or authentication mode change), the SPA now fetches a fresh antiforgery token bound to the current user, preventing common CSRF validation errors. This includes retry logic for failed requests due to missing/invalid tokens and ensures tokens are refreshed after login and API key changes. (fe/src/services/api.ts) [1] [2] [3] [4]

SignalR Connection State & Indicator

  • Refactored SignalR connection diagnostics: Connection state is now tracked reactively in a dedicated module (signalrEvents), with hooks for UI components to subscribe to connection/disconnection events and error states. This enables a more robust and informative connection indicator in the UI. (fe/src/services/signalrEvents.ts, fe/src/services/signalr.ts, fe/src/composables/useSignalR.ts) [1] [2] [[3]](diffhunk://#diff-aa8...

Automated canary build

Don't miss a new Listenarr release

NewReleases is sending notifications on new releases.