Skip to content

v1.0.0

Choose a tag to compare

@ganyicz ganyicz released this 24 Feb 17:50
· 78 commits to main since this release

Blaze 1.0 is here!

A reliable, drop-in optimization for your Laravel app that eliminates most of the overhead from anonymous Blade component rendering, with additional strategies available for even greater gains.

Function compilation

The new default strategy compiles anonymous components into plain PHP functions, skipping the standard rendering pipeline and eliminating ~90% of overhead.

More reliable folding

Blaze now detects when folding would produce incorrect output and automatically falls back to function compilation, so you still get a significant performance improvement.

Blade profiler

Blaze now includes a fully-featured profiler for analyzing the rendering performance of your views. See exactly how long each component takes to render, identify bottlenecks, and measure the impact of your optimizations.

Flux users

If you're using Flux, we've already updated all Flux components to be maximally optimized. Just update to the latest version and you're good to go.

Breaking changes

If you're upgrading from the 1.0-beta, @blaze no longer enables folding or memoization by default — it enables function compilation only. You'll need to opt in explicitly with @blaze(fold: true) or via Blaze::optimize(). See the full upgrade guide for details.

Learn more

For full documentation on all optimization strategies, configuration options, and limitations, see the README.