Skip to content

v1.9.5

Choose a tag to compare

@eXPerience83 eXPerience83 released this 02 Mar 16:00

🌼 Pollen Levels v1.9.5

πŸ› οΈ Maintenance + UX release focused on more consistent setup validation and clearer, friendlier setup errors.


πŸš€ Highlights

  • βœ… Config flow validation now matches runtime behavior

    • Setup validation reuses the shared Google Pollen API client, so it follows the same retry logic and HTTP error handling as coordinator updates.
  • πŸ’¬ Much clearer setup errors (always non-empty & user-friendly)

    • Restored and strengthened fallback messages for timeouts/network failures.
    • {error_message} placeholders are now always populated with category-appropriate fallback text.
    • Quota errors are detected via a dedicated exception (not brittle "HTTP 429" string matching).
    • Replaced raw code-style messages like HTTP 429 / HTTP 500 with friendly explanations.
  • 🧰 CI tooling update

    • Bumped GitHub Actions artifact upload to actions/upload-artifact@v7.

πŸ”§ Detailed changes

Changed

  • Bumped GitHub Actions artifact upload to actions/upload-artifact@v7.
  • Reused the shared Google Pollen API client for config-flow validation so setup now follows the same retries and HTTP error handling semantics as runtime updates.

Fixed

  • Restored user-facing fallback messages for setup timeout/network validation failures when upstream exception text is empty.
  • Ensured config-flow always provides non-empty {error_message} placeholders for auth and update validation failures with category-appropriate fallback text.
  • Classified setup quota errors via a dedicated client exception instead of matching "HTTP 429" in the error message, and clarified config-flow fallback message selection logic for maintainability.
  • Trimmed redacted validation errors before fallback selection so whitespace-only messages no longer suppress user-facing setup error details.
  • Replaced code-only HTTP placeholders (e.g. HTTP 429 / HTTP 500) with friendly setup error fallbacks and normalized client HTTP message formatting for whitespace-only API error text.

What's Changed

  • Enable HACS zip_release packaging with validated release asset by @eXPerience83 in #74
  • Update actions/upload-artifact action to v7 by @renovate[bot] in #75

Full Changelog: v1.9.4...v1.9.5