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

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
Securing Filament plugins with Plumb image

Securing Filament plugins with Plumb

Read article
LayaPHP: Self-Hosted Text Classification for PHP and Laravel image

LayaPHP: Self-Hosted Text Classification for PHP and Laravel

Read article
WhenMounted and BigInt Props in Inertia.js v3.8 image

WhenMounted and BigInt Props in Inertia.js v3.8

Read article
Postcodes for Laravel: GB Postcode Lookup and Geography Data image

Postcodes for Laravel: GB Postcode Lookup and Geography Data

Read article
Laravel 14 Adds a defaults() Method to Eloquent Models image

Laravel 14 Adds a defaults() Method to Eloquent Models

Read article
Laravel AI SDK and Laravel MCP Security Fixes: Update Now image

Laravel AI SDK and Laravel MCP Security Fixes: Update Now

Read article