Zum Inhalt springen

Laravel Release Notes

176 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 Framework von Laravel

Version 12.69.2: Standardwert für memoryExceededExitCode in Cloud

Laravel Framework v12.69.2 setzt einen Standardwert für memoryExceededExitCode in Cloud und korrigiert die Rückgabetypen bei withFreshQueryLog() und askWithCompletion().

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Version 13.30.1: insertOrIgnoreReturning(), dropVectorIndex() und Korrekturen

Laravel Framework v13.30.1 ergänzt Verbindung und Queue in WorkerStopping, fügt insertOrIgnoreReturning() und dropVectorIndex() hinzu und behebt limit() bei update() für SQL Server sowie verwaiste Redis-Tagged-Cache-Einträge.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Version 13.30.0: Stopp-Grund in queue:work, Storage::path() auf Disk-Root beschränkt

Laravel Framework v13.30.0 gibt den Stopp-Grund in queue:work aus, beschränkt Storage::path() auf das konfigurierte Disk-Root, unterstützt SQL-Server-DSN-Verbindungsstrings und enthält weitere Korrekturen.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Version 12.69.0: HTML im Exception-Tooltip aus, Passwort-Hash-Prüfung

Laravel Framework v12.69.0 deaktiviert HTML im Tooltip der Exception-Seite standardmäßig und prüft vor der Authentifizierung, ob der Passwort-Hash zum gespeicherten Cookie passt.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel 13.x: Cloud-Facade für Managed Queues

Die neue Facade Illuminate\Support\Facades\Cloud erlaubt zur Laufzeit zu prüfen, ob die Anwendung auf Laravel Cloud läuft und ob Managed Queues genutzt werden.

Pull request by @jackbayliss

Laravel now provides an Illuminate\Support\Facades\Cloud facade for inspecting Laravel Cloud at runtime. Cloud::hosted() determines whether the application is hosted on Laravel Cloud, Cloud::usesManagedQueues() detects the managed queue connection, and Cloud::queue() gives access to that connection when configured.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel 13.x: Read-Through-Filesystems

Der neue Filesystem-Treiber read-through liest Dateien zuerst von der primären Disk und kopiert sie bei Fund nur auf der Fallback-Disk automatisch auf die primäre Disk.

Pull request by @taylorotwell

Laravel now includes a read-through filesystem driver for gradually migrating files between disks. It checks the primary disk first; when a file exists only on the fallback disk, Laravel returns it and copies it to the primary disk for future requests. Writes and directory listings continue to target the primary disk, while streamed reads are supported without loading the entire file into memory.

'assets' => [
    'driver' => 'read-through',
    'primary' => 'r2',
    'fallback' => 'legacy-s3',
],

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel 13.x: Portable Eloquent-Vektor-Casts mit AsVector

Der Eloquent-Cast AsVector verarbeitet Vektorspalten als Float-Arrays, unterstützt MariaDB-Binär- und PostgreSQL-Textwerte und konvertiert Query-Bindings für MariaDB-Vektordistanzfunktionen korrekt.

Pull request by @eas4ai

Laravel now provides the AsVector Eloquent cast for working with vector columns as arrays of floats. The cast handles MariaDB's binary vector representation as well as PostgreSQL-compatible text values, accepts arrays and Arrayable objects when storing vectors, and correctly converts query bindings for MariaDB vector distance functions.

use Illuminate\Database\Eloquent\Casts\AsVector;

class Document extends Model
{
    protected $casts = [
        'embedding' => AsVector::class,
    ];
}

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel 13.x: Vektordistanz-Abfragen für MariaDB

Die Vektor-Abfragemethoden wie whereVectorSimilarTo und orderByVectorDistance unterstützen jetzt auch MariaDB und nutzen dessen Vektordistanzfunktionen.

Pull request by @Rhaima96

Laravel's vector query methods now support MariaDB's native vector capabilities. Methods such as whereVectorSimilarTo, whereVectorDistanceLessThan, orderByVectorDistance, and selectVectorDistance compile to MariaDB's vector distance functions, bringing the same expressive query API previously available for PostgreSQL to supported MariaDB releases.

$documents = Document::query()
    ->whereVectorSimilarTo('embedding', $queryEmbedding)
    ->orderByVectorDistance('embedding', $queryEmbedding)
    ->get();

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel 13.x: Sichere Redis-Befehle automatisch wiederholen

PhpRedis-Verbindungen verbinden sich nach vorübergehenden Verbindungsfehlern automatisch neu und wiederholen sichere Befehle, mit zusätzlichen Versuchen über REDIS_COMMAND_RETRIES.

Pull request by @taylorotwell

PhpRedis connections now automatically reconnect and retry safe commands following transient connection failures. Laravel retries a curated set of read-only commands and option-free SET operations once by default, while avoiding automatic retries for non-idempotent writes. Applications that need additional attempts may configure them with the REDIS_COMMAND_RETRIES environment variable.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel 13.x: Debounce für Queued Event Listeners

Das Attribut #[DebounceFor] lässt sich auf Queued Event Listeners anwenden, sodass bei mehreren Events zur selben Ressource nur der zuletzt dispatchte Listener verarbeitet wird.

Pull request by @stevebauman

The #[DebounceFor] attribute can now be applied to queued event listeners. When several events arrive for the same resource during the debounce period, Laravel processes only the most recently dispatched listener, making it a natural fit for work such as updating a product search index after a burst of changes. A maxWait value can ensure a continuous stream of events does not defer the listener indefinitely.

use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\Attributes\DebounceFor;

