Skip to content

Release v1.3.1

Choose a tag to compare

@mickgiles mickgiles released this 04 Sep 23:37
· 43 commits to main since this release

πŸ”§ Enhanced Authentication & Token Management

This patch release improves authentication reliability and token management for better stability in long-running applications.

🎯 Key Improvements

  • Enhanced Token Expiration Detection: Prioritizes HTTP status codes (401, 419) over message parsing for more reliable authentication
  • Improved Error Handling: Streamlined authentication failure detection reduces false positives
  • Better Pattern Matching: More precise regex patterns for token expired message detection
  • Optimized Authentication Flow: Reduced unnecessary re-authentication attempts

πŸ“ˆ Technical Enhancements

  • Reordered token expiration checks to prioritize HTTP status codes first
  • Updated regex pattern from general /token|login/i to specific /token\s*expired/i
  • Maintained backward compatibility while improving detection accuracy
  • Enhanced performance through reduced false positive detections

πŸ›‘οΈ Reliability

This release focuses on making authentication more reliable, especially for homebridge-tsvesync users who benefit from stable long-running sessions with proactive token refresh.

Full changelog: https://github.com/mickgiles/tsvesync/blob/main/CHANGELOG.md

πŸ€– Generated with Claude Code