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

ucwords für Str und Stringable sowie PHP-8.5-Kompatibilität

Stringable erhält die Methode ucwords, die im Gegensatz zu title den Rest des Strings unverändert lässt, und mehrere Pakete wurden für die Kompatibilität mit PHP 8.5 aktualisiert.

Pull request by @braxey

A ucwords method was added to Stringable, allowing fluent uppercasing of the first letter of a string. Note that this differs from title in that the rest of the string remains untouched.

// Taylor Otwell, Creator Of Laravel
$name = $this->string('taylor otwell, creator of laravel')->ucwords();

A number of packages were updated to ensure they maintained compatibility with the newly released PHP 8.5, including:

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Boost unterstützt jetzt Gemini

Google Gemini wurde zu Boost hinzugefügt.

Pull request by @iruoy

Google's Gemini has been added to Boost. This addition marks the completion of our support for all major code environments, further empowering developers with enhanced Laravel capabilities.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Boost: Benutzerdefinierte Guidelines haben Vorrang

Benutzerdefinierte Guidelines haben in Boost nun Vorrang vor den Presets, wobei die Überschreibungsstrategie erhalten bleibt.

Pull request by @phpfour

User guidelines now take precedence over the Boost presets while maintaining the overrides strategy, giving developers more control over how instructions are interpreted by agents.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Boost: Sail-Unterstützung in Guidelines

Ist Boost mit aktiviertem Sail installiert, wechseln die Agent-Anweisungen automatisch auf Sail-spezifische Befehle statt nativer CLI-Befehle.

Pull request by @pushpak1300

Sail now has first-class support across all guidelines. When a project installs Boost with Sail enabled, agent instructions now automatically switch to Sail-specific commands rather than native CLI commands.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

Boost: Filament-Guidelines entfernt

Die Filament-Guidelines wurden aus Boost entfernt, da sie dank der Third-Party-Guidelines-Funktion nun im Filament-Paket selbst liegen können.

Pull request by @pushpak1300

With the new third-party guidelines feature, these guidelines can now live within the Filament package and automatically stay full up to date with any new Filament features introduced.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

MCP: OpenCode-Unterstützung hinzugefügt

OpenCode lässt sich nun wie jeder andere Agent in die Workflows einbinden.

Pull request by @calebdw

Developers now have seamless integration of OpenCode in their workflows, with the ability to take advantage of its power just like any other agent.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

MCP: Unterstützung für das _meta-Feld

Das MCP-Paket unterstützt das _meta-Feld der MCP-Spezifikation vollständig, sodass Metadaten an Tools/Resources/Prompts, am Ergebnis-Envelope und an einzelnen Inhaltselementen angehängt werden können.

Pull request by @pushpak1300

The MCP package now fully supports the _meta field as documented in the MCP specification. Users can now attach metadata at three different levels: on tools/resources/prompts (in listings), on the result envelope (for execution metadata), and on individual content items.

public function handle(Request $request): Response
{
    return Response::text('The content generated by the tool.')
        ->withMeta('x', 'y');
}

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Neue Methode daysOfMonth() für geplante Tasks

Mit der neuen Methode daysOfMonth() lassen sich Tasks an mehreren bestimmten Tagen eines Monats ausführen, etwa am 1. und 15.

Pull request by @yousefkadah

Previously, there wasn't a way to schedule tasks on multiple arbitrary days of the month (e.g., 1st, 10th). A daysOfMonth() method was added that allows scheduling tasks to run on multiple specific days of the month with a clean, intuitive API.

$schedule->command('process-payroll')
    ->daysOfMonth(1, 15) // 1st and 15th of each month
    ->timezone('America/New_York');

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Neue Validierungsregel encoding für hochgeladene Dateien

Die neue Validierungsregel encoding prüft mit mb_check_encoding(), ob der Inhalt einer Datei oder eines Strings der erwarteten Kodierung entspricht.

Pull request by @ziadoz

A new encoding validation rule was added that checks the contents of a file or string matches a specific encoding using mb_check_encoding(), ensuring that uploaded files are encoded as expected before processing.

Validator::validate($input, [
    'attachment' => [
        'required',
        File::types(['csv'])->encoding('utf-8'),
    ],
]);

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Neue Blade-Direktive @hasStack

Die neue Direktive @hasStack umschließt @stack-Direktiven und gibt Markup nur aus, wenn der Stack nicht leer ist.

Pull request by @browner12

The new @hasStack directive can be used to wrap @stack directives for conditional output depending on if the stack is empty or not. This is useful if you want some markup to wrap the stack only if it is not empty.

@hasStack("list")
<ul>
    @stack("list")
</ul>
@endif

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

route:list erhält Filter --middleware

Der Befehl route:list besitzt jetzt die Option --middleware, mit der sich die Ausgabe nach einer Middleware-Klasse oder Middleware-Gruppe filtern lässt.

Pull request by @jasonmccreary

A --middleware option was added to the route:list command to filter output by middleware. This can be a single middleware class name or a middleware group name, allowing you to easily see routes with the specified middleware applied.

php artisan route:list --middleware=api
php artisan route:list --middleware=ThrottleRequests

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Neuer Testing-Trait WithCachedRoutes

Der neue Testing-Trait WithCachedRoutes hält die Routen während des Test-Setups als statische Eigenschaft vor, sodass nachfolgende Tests sie nicht erneut von der Festplatte lesen müssen.

