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

Boost: Security Audit für den add-skill-Befehl

Beim Installieren von Drittanbieter-Skills führt Boost nun ein nicht blockierendes Security Audit über Partnerdienste aus, das sich mit --skip-audit überspringen lässt.

Pull request by @pushpak1300

When you install a third-party skill, Boost now runs a non-blocking security audit via partner services. Results appear as a color-coded table so you can make an informed decision before proceeding. Skip it anytime with --skip-audit:

php artisan boost:add-skill owner/repo --all
php artisan boost:add-skill owner/repo --all --skip-audit

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Boost: UpgradeInertiaV3-Prompt für Inertia-Upgrade von v2 auf v3

Ein neuer Prompt liefert Schritt-für-Schritt-Anleitungen für das Upgrade von Inertia v2 auf v3 und zeigt nur die Schritte für das erkannte Frontend-Framework (React, Vue oder Svelte).

Pull request by @pushpak1300

Similar to the Laravel 13 upgrade prompt, this one provides step-by-step guidance for moving from Inertia v2 to v3. It detects your frontend framework (React, Vue, or Svelte) and renders only the relevant migration steps.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Boost: --discover-Flag für boost:update

php artisan boost:update --discover erkennt neu veröffentlichte Guideline-Pakete und Skills und lässt auswählen, welche hinzugefügt werden.

Pull request by @MrPunyapal

Running php artisan boost:update --discover now detects new guideline packages and skills that have been published since your last update, prompting you to select which ones to add.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Envoy: Summary-Modus für das DatabaseSchema-Tool

Das DatabaseSchema-Tool akzeptiert nun den Parameter summary, der nur Tabellennamen und Spaltentypen mit etwa 83 % weniger Tokens liefert.

Pull request by @sulimanbenhalim

The DatabaseSchema tool now accepts a summary parameter that returns only table names and column types - roughly 83% fewer tokens. AI agents can call summary first for an overview, then drill down with filter on specific tables when they need the full picture.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Pint: Neue Custom-Regel phpdoc_type_annotations_only

Die optionale Regel Pint/phpdoc_type_annotations_only entfernt alle PHPDoc-Kommentare außer Typannotationen und schließt das config-Verzeichnis standardmäßig aus.

An opt-in rule that strips all PHPDoc comments except type annotations. Enable it in your pint.json:

{
    "Pint/phpdoc_type_annotations_only": true
}

Before:

/**
 * Register any application services.
 */
public function register(): void

After:

public function register(): void

Type annotations like @var list<string> are preserved. The config directory is excluded by default. Best suited for new projects - enable with care on existing codebases.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Precognition: Verbesserung der Regel fully_qualified_strict_types

Die nun im Laravel-Preset standardmäßig aktive Regel fully_qualified_strict_types wandelt vollqualifizierte Klassennamen in PHPDoc-Annotationen automatisch in reguläre Imports um.

Now enabled by default in the Laravel preset, this improvement automatically converts fully qualified class names in PHPDoc annotations to regular imports:

