Changelog

oxblade Alpha Laravel for Rust

All notable changes to this package. The format follows Keep a Changelog, and versions follow the package standards' versioning rules: while the version is 0.x, a minor release may break, a patch never does.

[Unreleased]

[0.2.0] - 2026-12-05

Added

  • Register component families by tag prefix, with access to the tag name, props, attributes and slots.
  • Register a Laravel package's Blade extensions through its service provider for reuse across renders.

Changed

  • Breaking: The migration CLI leaves component props untyped unless they have an explicit [types] entry. This changes the default in 0.2.0 and lets props accept values of different types.

Fixed

  • Support the ten PHP helpers reported in #31 and report unavailable php:: calls as pending migration work.
  • Preserve PHP echo formatting for migrated props whose defaults are booleans or floats.
  • Keep rendered slots separate from props, validate runtime prefix tags, and resolve prefix handlers in blade:check.
  • Bound PHP array expansion for borrowed JSON and allow iteration over decoded JSON object properties.
  • Preserve malformed or unterminated component-like text in templates, including JavaScript template literals.

Migration from 0.1.0

A Blade declaration such as @props(['enabled' => false]) now migrates to @props(enabled = false). To retain the old generated declaration, @props(enabled: bool = false), add the type to oxblade-migrate.toml before rerunning migration:

[types]
enabled = "bool"

[0.1.0] - 2026-12-04

First alpha release of oxblade.

Added

  • oxblade renders Blade layouts, sections, stacks, components, slots and fragments with Rust-style expressions. The suite compares paired templates with Laravel 13.39.0.
  • Templates can use Laravel collection, string, number and date helpers, explicit php:: functions, and translations with Laravel replacements and plural rules.
  • View operations include rendering inline templates and components, selecting fragments, collecting sections and registering extensions such as helpers, directives, composers and precompilers.
  • oxblade-macros supplies the Shape, View and Shared derives and the component, methods and expose attributes. The checker validates templates against view-model shapes and registered signatures.
  • oxblade-laravel integrates the engine with Laravel for Rust 0.2, including request helpers, authorization, CSRF, translations, pagination, nested and repeated views, and the blade:check and blade:cache commands.
  • oxblade-mail renders Laravel's Markdown mail components and themes in HTML and text.
  • The oxblade command migrates PHP Blade templates with migrate, replays subsequent changes with migrate --diff, exports language dictionaries with lang and summarizes reports with report.
  • Core rendering limits output size, loop iterations, collection expansion and nesting depth. The adapter carries render limits through repeated views, pagination and mail finalization.
  • Migration output paths are checked for symlinks. Updated outputs replace regular files atomically.