Skip to content

Emails 0.1.11: A maintained SQS client clears the hackney advisories

Emails 0.1.11 swaps the module’s AWS SQS client for a maintained fork, so a Phoenix app using it is no longer held on an old hackney with known security advisories.

The archived ex_aws_sqs pinned hackney ~> 1.9, which blocked the upgrade to hackney 4 and made mix hex.audit fail. The module now uses beamlab_ex_aws_sqs, the same switch PhoenixKit core already made. It keeps the ExAws.SQS API but talks to SQS over AWS’s JSON protocol, so the lookup of delivery events on an email’s details page was updated to read the new response format. Background SQS polling already read both.

No change beyond updating the dependency.

Full release notes: Emails 0.1.11

0.1.11 · 12 July 2026

Security

  • ex_aws_sqs replaced with beamlab_ex_aws_sqs, matching the switch already made in core (phoenix_kit 1.7.188/189). ex_aws_sqs (last released Jan 2023, since archived upstream) pins hackney ~> 1.9, which was blocking the hackney ~> 4.0 upgrade needed to clear a batch of hackney CVEs and made mix hex.audit fail on every precommit/release. The fork is a maintained drop-in with the same public API (ExAws.SQS) and no hackney dependency, but switches SQS from the legacy Query/XML protocol to AWS’s JSON protocol, which changes response shapes (%{"Messages" => [...]} with string keys like "ReceiptHandle", instead of %{body: %{messages: [...]}} with atom keys). SQSPollingJob already matched both shapes defensively; Emails.poll_sqs_for_message/5 and poll_dlq_for_message/5 (used by the email-details “find delivery events” lookup) only matched the old shape and were updated to match both. mix hex.audit now reports zero advisories. Pulls in phoenix_kit ~> 1.7.189 and ex_aws 2.7.x as part of the same hackney 4.x resolution.

Emails 0.1.11. Install or update: {:phoenix_kit_emails, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.