Zum Inhalt springen

Laravel Release Notes

Einträge
733
Quellen
4
Zuletzt aktualisiert

Folge Laravel, um die Release Notes in deinen Feed zu holen.

Laravel Framework von Laravel

Laravel: Client\Request::uri() für den HTTP-Client

Das Request-Objekt des HTTP-Clients hat jetzt eine uri()-Methode, die eine Illuminate\Support\Uri-Instanz zurückgibt und Http::assertSent()-Callbacks vereinfacht.

Pull request by @stevebauman

The HTTP client's Request object now has a uri() method that returns an Illuminate\Support\Uri instance, consistent with the uri() method already available on Illuminate\Http\Request. This makes Http::assertSent() callbacks a lot cleaner when you need to inspect the URL.

Http::assertSent(function (Request $request) {
    return $request->uri()->path() === '/api/users'
        && $request->uri()->query()->integer('page') === 2;
});

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Inertia: target-Attribut für Links unterstützt

Die <Link>-Komponente akzeptiert nun ein target-Attribut, sodass Links etwa mit target="_blank" in einem neuen Tab geöffnet werden können.

Pull request by @devhammed

The <Link> component now accepts a target attribute, so you can open links in a new tab with target="_blank" without reaching for a plain <a> tag. A small quality-of-life improvement that brings the component in line with standard HTML and popular router libraries.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Inertia: titleCallback erhält das page-Objekt

Die titleCallback-Funktion bekommt jetzt das aktuelle page-Objekt als zweites Argument und kann so Page Props und Metadaten für den Dokumenttitel nutzen.

Pull request by @mrleblanc101

The titleCallback function now receives the full current page object as a second argument, giving you access to page props and metadata when constructing the document title. Useful when you want to build a title from data that lives on the page rather than just the title string itself.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Inertia: async-Option in FormComponentOptions

Die async-Option wurde bei <Form> bisher ignoriert und wird nun in FormComponentOptions aufgenommen und an den zugrunde liegenden Visit weitergereicht.

Pull request by @sawirricardo

The async visit option was silently dropped when passed to a <Form> component, meaning options={{ async: true }} had no effect and forms always submitted synchronously. The option is now properly included in FormComponentOptions and passed through to the underlying visit.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Inertia: onSuccess-Callback von Form wird abgewartet

Gibt der onSuccess-Callback einer <Form> ein Promise zurück, wird dieses nun abgewartet, bevor der processing-Status zurückgesetzt wird, sodass disableWhileProcessing zuverlässig funktioniert.

Pull request by @mattwigham

If your <Form> component's onSuccess callback returned a Promise - say, polling a background job before reloading - the form's processing state would clear before that async work finished. This made disableWhileProcessing unreliable and any UI tied to processing behave unexpectedly. The fix is simple: the callback is now properly awaited before the form marks itself as done.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Inertia: withApp-Callback erhält Props

Der withApp-Callback erhält nun die initialen Page Props und stellt damit eine Möglichkeit des älteren setup-Callbacks wieder her.

Pull request by @CL0Pinette

The withApp callback now receives the initial page props, giving you access to data like the user's locale or other bootstrapped values at app setup time. This restores a capability that existed in the older setup callback before withApp was introduced.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Laravel AI: MCP-Client- und Server-Tools für Agents

Laravel AI Agents können jetzt MCP-Tools von entfernten MCP-Servern über HTTP sowie lokale MCP-Server-Klassen über die tools()-Methode nutzen, wobei das Framework Schema-Übersetzung, Wrapping und Aufruf übernimmt.

Pull request by @pushpak1300

Laravel AI agents can now use MCP tools directly - both from remote MCP servers over HTTP and from local MCP server classes defined in your application. Pass them into an agent's tools() method and the framework handles schema translation, wrapping, and invocation automatically.

// Tools from a remote MCP server
public function tools(): array
{
    return [
        ...Client::web('https://mcp.example.com')->withToken($token)->tools(),
        new MyOwnTool,
    ];
}

