Skip to content

PhoenixKit 1.6.4: AWS credential check fixed, region typed by hand

PhoenixKit 1.6.4 fixes verifying AWS credentials in the email settings. With valid keys, the check could crash because the AWS response arrived already parsed instead of as XML; both forms are now read, and each kind of failure gets its own message.

The AWS region is now a text field: type a region such as eu-north-1 and save. The region list is optional, behind a button next to the field that loads the regions for your keys, so credentials and region no longer need saving twice.

Full release notes: PhoenixKit 1.6.4

1.6.4 · 15 November 2025

Fixed

  • AWS Credentials Verification - Fixed STS response parsing to support ExAws map format
    • Added support for both XML string and parsed map responses from AWS STS
    • Fixed parse_sts_response/1 to handle ExAws automatic XML-to-map conversion
    • Resolved CaseClauseError when verifying credentials with valid AWS keys
    • Added comprehensive error handling for all AWS verification failure types

Changed

  • AWS Region Selection UX - Streamlined region input workflow from 7 steps to 4
    • Replace dropdown-only region field with text input by default
    • Add optional “Load regions” button to fetch and display region dropdown
    • Enable manual region entry without waiting for region list loading
    • Remove requirement for double-saving credentials and region
    • Update setup instructions to reflect simplified workflow
  • Code Quality - Refactored AWS credentials verification handler
    • Extract verification logic into separate helper functions
    • Reduce cyclomatic complexity from 14 to acceptable level
    • Improve code readability and maintainability

PhoenixKit 1.6.4. Install or update: {:phoenix_kit, "~> 1.6"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.