Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

3.0.0 - 2026-10-26

Changed

  • Protocol 2.0 carries one complete canonical input snapshot with named controls. Physical arrays, duplicate normalized blocks and legacy input fallback are removed. Update both peers together; the encrypted UDP envelope remains version 2.

  • Physical mapping and calibration now belong to validated, device-bound client JSON profiles. Regenerate profiles with the mapper and remove legacy server button/axis mapping and calibration sections, which now cause startup errors.

  • The mapper supports explicit device selection, portable terminal input, retries/skips, hat directions, axis calibration and a live normalized preview.

Fixed

  • Recognize physical controls through SDL rather than guessing indices from the controller name/counts. Fix Xbox One S/macOS triggers and button positions.

  • Reopen uniquely matching controllers after reconnect, including index changes; ambiguous matches are not selected automatically. Explicit CLI index zero wins.

  • Apply Xbox/DS4 coordinate conventions, DS4 D-pad diagonals and PS special buttons in the isolated virtual-output adapter.

  • Close sessions on controller loss and reset stale output independently of heartbeat using the server input watchdog.

  • Retry failed native resets without stopping the watchdog or retaining a stale output cache. Release connection bookkeeping even when native reset fails. Schedule a reset after failed report writes, even before the first valid input.

  • Calibrate both stick endpoints independently around neutral, preserving the full range with offset centers and asymmetric travel.

  • Capture short D-pad hat events and cancel neutral waits when terminal input closes.

  • Validate canonical snapshots and bound outbound TCP framing. Add protocol load, replay/forgery, reconnect, profile persistence and watchdog regressions.

2.0.0 - 2026-10-26

Changed

  • Minimum Python version is now 3.11.

  • UDP v2 replaces reusable tokens with TLS-authenticated sessions and AES-256-GCM input datagrams. Update client and server together, configure certificate trust, and allow TCP and UDP on the same port. Legacy UDP and disabling TLS in UDP mode are no longer supported.

  • TCP clients verify certificate trust and server identity by default. TLS setup errors stop startup instead of falling back to plaintext. Clients can configure trust with --ca-path and --server-hostname.

  • Pending authentication and active clients share the connection limit. IP/global budgets and bounded limiter storage replace per-port tracking.

Fixed

  • Reject excessive PBKDF2 parameters before hashing; derive client keys outside the event loop without committing cancelled work.

  • Validate every input packet and JSON hat pairs, close failed client connections, and create TLS identities without overwriting existing files.

  • Preserve CLI credentials during INI migration; never turn an empty INI password into a valid hash credential.

  • Cancel pending client work on shutdown and bound graceful stream closure to one second. Support client signal handling on Windows and propagate application failures through CLI exit codes.

  • Invalidate cached gamepad input on disconnect and apply independent trigger changes immediately.

1.1.0 - 2025-11-06

Added

  • TLS/SSL Support: Optional TLS/SSL encryption for TCP connections with automatic self-signed certificate generation

    • --enable-tls / --disable-tls flags for both client and server

    • Automatic certificate generation and management (stored in ~/.padrelay/certs/)

    • Certificate expiration warnings

    • TLS 1.2+ minimum version requirement

    • Server: --cert-path and --key-path options for custom certificates

  • Password Strength Warnings: Non-enforcing password strength checking with recommendations

    • Automatic password strength analysis on startup

    • Detailed recommendations for improving weak passwords

    • Warnings about very weak or commonly used passwords

  • Security Enhancements:

    • Log sanitization to prevent log injection attacks

    • Config file permission warnings for world-readable files

  • Dependencies: Added cryptography>=41.0.0 and cffi>=1.15.0 for TLS support

Changed

  • TLS/SSL is now enabled by default for TCP connections (can be disabled with --disable-tls)

  • Enhanced security warnings throughout the application

  • Improved error messages for security-related issues

1.0.4 - 2025-06-15

Added

  • padrelay-keymapper CLI for creating controller mapping files

1.0.3 - 2025-06-14

Fixed

  • Synced GitHub release and PyPI version numbers to avoid mismatch

  • Ensured correct artifacts attached to GitHub Releases

1.0.2 - 2025-06-14

Fixed

  • Corrected version field in pyproject.toml to match intended release

1.0.1 - 2025-06-14

Added

  • CI: GitHub Actions workflow for testing with pytest (python-tests.yml)

  • CI: GitHub Actions workflow for building and publishing releases on tag push (release.yml)

1.0.0 - 2025-06-14

  • initial release