Zum Inhalt springen

Laravel Release Notes

604 Einträge aus 4 Quellen. Zuletzt aktualisiert:

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

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel Prompts: Neuer number-Prompt

Der neue number-Prompt erfasst numerische Eingaben mit Validierung, automatischer Begrenzung auf Min/Max und Wertanpassung per Pfeiltasten.

Pull request by @joetannenbaum

A new number prompt makes it easy to collect numeric input with validation baked in, perfect for CLI setup flows and interactive tooling. Features automatic clamping of the min/max values and adjusting the value via the up and down arrows.

$retries = number('How many retries?', default: 3, min: 0, max: 10);

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Herd Macos von Laravel

Laravel Herd MacOS 1.26.1 mit Svelte-Unterstützung

Der Website-Erstellungsassistent bietet nun Svelte als Starter-Kit-Option, und mehrere Fehler wurden behoben, darunter das Ignorieren der expose.yml-Konfiguration durch herd share.

New features

  • Added Svelte as a starter kit option in the site creation wizard

Fixes and Improvements

  • Fixed an issue where herd share didn't respect the expose.yml configuration file
  • Fixed an issue where installed Node.js versions were not sorted by major version
  • Updated the built-in Laravel Installer to v5.24.6

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Herd Windows von Laravel

Laravel Herd Windows 1.26.0 mit neuen CLI-Befehlen

Neue herd services:*- und herd php:*-Befehle ermöglichen die Dienst- und PHP-Verwaltung über die CLI, und Svelte wurde als Starter-Kit-Option hinzugefügt.

New features

  • Services can now be cloned directly from the context menu in Settings
  • You can now manage services directly from the command line with new herd services:* commands: list, create, clone, delete, start, and stop
  • Added herd php:list and herd php:update commands for managing PHP versions via CLI
  • Added herd laravel:update command to automatically update the Laravel Installer without opening the GUI
  • Added Svelte as a starter kit option in the site creation wizard

Fixes and Improvements

  • Fixed an issue where herd share didn't respect the expose.yml configuration file
  • Fixed an issue where installed Node.js versions were not sorted by major version
  • Fixed an issue where restarting the internal API server was not possible after changing the port
  • Updated the built-in Composer binary
  • Updated the built-in Laravel Installer

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Herd Macos von Laravel

Laravel Herd MacOS 1.26.0 mit CLI-Befehlen

Dienste können nun im Kontextmenü geklont und über neue herd services:*-Befehle sowie herd php:*- und andere CLI-Befehle verwaltet werden.

New features

  • Services can now be cloned directly from the context menu in Settings
  • You can now manage services directly from the command line with new herd services:* commands: list, create, clone, delete, start, stop, available, and versions
  • Added herd php:list, herd php:install, and herd php:update commands for managing PHP versions via CLI
  • Added herd sites command to list all configured sites (supports --json flag)
  • Added herd laravel:update command to automatically update the Laravel Installer without opening the GUI
  • Added herd debug:start and herd debug:stop commands for managing debug sessions (Pro)

Improvements

  • Updated the built-in Composer binary
  • Updated the built-in Laravel Installer

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Laravel 12.x: Neue Direktive @includeIsolated

Die neue Blade-Direktive @includeIsolated bindet Partials isoliert ein, sodass sie nur explizit übergebene Variablen erhalten.

Pull request by @KennedyTedesco

When you need to reuse a partial without accidentally leaking variables in (or out), @includeIsolated gives you a clean, predictable boundary - great for shared UI components and emails where "mystery data" can be costly to debug.

{{-- Only receives what you pass explicitly --}}
@includeIsolated("partials.alert", ["type" => "success", "message" => $message])

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Laravel 12.x: Cache::withoutOverlapping() ergänzt

Cache::withoutOverlapping() wrappt Cache::lock()->block() und verhindert überlappende Ausführungen mit weniger Boilerplate.

Pull request by @mathiasgrimm