#[DebounceFor(30, maxWait: 120)]
class UpdateProductSearchIndex implements ShouldQueue
{
    public function debounceId(ProductUpdated $event): string
    {
        return (string) $event->product->getKey();
    }
}

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel Scout: Alle Queues auf einmal pausieren und fortsetzen

Mit php artisan queue:pause --all und queue:resume --all lassen sich alle Verbindungen und Queues auf einmal pausieren oder fortsetzen, inklusive neuer Events QueuesPaused und QueuesResumed.

Pull request by @jackbayliss

Laravel's queue commands now support php artisan queue:pause --all and queue:resume --all, allowing applications to pause or resume work across every connection and queue from one place. Global pauses are independent from per-queue pauses, and the new QueuesPaused and QueuesResumed events make it possible to observe these operations.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel Scout: Turbopuffer-Engine und semantische Datenbanksuche

Laravel Scout enthält jetzt eine Turbopuffer-Engine mit gebündelter Indexierung, automatischer Namespace-Erstellung, gewichteter BM25-Volltextsuche, Filtern und Vektordistanz-Metadaten ohne zusätzliches Turbopuffer-PHP-SDK, und die Datenbank-Engine unterstützt nun semantische und hybride Suche über die Scout-Builder-API.

Pull request by @taylorotwell

Laravel Scout now includes a Turbopuffer engine with batched indexing, automatic namespace creation, weighted BM25 full-text search, filtering, and vector distance metadata. It uses Laravel's HTTP client directly, so no additional Turbopuffer PHP SDK is required.

This release also introduces semantic and hybrid search support for Scout's database engine. Applications can use generated or precomputed embeddings through the familiar Scout builder API, with support for vector search, text search, filters, pagination, and configurable search weights.

$documents = Document::search('ocean climate')
    ->semantic()
    ->where('published', true)
    ->get();

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel AI: Semantische und hybride Meilisearch-Abfragen

Die Meilisearch-Engine von Scout unterstützt jetzt semantische und hybride Suche über die Builder-Methoden semantic() und hybrid(), wobei Embeddings per Laravel AI erzeugt oder selbst bereitgestellt werden können.

Pull request by @taylorotwell

Scout's Meilisearch engine now supports semantic and hybrid search. Configure an embedder and model embedding settings, then use Scout's semantic() or hybrid() builder methods to search with generated or precomputed vectors. Laravel AI is used to generate embeddings when needed, while applications may provide their own vectors for indexing and querying.

$results = Article::search('a guide to queues')
    ->hybrid(textWeight: 1, semanticWeight: 2)
    ->get();

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Laravel AI: Unbekannte Tool-Aufrufe reparieren

Laravel-AI-Agents können mit dem Attribut #[RepairToolCalls] nun auf Aufrufe unbekannter lokaler Tools reagieren, indem sie eine Liste der verfügbaren lokalen Tools zurückerhalten und die Generierung fortsetzen, statt abzubrechen.

Pull request by @pushpak1300

Laravel AI agents can now recover when a model requests an unknown local tool. Opting an agent into the #[RepairToolCalls] attribute returns a tool result containing its available local tools, allowing the model to correct the call and continue generation instead of aborting the loop. Provider-hosted tools are intentionally excluded from the repair response.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Version 13.27.0: refreshForUpdate() für Eloquent-Modelle

Laravel Framework v13.27.0 fügt Eloquent-Modellen die Methode refreshForUpdate() hinzu, verhindert doppelte Registrierungen von Scoped-Instanzen und gibt keine eindeutige Sperre mehr frei, die der Job nie erhalten hat.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Herd Macos von Laravel

Herd für macOS 1.30.0: PHP 8.6 Beta, CPX und Node.js 24

Herd unterstützt nun die PHP 8.6 Beta, bündelt CPX als Kommandozeilenwerkzeug, liefert Sites mit internationalisierten Domainnamen korrekt aus und bietet Node.js 24 an; zudem gibt es Verbesserungen wie aktualisierte Expose-, Laravel- und Composer-Binaries sowie ein aktualisiertes cacert.pem-Bundle.

New features

  • Added support for the PHP 8.6 beta
  • Added CPX as a bundled command-line tool
  • Sites with internationalized domain names are now served correctly
  • Added Node.js 24 to the available Node versions

Fixes and Improvements

  • Herd Updates won't overwrite newer Expose binaries
  • Prevent duplicate shell entries
  • Updated the built-in Expose, Laravel and Composer binaries
  • Updated the built-in cacert.pem bundle

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Herd Windows von Laravel

Herd Windows 1.30.0: PHP 8.6 beta, CPX und Node.js 24 LTS

Herd Windows 1.30.0 unterstützt die PHP 8.6 beta, bringt CPX als gebündeltes Kommandozeilenwerkzeug und Node.js 24 LTS mit, liefert Sites mit internationalisierten Domainnamen korrekt aus, erlaubt die Neuinstallation von Service-Binaries (derzeit PostgreSQL) und behebt doppelte Extension-Einträge in php.ini sowie aktualisiert mehrere integrierte Binaries.

New features

  • Added support for the PHP 8.6 beta
  • Added CPX as a bundled command-line tool
  • Service binaries can now be reinstalled from Settings → Services (currently available for PostgreSQL)
  • Sites with internationalized domain names are now served correctly
  • Added Node.js 24 LTS to the available Node versions

Fixes and Improvements

  • Fixed Herd writing duplicate extension entries in php.ini, causing "Module herd is already loaded" warnings
  • Newer Expose binaries are no longer overwritten when Herd updates its bundled copy
  • Updated the built-in Expose binary
  • Updated the built-in Laravel Installer
  • Updated the built-in Composer binary
  • Updated the built-in cacert.pem bundle

Originalquelle(öffnet in neuem Tab)Problem melden