github jamcalli/Pulsarr v0.5.18

14 hours ago

Changes

🚀 Base Path Support & Structured Logging Enhancements

Overview

Added comprehensive reverse proxy subfolder support with dynamic base path configuration, alongside standardized structured logging across all services for improved observability and debugging.

Key Updates

Base Path Support

  • Reverse proxy integration: New basePath environment variable enables running Pulsarr under any subfolder path
  • Full application coverage: Client routing, API endpoints, static assets, and Swagger documentation all respect configured base path
  • Runtime injection: Server dynamically injects base path configuration into client bundle
  • Seamless operation: Automatic path handling for all client-server communication
  • Zero configuration default: Works out-of-box at root path, optional for subfolder deployments

Structured Logging Improvements

  • Consistent error format: Standardized error logging patterns across all services
  • Enhanced searchability: Added descriptive messages to all structured log calls
  • Better context: Improved debug logging with proper context objects and meaningful field names
  • Pino best practices: Aligned with Pino v9 structured logging patterns for optimal parsing
  • Service-wide coverage: Updated 36 files including plex-label-sync, watchlist workflow, database methods, and integrations

Technical Changes

Base Path Architecture

  • URL normalization: New utility function for consistent base path handling
  • Client API wrapper: Added helper function to automatically prepend base path to all API calls
  • Router configuration: Enhanced React Router with dynamic basename support
  • Asset resolution: Updated Vite configuration for runtime base path asset handling

Logging Refactor

  • Major service updates: Comprehensive logging improvements in plex-label-sync (1,553 lines), watchlist services, and database methods
  • Pattern consistency: All error logging follows structured format with context objects and descriptive messages
  • Debug enhancements: Added missing log messages and improved context throughout codebase
  • PostgreSQL integration: Enhanced configuration logging with structured format

Migration & Compatibility

No database migrations required - All changes are configuration and code improvements. Base path support is entirely optional via environment variable, defaulting to root path for existing deployments.


Full Changelog: v0.5.17...v0.5.18
Docker Image: lakker/pulsarr:latest
Upgrade Path: Standard Docker image update

🔄 Dependencies

Docker

docker pull lakker/pulsarr:0.5.18

Contributors

@actions-user, @jamcalli, @renovate[bot] and renovate[bot]

Don't miss a new Pulsarr release

NewReleases is sending notifications on new releases.