This adds a tidy, expressive wrapper around cache locks, so you can prevent overlapping work with less boilerplate. Perfect for cron jobs, report generation, and any "only one at a time" tasks.

Cache::withoutOverlapping('reports:daily')
    ->block(10, function () {
        // This work will not run concurrently.
        GenerateDailyReport::run();
    });

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Laravel 12.x: Vector Embeddings in der Datenbank

Laravel erweitert seine Vector-Fähigkeiten um Unterstützung für Vector Embeddings in der Datenbank.

Pull request by @taylorotwell

This work moves Laravel's "vector" capabilities forward, helping set the stage for richer integrations and smoother workflows when dealing with embeddings and similarity search. If you're exploring AI-powered features, this one's for you.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Laravel 12.x: Neue Methode Collection::containsManyItems()

Die neue Methode containsManyItems prüft, ob eine Collection zwei oder mehr Elemente enthält, als Ergänzung zu containsOneItem.

Pull request by @stevebauman

A new containsManyItems method was added to complement the existing containsOneItem, enabling you to do a quick check to see if a collection contains two or more items.

match (true) {
    $collection->isEmpty() => '...',
    $collection->containsOneItem() => '...',
    $collection->containsManyItems() => '...',
};

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Laravel 12.x: JSON:API-Resource

Laravel unterstützt jetzt JSON:API-Resources, um standardkonforme APIs mit einheitlicher Struktur einfacher bereitzustellen.

Pull request by @crynobone

This introduces JSON:API resource support, making it easier to ship standards-compliant APIs with consistent structure across teams and services. If you're standardizing responses (or integrating with clients that expect JSON:API), this helps reduce custom formatting and makes your API surface more predictable.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Laravel 12.x: BackedEnum als Session-Keys

Backed Enums können nun als Session-Keys verwendet werden.

Pull request by @ahinkle

You can now use backed enums as session keys, which keeps key names centralized and typo-proof, especially helpful in larger apps where session keys tend to spread over time.

enum CheckoutSession: string
{
    case Cart = 'checkout.cart';
    case ShippingAddress = 'checkout.shipping_address';
    case PaymentMethod = 'checkout.payment_method';
}

session()->put(CheckoutSession::Cart, $items);
session()->get(CheckoutSession::Cart);

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Laravel 12.x: BackedEnum für Cache-Keys erlaubt

Backed Enums lassen sich nun auch als Cache-Keys verwenden.

Pull request by @jackbayliss

Same productivity boost, now for cache: backed enums can be used as cache keys, helping you standardize key naming and avoid subtle collisions. Great fit for teams that want a single source of truth for cache identifiers.

enum CacheKey: string
{
    case Settings = 'settings.global';
}

Cache::put(CacheKey::Settings, $settings, now()->addHour());

$settings = Cache::get(CacheKey::Settings);

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Laravel 12.x: Flag --readable für env:encrypt

Das neue Flag --readable bei env:encrypt hält Schlüsselnamen in der verschlüsselten Env-Ausgabe sichtbar und schützt weiterhin die Werte.

Pull request by @mathiasgrimm

A practical quality-of-life improvement: --readable makes encrypted env output easier to audit by keeping key names visible, which helps during reviews and incident response while still protecting secret values. If you're hardening deployments, this pairs nicely with Laravel's environment encryption workflow.

php artisan env:encrypt --readable

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Inertia: Optionen async und sync für cancelAll

Die Methode cancelAll erhält Optionen async und sync, und router.cancelAll({ async: false }) ersetzt das veraltete router.cancel().

Pull request by @pascalbaljet

Replacing the deprecated router.cancel(), you can now get the same functionality with router.cancelAll({ async: false }). Giving you more control over request cancellation means smoother UX under heavy navigation or rapid input.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Inertia: Neuer useFormContext-Hook für Formulare

Der neue Hook useFormContext erlaubt es Kindkomponenten, auf das Formular der Elternkomponente zuzugreifen, ohne Props durchreichen zu müssen.

Pull request by @laserhybiz

