Phoenix 1.5 Rc2 High Quality 〈PRO ◎〉
This isn’t just a version bump. Phoenix 1.5 represents a philosophical shift toward making real-time, stateful applications not just possible , but simple and stable . RC2 polishes that vision to a mirror shine. If you’ve been following the 1.5 branch, you know the headline features: Phoenix.LiveView out of the box and the new ~H HEEx (HTML + EEx) syntax. But RC2 focuses on the details that separate a beta from a production-ready masterpiece. 1. LiveView is Production Solid The LiveView APIs have stabilized. Early betas had some rough edges around mounting, asynchronous operations, and recovery from crashes. RC2 feels tight . The new assign_async/3 pattern makes fetching data without blocking the UI seamless. Error handling is predictable, and the reconnect logic is robust. 2. HEEx is a Joy to Write The new ~H sigil is now fully featured. With built-in syntax highlighting (in modern editors) and the crucial compile-time validation of HTML structure, you can say goodbye to runtime template typos. The explicit {@assigns} and let constructs feel verbose at first, but they lead to higher quality code by making data flow completely transparent. 3. Performance Out of the Box RC2 ships with an optimized asset pipeline. While previous versions relied heavily on Webpack, 1.5 defaults to esbuild for JavaScript and dart-sass for CSS. The result? Cold starts are faster, rebuilds are nearly instant, and the dev/prod parity is tighter. No more fighting Node.js version mismatches just to render a button. 4. Component-Centric Architecture The new ~H components (formerly “function components”) are now the standard. RC2 refines the attr macro, making component documentation and validation clearer than ever. This pushes you toward building a high-quality design system where every component is isolated, testable, and reusable. Should You Use RC2 in Production? Cautiously, yes. If you’re starting a new application that doesn’t rely on obscure dependencies, RC2 is incredibly stable. The core team uses these RCs to run real apps (including the Phoenix website itself).
Phoenix 1.5.0-rc.2: High-Quality Real-Time Experiences, Refined Phoenix 1.5 Rc2 High Quality
That is the magic of Phoenix 1.5. And with RC2, that magic is production-ready. This isn’t just a version bump
mix archive.install hex phx_new mix phx.new my_app --live cd my_app mix phx.server Visit localhost:4000 , open two browser windows, and click a button to see the UI update in real-time without writing a single line of JavaScript. If you’ve been following the 1