PhoenixKit 1.5.1: File storage with a media page, and bounce events fixed
PhoenixKit 1.5.1 adds a file storage system and fixes how AWS SES email events are recorded.
Uploads go into storage buckets, local or S3-compatible, set up under Storage in the admin settings with Redundancy Copies to keep files in more than one bucket. Each upload gets resized versions from storage dimensions, seeded with thumbnail, small, medium and large for images and 360p, 720p and 1080p for video. The new Media page under Users lists the uploads. Files are served through signed links, and processing runs as Oban jobs in a file_processing queue. The settings warn when ImageMagick or FFmpeg is missing.
For email, bounces, complaints, rejects and rendering failures now create their events in the email timeline, bounces are stored as hard or soft, and the SQS worker no longer crashes when deleting a message. Turning AWS SES events off or on in the settings now stops or restarts polling without a restart.
Upgrading
Run mix phoenix_kit.update to apply migration V20. Your app needs Oban configured with a file_processing queue for uploads to be processed.
PhoenixKit 1.5.1. Install or update: {:phoenix_kit, "~> 1.5"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.