Skip to content

v4.6.3

Choose a tag to compare

@ljmerza ljmerza released this 08 May 15:50
22a753b

What's Changed

Bug Fixes

  • Config-flow IMAP probe now surfaces the real exception class and full traceback in the Home Assistant log via _LOGGER.exception(...), instead of swallowing it as a generic stringified message. Makes diagnosing setup failures (e.g. issue #25) actionable.
  • validate_imap_connection now closes the IMAP session in a finally block, so a select_folder failure after a successful login no longer leaks the connection across retries.
  • Replace fragile "authentication"/"login" substring matching for invalid credentials with a dedicated except LoginError branch.

Maintenance

  • Add a timeout=10 to the polling IMAPClient(...) call in coordinator.py so the polling path can't hang indefinitely on a flaky network (matches what the config flow already did).
  • Extract the IMAP timeout into a single IMAP_CONNECTION_TIMEOUT constant in const.py shared by both call sites.

Full Changelog: v4.6.2...v4.6.3

What's Changed

  • fix(config_flow): log full traceback on IMAP failure by @ljmerza in #26
  • chore: bump version to 4.6.3 by @ljmerza in #27

Full Changelog: v4.6.2...v4.6.3