Pull request by @cosmastech

A new testing trait called WithCachedRoutes was introduced. This testing trait stores the routes as a static property within a Testing\CachedState object during test setup, ensuring subsequent tests do not need to read from disk.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Neue Methode Factory@insert() für Eloquent Factories

Eloquent Factories erhalten die Methode insert() für Masseneinfügungen von Models, was Tests mit vielen Datenbankeinträgen beschleunigt.

Pull request by @cosmastech

The insert() method was added to Eloquent Factories, allowing you to perform a mass insert of models. This increases performance during testing with numerous of database records.

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

Stringable::ucwords hinzugefügt und PHP-8.5-Kompatibilität

Stringable und Str erhalten eine Methode ucwords, die im Unterschied zu title den Rest des Strings unverändert lässt, und mehrere Pakete wurden für die Kompatibilität mit PHP 8.5 aktualisiert.

Pull request by @braxey

A ucwords method was added to Stringable, allowing fluent uppercasing of the first letter of a string. Note that this differs from title in that the rest of the string remains untouched.

// Taylor Otwell, Creator Of Laravel
$name = $this->string('taylor otwell, creator of laravel')->ucwords();

A number of packages were updated to ensure they maintained compatibility with the newly released PHP 8.5, including:

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel

MCP: Unterstützung für das _meta-Feld

Das MCP-Paket unterstützt das _meta-Feld der MCP-Spezifikation vollständig, sodass Metadaten an Tools, Ressourcen und Prompts, am Ergebnis sowie an einzelnen Inhaltselementen angehängt werden können.

Pull request by @pushpak1300

The MCP package now fully supports the _meta field as documented in the MCP specification. Users can now attach metadata at three different levels: on tools/resources/prompts (in listings), on the result envelope (for execution metadata), and on individual content items.

public function handle(Request $request): Response
{
    return Response::text('The content generated by the tool.')
        ->withMeta('x', 'y');
}

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Herd Macos von Laravel

Herd 1.24.0 für macOS mit PHP 8.5-Support

Herd unterstützt nun vollständig PHP 8.5 und bietet einen manuellen Theme-Umschalter, der unabhängig von der Betriebssystemeinstellung funktioniert.

New features

  • Added full support for PHP 8.5
  • We added a manual theme switcher, in case you want to control Herd's theme independent of your OS preference

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Herd Windows von Laravel

Herd 1.24.0 für Windows mit PHP 8.5-Support

Herd für Windows unterstützt nun vollständig PHP 8.5 und behebt ein Problem, bei dem ein Website-Fehler die Pro-Lizenz während der Lizenzprüfung deaktivieren konnte.

New features

  • Added full support for PHP 8.5

Fixes and Improvements

  • We fixed an issue where a Herd website error could cause your Pro license to become disabled during license verification checks

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Herd Windows von Laravel

Herd 1.23.0 für Windows mit Verbesserungen

Herd für Windows aktualisiert Laravel-Installer und Composer, verbessert die Einführung für neue Benutzer und behebt mehrere Fehler, darunter eine Warnung bei Adminer.

Fixes and Improvements

  • Updated the Laravel installer and Composer to the latest versions
  • Improved the onboarding process for new users
  • Fixed deprecation warning that appeared when using Adminer
  • Fixed an issue where the query interception would throw an error when no database version could be determined
  • Updated MongoDB and Xdebug extension versions

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Herd Macos von Laravel

Herd 1.23.0 für macOS mit neuen Funktionen

Herd Pro unterstützt jetzt Valkey 7.x und 8.x, öffnet beim Neustart den Allgemeine-Einstellungen-Bildschirm und enthält zahlreiche Fehlerbehebungen und Leistungsverbesserungen.

New features

  • Herd Pro now adds support for installing Valkey 7.x and 8.x services
  • Reopening Herd now opens up the General settings screen

Fixes and Improvements

  • Updated the Laravel installer and Composer to the latest versions
  • Improved the overall site UI performance
  • Improved the onboarding process for new users
  • Fixed deprecation warning that appeared when using Adminer
  • Fixed an issue where copying the site URL would copy the path instead
  • Fixed a rare crash that could occur when securing a linked site via the UI
  • Fixed an issue where the query interception would throw an error when no database version could be determined

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Laravel Framework von Laravel

HTTP-Batch-Ergebnisse in angeforderter Reihenfolge

Ergebnisse von Http::batch werden jetzt in der Reihenfolge der definierten Requests statt in der Antwortreihenfolge zurückgegeben und berücksichtigen per as benannte Requests.

Pull request by @jessarcher

Previously, Http::batch results were sorted in the order that the responses came back, rather than the order that the requests were defined:

dump(Http::batch(fn (Batch $batch) => [
    $batch->get('https://httpbin.org/delay/3'),
    $batch->get('https://httpbin.org/delay/2'),
    $batch->get('https://httpbin.org/delay/1'),
])->send());

array:3 [
  2 => Illuminate\Http\Client\Response {#419}
  1 => Illuminate\Http\Client\Response {#374}
  0 => Illuminate\Http\Client\Response {#328}
]

The results are now sorted before they are returned, respecting any requests named with the as method. Learn more about request batching.

Originalquelle(öffnet in neuem Tab)Problem melden