// Reuse a local MCP server tool class as an agent tool
public function tools(): array
{
    return [
        new CurrentWeatherTool,
        new MyOwnTool,
    ];
}

Check out the Laravel AI documentation to see how agents and MCP tools fit together.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Laravel AI: Bedrock-Unterstützung für S3-Dokumente

Der neue Typ S3Document erlaubt es, in S3 liegende Dateien per URI zu referenzieren, sodass Bedrock sie direkt abruft und große Dokumente nicht heruntergeladen und inline hochgeladen werden müssen.

Pull request by @dumbbellcode

When working with large documents in Bedrock, you no longer have to download files from S3 and re-upload them inline. The new S3Document type lets you reference an S3-hosted file by URI and Bedrock will fetch it directly, keeping large payloads out of your application's memory.

use Laravel\Ai\Files\S3Document;

$document = new S3Document('s3://my-bucket/reports/q1.pdf', mimeType: 'application/pdf');

ai('bedrock')->text('Summarize this report.', [$document]);

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Boost: OpenAI Zero Data Retention über Encrypted Reasoning

Mit OPENAI_ENCRYPTED_REASONING=true nutzt Laravel AI einen vollständig zustandslosen Pfad, bei dem Reasoning-Zustand über verschlüsselte Inhalte übertragen und die gesamte Konversation bei jeder Anfrage mitgesendet wird, sodass Organisationen mit OpenAI Zero Data Retention auch nach Tool-Aufrufen weiterarbeiten können.

Pull request by @Junveloper

Organizations with Zero Data Retention enabled on OpenAI could complete the first AI turn fine, but the moment a tool ran and a follow-up request was needed, OpenAI would reject it because previous_response_id is forbidden under ZDR. Set OPENAI_ENCRYPTED_REASONING=true and Laravel AI switches to a fully stateless path - reasoning state is carried via OpenAI's encrypted content blobs instead of stored server-side, and the full conversation is sent inline on every request. No changes needed to your agent code.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Boost: Icon-Metadaten für den MCP-Server

Der Laravel Boost MCP-Server liefert jetzt Icon-Metadaten mit, sodass unterstützende MCP-Clients wie die Codex App auf macOS ein Boost-Icon anzeigen können.

Pull request by @sneycampos

The Laravel Boost MCP server now includes icon metadata so MCP clients that support it - like the Codex App on macOS - can display a branded Boost icon in source and tool surfaces.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Boost: Pint läuft standardmäßig mit --dirty

Die Pint-Integration von Boost läuft jetzt standardmäßig mit --dirty, sodass nur geänderte Dateien formatiert werden und die Formatierung zusammen mit --parallel deutlich schneller ist.

Pull request by @calebdw

Boost's Pint integration now runs with --dirty by default, so only files that have actually changed get formatted. Combined with --parallel, formatting is significantly faster in agentic workflows where only a handful of files are touched per turn.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Boost: MCP-Tool-Timeout konfigurierbar

Das Timeout des internen MCP-Tool-Subprozesses lässt sich jetzt über BOOST_MCP_TOOL_TIMEOUT oder den Config-Schlüssel boost.mcp.tool_timeout anpassen, statt wie bisher fest bei 180 Sekunden zu liegen.

Pull request by @jstar0

The internal MCP tool subprocess timeout is now configurable via the BOOST_MCP_TOOL_TIMEOUT environment variable, with a boost.mcp.tool_timeout config key to match. If you're hitting the previous 180-second hardcoded limit on slow tools, you can now raise it without touching the source.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Boost: Unterstützung für den Pi Agent

Pi wird jetzt als Boost-Agent unterstützt, wobei Boost ihn anhand des pi-Binaries und der .pi/settings.json erkennt und Guidelines sowie Skills passend installiert.

Pull request by @cyrodjohn

Pi is now a supported Boost agent. Boost detects Pi from the pi binary and .pi/settings.json config and installs guidelines and skills in the right places for the Pi workflow.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Boost: Google Antigravity als Agent hinzugefügt

