The Wire · Showcase
PHOENIX LIVE VIEW SHIPS UPLOAD OVERHAUL, ELIXIR TUNES CORE PERFORMANCE
By RepoJournal · Filed · About Elixir & Phoenix
SteffenDE landed five critical fixes for LiveView's upload handler in one sweep, while the Elixir core team optimized Version comparison and regex operations.
Phoenix LiveView's upload system received a comprehensive fix batch [1][2][3][4][5] addressing max_entries validation, auto-upload scheduling, writer error handling, and native input attribute management. The most impactful: LiveView now accepts new file drops after hitting too_many_files errors when max_entries is 1 [1], fixes max_entries enforcement for auto uploads [3], and ensures custom upload writer errors surface properly instead of silencing them [5]. On the Elixir side, Version.compare/2 now avoids allocating tuples when comparing parsed %Version{} structs directly [6], and regex operations skip redundant system_info calls on Erlang/OTP 28+ by pattern matching first [7]. The build toolchain also got faster: Elixir switched from ScanCode to Provenant Scanner in OSS Review Toolkit v92.2.0, delivering cleaner performance [8]. Ecto rounded out the period with configurable timestamp handling, letting developers specify :writable and :on_writable_violation options on inserted_at through the timestamps macro [9].
One email a day. Unsubscribe in one click.
Keep up with Elixir & Phoenix in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Update phoenix_live_view to latest - these upload fixes address production pain points phoenixframework/phoenix_live_view [plan]
- → Review your upload handlers for silent writer errors - they now surface correctly phoenixframework/phoenix_live_view [monitor]
- → Pull latest Elixir if running Erlang/OTP 28+ to benefit from regex optimization elixir-lang/elixir [monitor]
References
- [1] accept new drops afrer too_many_files with max_entries 1 ↗ phoenixframework/phoenix_live_view
- [2] Remove native input required attribute when LiveView tracks uploads ↗ phoenixframework/phoenix_live_view
- [3] Fix max_entries not working properly with auto uploads ↗ phoenixframework/phoenix_live_view
- [4] Cancel scheduled submit when auto upload is invalid ↗ phoenixframework/phoenix_live_view
- [5] Handle writer errors like other entry errors ↗ phoenixframework/phoenix_live_view
- [6] Optimize comparison of parsed versions ↗ elixir-lang/elixir
- [7] Avoid system_info call on every regex operation ↗ elixir-lang/elixir
- [8] Update ORT & switch to faster license Scanner ↗ elixir-lang/elixir
- [9] Allow for specifying the :writable and :on_writable_violation option for :inserted_at in the timestamps macro ↗ elixir-ecto/ecto