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

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Laravel Auditor Audits Your App With Your Own AI Agent image

Laravel Auditor Audits Your App With Your Own AI Agent

Read article
A simple form builder that stays out of your way image

A simple form builder that stays out of your way

Read article
Laravel AI: Trace Agent Runs With Lifecycle Events image

Laravel AI: Trace Agent Runs With Lifecycle Events

Read article
Laravel AI: Get Raw HTTP Responses and Rate Limits image

Laravel AI: Get Raw HTTP Responses and Rate Limits

Read article
Agent Run Observability in Laravel AI SDK 0.11 image

Agent Run Observability in Laravel AI SDK 0.11

Read article
Debounced Queued Event Listeners in Laravel image

Debounced Queued Event Listeners in Laravel

Read article