Google Antigravity wird als Boost-Agent unterstützt, und Boost kann dafür Guidelines, Skills und MCP-Konfiguration direkt im Projekt installieren, da Antigravity v2 workspace-bezogenes MCP unterstützt.

Pull request by @achyutkneupane

Google Antigravity joins the list of supported Boost agents. Now that Antigravity v2 supports workspace-scoped MCP, Boost can install guidelines, skills, and MCP configuration directly into your project for it.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Boost: Factory Droid Agent hinzugefügt

Factory Droid wird jetzt als Boost-Agent unterstützt, wird über die droid-CLI und das .factory-Verzeichnis erkannt und automatisch mit Guidelines, Skills und MCP-Konfiguration eingerichtet.

Pull request by @travisobregon

Factory Droid is now a supported Boost agent. Boost detects it via the droid CLI and .factory project directory, and sets up guidelines, skills, and MCP configuration automatically.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Boost: Zed-Editor als Agent unterstützt

Boost erkennt Zed (auf macOS über /Applications/Zed.app, sonst über zed im PATH), installiert Guidelines in AGENTS.md, Skills in .agents/skills und schreibt die MCP-Konfiguration unter context_servers in .zed/settings.json.

Pull request by @pushpak1300

Zed joins the Boost agent ecosystem. Boost detects Zed on macOS via /Applications/Zed.app (and via zed in PATH elsewhere), installs guidelines to AGENTS.md, skills to .agents/skills, and writes MCP server configuration to .zed/settings.json under context_servers.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Echo: useSocketId()-Hook für React, Vue und Svelte

Die Echo-Adapter für React, Vue und Svelte enthalten jetzt einen reaktiven useSocketId()-Hook, der die aktuelle Socket-ID liefert, sich bei einer neuen Verbindung aktualisiert und im X-Socket-Id-Header verhindert, dass eigene Broadcast-Events zurückgesendet werden.

Pull request by @hectorgrecco

All three Echo framework adapters now ship a useSocketId() reactive hook that gives you the current socket ID and automatically updates when the connection reconnects with a new one. Pass it in an X-Socket-Id header to prevent your own broadcast events from being received back.

// React
import { useSocketId } from "@laravel/echo-react";
const socketId = useSocketId();

// Vue
import { useSocketId } from "@laravel/echo-vue";
const socketId = useSocketId(); // ComputedRef<string | undefined>

// Svelte
import { useSocketId } from "@laravel/echo-svelte";
const socketId = useSocketId(); // getter function

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Livewire Starter Kits: Passkey-Name aus User Agent

Die Livewire Starter Kits schlagen beim Registrieren eines Passkeys jetzt einen Namen aus dem User-Agent-String vor, wie es bei den Inertia Starter Kits bereits der Fall war.

Pull request by @luisprmat

Livewire starter kits now guess a passkey name from the user agent string when registering a new passkey, matching behavior that was already present in the Inertia starter kits. Users see a friendlier, device-specific name rather than a generic placeholder.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Teams Kits: Button zum Verlassen eines Teams

Mitglieder können nicht-persönliche Teams jetzt direkt über die Teamliste verlassen, mit Bestätigungsdialog und automatischem Wechsel zum nächsten verfügbaren Team, falls das aktuelle Team verlassen wird.

Pull request by @WendellAdriel

Team members can now leave non-personal teams directly from the teams list page, without needing an owner to remove them. A confirmation modal prevents accidents, and if you leave the team you're currently on, you're automatically switched to your next available team.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel

Starter Kits: Passkey-Endpunkte über Well-Known-URL

Die Starter Kits stellen jetzt /.well-known/passkey-endpoints gemäß W3C-Spezifikation bereit, was für die Passkey-Nutzung auf Apple-Geräten nötig ist, sofern die Passkeys-Funktion bei der Installation aktiviert wurde.

Pull request by @benbjurstrom

Starter kits now expose /.well-known/passkey-endpoints as required by the W3C specification - a prerequisite for Apple devices to properly discover and use passkeys on your application. The endpoint is only included when the passkeys feature is enabled during installation.

Originalquelle(öffnet in neuem Tab)Problem melden