News

Inertia v3 Upgrade Prompt and JSON Log Support in Laravel Boost v2.3.0

Published
Inertia v3 Upgrade Prompt and JSON Log Support in Laravel Boost v2.3.0 image

Laravel Boost v2.3.0 adds a guided Inertia v3 upgrade prompt, support for JSON-formatted log entries, and a fix for stdout corruption on PHP 8.4. This release also removes six Artisan wrapper MCP tools that are now better handled by direct CLI commands.

)

  • Inertia v2 to v3 upgrade prompt with adapter-specific guidance
  • JSON-formatted log entry support in log reading tools
  • Fix for non-JSON stdout output corrupting MCP responses
  • Six Artisan wrapper MCP tools removed (breaking change)
  • Redundant MCP, Pennant, and Flux UI guidelines removed

What's New

Inertia v3 Upgrade Prompt

A new MCP prompt provides step-by-step guidance for upgrading from Inertia v2 to v3, following the same pattern as the existing Livewire v4 upgrade prompt. The prompt auto-detects which frontend adapter (React, Vue, or Svelte) is installed and renders only the relevant framework-specific content — install commands, setup examples, and migration patterns.

PR: #636

JSON-Formatted Log Support

The log reading tools now auto-detect JSON-formatted log entries and split them by newlines instead of PSR-3 timestamps. This adds support for Monolog's JsonFormatter, LogstashFormatter, and LogglyFormatter output formats. Error detection handles both numeric level (>= 400) and string level_name fields. No behavior changes for standard PSR-3 formatted logs.

PR: #650

Stdout Corruption Fix

PHP warnings or deprecation notices written to stdout could corrupt MCP tool responses by prepending non-JSON text to the JSON output. This was common on PHP 8.4 when packages use implicitly nullable parameters. The fix redirects PHP errors to stderr during tool execution and adds a safety net that strips leading non-JSON content from stdout before parsing.

PR: #641

Artisan Wrapper Tools Removed

Six MCP tools that were thin wrappers around Artisan commands have been removed: list-artisan-commands, list-routes, tinker, get-config, list-available-env-vars, and list-available-config-keys. Modern AI agents can invoke these commands directly via the shell. Guidelines have been updated to point agents to the direct CLI equivalents (php artisan list, route:list, tinker --execute, config:show, etc.).

PR: #629

Other Changes

  • Fix table snippet in SKILL.blade.php (#640)
  • Remove redundant MCP guidelines (#644)
  • Remove redundant Pennant guidelines (#645)
  • Remove redundant Flux UI guidelines (#647)
  • Consistent imports (#646)

Upgrade Notes

This release includes a breaking change: six Artisan wrapper MCP tools (list-artisan-commands, list-routes, tinker, get-config, list-available-env-vars, list-available-config-keys) have been removed. If your workflow relies on these tools, update your agent configuration to use the equivalent Artisan commands directly.

References

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

acquaintsoft logo
Acquaint Softtech

Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Visit Acquaint Softtech

The latest

View all →
Load Eloquent Models From Form Request Input in Laravel image

Load Eloquent Models From Form Request Input in Laravel

Read article
Laravel FFmpeg 9: Encode Video and Stream HLS and DASH image

Laravel FFmpeg 9: Encode Video and Stream HLS and DASH

Read article
Migration Durations and Job Memory Usage in Laravel 13.45 image

Migration Durations and Job Memory Usage in Laravel 13.45

Read article
Laravel CLI: One Binary for New PHP and Rust Laravel Apps image

Laravel CLI: One Binary for New PHP and Rust Laravel Apps

Read article
Phactorial: Render LaTeX Math to SVG and PNG in PHP image

Phactorial: Render LaTeX Math to SVG and PNG in PHP

Read article
Laravel, reimagined image

Laravel, reimagined

Read article