# Changelog (oxblade)

> What changed in each release of oxblade: additions, changes and fixes.

- Package: oxblade (Laravel for Rust, alpha), crates: `oxblade`, `oxblade-laravel`, `oxblade-macros`, `oxblade-mail`, `oxblade-cli`
- Maintenance: active; Latest release: 0.2.0 (2026-12-05); Framework: laravel-rust 0.2.x; MSRV: Rust 1.99 or later; Licence: MIT
- Links: [Repository](https://github.com/bowerbird-si/oxblade), [crates.io](https://crates.io/crates/oxblade/0.2.0), [docs.rs](https://docs.rs/oxblade/0.2.0), [Changelog](https://oss.bowerbird.si/oxblade/docs/changelog/), [Contributing](https://github.com/bowerbird-si/oxblade/blob/c7fab7e68e7ad4df560796ee140e438944d26598/CONTRIBUTING.md), [Security policy](https://github.com/bowerbird-si/oxblade/blob/c7fab7e68e7ad4df560796ee140e438944d26598/SECURITY.md)
- Based on: [Laravel Blade](https://github.com/illuminate/view): The template language this package implements: Blade's markup, directives and rendered HTML (illuminate/view, MIT).
- Community package, not affiliated with Laravel.
- HTML version: https://oss.bowerbird.si/oxblade/docs/changelog/
- Source: https://github.com/bowerbird-si/oxblade/blob/c7fab7e68e7ad4df560796ee140e438944d26598/CHANGELOG.md

All notable changes to this package. The format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), 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](https://github.com/bowerbird-si/oxblade/issues/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:

```toml
[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.