The new useFormContext hook allows child components to know about parent component forms without having to do a bunch of unnecessary prop drilling.

<!-- Parent.vue -->
<template>
    <Form action="/users" method="post">
        <Input name="name" />
    </Form>
</template>

<!-- Input.vue -->
<script setup>
import { useFormContext } from "@inertiajs/vue3";

defineProps({
    name: {
        type: String,
        required: true,
    },
});

const form = useFormContext();
</script>

<template>
    <input type="text" :name="name" />

    <div v-if="form.errors[name]">
        {{ form.errors[name] }}
    </div>
</template>

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Starter Kits: Form Helper erhält Methode dontRemember()

Mit der neuen Methode dontRemember() am Form Helper lässt sich das Form-Remembering von Inertia gezielt abschalten, etwa bei sensiblen Formularen wie Passwort-Resets oder Einladungs-Abläufen.

Pull request by @pascalbaljet

This gives you a straightforward way to opt out of Inertia's form remembering behavior when it's not desired. This is handy for sensitive forms or one-time flows where you don't want old values sticking around (e.g., password resets, invite flows).

We made a slew of updates to all of our Starter Kits this month! Amongst the various tune-ups:

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Starter Kits: Sicherere Standardwerte im AppServiceProvider

Der AppServiceProvider setzt nun sicherere Standards: unveränderliche Datumswerte mit CarbonImmutable, keine destruktiven Befehle in Produktion und sicherere Passwörter in Produktion.

Pull request by @WendellAdriel

Safer defaults in the AppServiceProvider reduce the "oops" factor on new projects, helping you start with a more secure, production-friendly baseline while keeping the kit lightweight and easy to customize.

- Enforcing immutable dates with CarbonImmutable
- Not allowing destructive commands in production
- Requiring safer passwords by default in production

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Starter Kits: Livewire 4 wird unterstützt

Die Livewire Starter Kits sind jetzt für Livewire 4 vorbereitet, sodass neue Projekte direkt darauf aufbauen können.

Pull request by @calebporzio

The Livewire starter kits are now ready for Livewire 4, so you can begin new builds on the latest Livewire foundation without spending time on upgrade plumbing. If you're planning a fresh app, this keeps your starting line modern.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Boost: Pint-Konfiguration und Composer-Skripte fürs Linting

Enthalten sind jetzt eine Pint-Konfigurationsdatei und Composer-Hilfsskripte, mit denen sich der gesamte Code per einzelnem Befehl formatieren lässt.

Pull request by @WendellAdriel

Out-of-the-box linting makes teams faster: consistent formatting, fewer style nits in code review, and easier onboarding. The included Pint config plus utility scripts make "format everything" a one-command habit.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Boost 2.0 mit Skills für KI-Agenten

Laravel Boost 2.0 führt Skills ein und wandelt viele Paket-Guidelines in Agent Skills um, die nur bei Relevanz geladen werden, wodurch die bestehenden Guidelines etwa 40 Prozent schlanker sind.

We shipped Skills in Laravel Boost 2.0, a major upgrade to how AI agents understand and work with your Laravel applications.

This update transitions many package guidelines into agent skills, enabling significantly better context management. By loading package-specific knowledge only when it is relevant, agents produce more accurate, higher-quality Laravel code with far less context noise. This is a must-have upgrade for getting the best results from AI agents when building Laravel applications.

As a result, existing guidelines are now roughly ~ 40 percent leaner, making agent responses more focused and much higher quality.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Boost: Neuer Laravel Code Simplifier Prompt

Ein neuer Prompt zur Code-Vereinfachung hilft dabei, umfangreichen oder repetitiven Laravel-Code in sauberere, idiomatische Muster umzuwandeln.

Pull request by @pushpak1300

A dedicated "code simplifier" prompt helps you quickly turn verbose or repetitive Laravel code into clean, idiomatic patterns, great for polishing PRs and accelerating refactors when you're moving fast.

Originalquelle(öffnet in neuem Tab)Problem melden