Overview
This release focuses on modernizing dependencies, enhancing proxy functionality, and improving overall maintainability. Key improvements include updated backend packages, streamlined proxy handling, and new service discovery features.
Backend Changes
Dependency Updates
- Added new dependencies including
bonjour-service
andhttp-proxy
with associated types - Updated
backend/package.json
andbackend/package-lock.json
with modern dependencies
Proxy Enhancements
- Deprecated:
PROXY_PLEX_SERVER
andDISABLE_PROXY
environment variables - New: Direct usage of
PLEX_SERVER
for proxy configurations - Added warning notifications for deprecated environment variables
- Introduced dynamic proxy endpoint (
/dynproxy/*
) usinghttp-proxy
- Added
GET /proxy
endpoint with support for query parameters and streaming responses
Service Discovery
- Integrated
bonjour-service
to publish application presence on networks - Added deployment ID, version, and Plex server details for improved service discovery
Frontend Changes
Proxy Simplification
- Removed support for
DISABLE_PROXY
configuration infrontend/src/backendURL.ts
- Streamlined proxy request logic to use the backend's
/proxy
endpoint
Upgrade Notes
Please note that this version includes changes to environment variables. Users should:
- Transition from using
PROXY_PLEX_SERVER
to usingPLEX_SERVER
directly - Remove any usage of
DISABLE_PROXY
as it's no longer supported
Remember that as with v1.1.0, you need to bind a volume to maintain user settings between Docker container restarts.
Full Changelog: v1.1.0...v1.2.0