+ use Database\Factories\UserFactory;

  class User extends Authenticatable
  {
-     /** @use HasFactory<\Database\Factories\UserFactory> */
+     /** @use HasFactory<UserFactory> */
      use HasFactory, Notifiable;

This applies automatically when you update Pint.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Prompts: Precognition 2.x ersetzt Axios durch fetch-Client

Precognition v2 bringt einen eingebauten fetch-basierten HTTP-Client mit, der Axios als feste Abhängigkeit ersetzt, das Bundle um bis zu 50 % verkleinert und bei Bedarf per Adapter weiterhin Axios erlaubt.

Pull request by @pascalbaljet

Precognition v2 ships with a built-in fetch-based HTTP client, dropping Axios as a hard dependency and reducing bundle size by up to 50%. The new client handles XSRF tokens, FormData conversion, and AbortController support out of the box. If you still need Axios for interceptors or other features, an adapter is provided:

import { client, axiosAdapter } from "laravel-precognition";

client.useHttpClient(axiosAdapter());

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

VS Code Extension: Operatoren in where() des Scout Builders

Der Query Builder von Scout (11.x) unterstützt nun where($field, $operator, $value) und erleichtert damit Bereichsabfragen.

Pull request by @gdebrauwer

Scout's query builder now accepts operators in where() clauses, making range queries straightforward without dropping into engine-specific callbacks:

User::search('taylor')
    ->where('created_at', '>', now()->subMonth()->timestamp)
    ->get();

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Herd Macos von Laravel

Herd 1.28.0 mit neuen Funktionen

Herd 1.28.0 ergänzt eine Team-Unterstützungsoption im Site-Erstellungsassistenten und eine neue Flagge für herd link, außerdem wurden einige Fehler behoben.

New features

  • The site creation wizard now includes an option to install team support when using a starter kit with authentication
  • Added --update-env flag to herd link that forces updating the APP_URL in your .env file, even when it already contains the current TLD

Fixes and Improvements

  • Fixed an issue where the ~/Herd directory was created during onboarding before the user had finished choosing a custom sites path
  • Fixed Svelte icon in site wizard

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.28.0 mit neuen Funktionen

Der Assistent zur Website-Erstellung bietet nun eine Option zur Installation von Team-Unterstützung bei Starter-Kits mit Authentifizierung, und der Befehl herd link erhält ein neues --update-env-Flag.

New features

  • The site creation wizard now includes an option to install team support when using a starter kit with authentication
  • Added --update-env flag to herd link that forces updating the APP_URL in your .env file, even when it already contains the current TLD

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Herd Macos von Laravel

Herd 1.27.0 mit neuen Funktionen

Herd 1.27.0 fügt RustFS als Dienst hinzu, bietet eine Option ohne Authentifizierung im Site-Assistenten und behebt mehrere Probleme.

New features

  • Added RustFS as a service for S3-compatible local storage
  • Site creation wizard includes a "None" option for new Laravel apps without authentication

Fixes and Improvements

  • Fixed a startup crash when the user's shell binary no longer exists
  • Fixed an issue where the sidebar lock icon would not update after toggling a site's secur/unsecure state
  • Fixed an undefined array key warning in herd init
  • Improved the linked site isolation UI to refresh in place
  • Updated the built-in cacert.pem bundle
  • Updated the built-in Laravel Installer

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.27.0 mit RustFS-Service

Herd bietet nun RustFS als Service für S3-kompatiblen lokalen Speicher an, und der Website-Assistent enthält eine "Keine"-Option für neue Laravel-Apps ohne Authentifizierung.

New features

  • Added RustFS as a service for S3-compatible local storage
  • Site creation wizard includes a "None" option for new Laravel apps without authentication

Fixes and Improvements

  • Fixed an issue where clicking dump links would not open PhpStorm correctly
  • Fixed broken "Learn more" documentation links
  • Updated the built-in cacert.pem bundle
  • Updated the built-in Laravel Installer

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel 12.x: temporaryUploadUrl für das local-Filesystem

Temporäre Upload-URLs über temporaryUploadUrl lassen sich jetzt auch mit dem local-Driver erzeugen, was konsistente Upload-Abläufe in lokalen, Staging- und Produktionsumgebungen erleichtert.

Pull request by @mnapoli

You can now generate temporary upload URLs even when you're using the local driver, making it much easier to build consistent upload flows across local, staging, and production environments.

use Illuminate\Support\Facades\Storage;

$url = Storage::disk('local')->temporaryUploadUrl(
    'uploads/incoming/video.mp4',
    now()->addMinutes(10),
    ['Content-Type' => 'video/mp4']
);

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel 12.x: makeMany-Methode für Factories

Die neue Methode makeMany() erzeugt mehrere Modellinstanzen im Speicher, ohne sie zu persistieren.

Pull request by @jackbayliss

makeMany() gives you a clean, expressive way to generate multiple in-memory model instances without persisting anything. It's ideal for tests, previews, and shaping data before a write.

$users = User::factory()->makeMany(3);

$payload = $users->map->only(['name', 'email']);

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel 12.x: Closures für Werte in firstOrCreate und createOrFirst

Bei firstOrCreate und createOrFirst können Attributwerte nun als Closure übergeben werden und werden nur berechnet, wenn der Datensatz tatsächlich erstellt wird.

Pull request by @gcavanunez

You can now lazily compute attribute values only when a record is actually being created. That means fewer unnecessary queries and less wasted work when the model already exists.

$location = Location::firstOrCreate(
    ['address' => $address],
    fn () => ['coordinates' => Geocoder::resolve($address)],
);

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel 12.x: afterSending-Methode für Notifications

Notifications unterstützen die Methode afterSending(), die nach dem Versand einer Benachrichtigung aufgerufen wird, etwa für Audit-Logging, Metriken oder Aufräumarbeiten.

Pull request by @gdebrauwer

afterSending() lets you hook into the lifecycle after a notification is dispatched, which is perfect for audit logging, metrics, or cleanup work without cluttering your notification channels.

class BookingNotification extends Notification
{
    public function __construct(
		public Booking $booking;
	) {
        //
	}

	public function via()
	{
		return ['mail'];
	}

	public function toMail()
	{
		// ...
	}

	public function afterSending($notifiable, $channel, $response)
	{
		$this->booking->update(['notified_at' => now()]);
	}
}

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel 12.x: whenFails und whenPasses im Validator

Der Validator erhält die Methoden whenFails und whenPasses, die vor allem bei Validierungen außerhalb des Request-Zyklus nützlich sind.

Pull request by @gdebrauwer

These helpers are particularly useful when you use the validator to validate data outside the request cycle where the error would not get picked up automatically by the HTTP handler.

Validator::make(
    ['file' => $file],
    ['file' => 'required|image|dimensions:min_width=100,min_height=200']
)->whenFails(function () {
    throw new InvalidArgumentException('Provided file is invalid');
});

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel 12.x: withoutHeader-Methode für Responses

Mit der neuen Methode withoutHeader() lassen sich Header wie Caching- oder Debug-Header aus einer Response entfernen.

Pull request by @miladev95

Removing headers is now straightforward with withoutHeader(), which is handy when you need to strip inherited headers (like caching or debug headers) before returning a response.

return response($content)->withoutHeader('X-Debug');

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel 12.x: Keine ASCII-Art-SVG auf Exception-Seite außerhalb des Browsers

Konsolen- und andere Nicht-Browser-Kontexte erhalten die dekorative ASCII-SVG der Exception-Seite nicht mehr, wodurch die Fehlerausgabe in Logs, CI, Agenten und API-Antworten sauberer wird.

Pull request by @serhiilabs

Console and non-browser contexts no longer receive the decorative ASCII SVG payload, keeping error output cleaner in logs, CI, agent, and API responses. Furthermore...

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel 12.x: ASCII-SVG-Logo der Exception-Seite per JavaScript

Die ASCII-SVG auf der Exception-Seite wird nun dynamisch mit JavaScript erzeugt, was die Ausgabe schlanker und für unterschiedliche Darstellungskontexte besser geeignet macht.

Pull request by @markjaquith

The exception page ASCII SVG is now generated on the fly with JavaScript, keeping output leaner and better suited to different rendering contexts.

Originalquelle(öffnet in neuem Tab)Problem melden