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 Framework 13.x - Return Markdown Responses

Pull request by @Ashot1995

The response factory now has a markdown() method for returning Markdown with the text/markdown content type. For example, response()->markdown($post->markdown) accepts optional status and header arguments, making it useful alongside request methods such as wantsMarkdown() when serving multiple representations of a page.

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel Framework von Laravel

Laravel Framework 13.x - Run Scheduled Tasks on One Server by Default

Pull request by @jackbayliss

Schedule::alwaysOnOneServer() opts every eligible scheduled task into onOneServer() without wrapping all tasks in a group or remembering to mark each new one. This helps avoid duplicate execution when multiple servers run the scheduler. Unnamed scheduled closures are left unchanged because they cannot use onOneServer().

use Illuminate\Support\Facades\Schedule;

Schedule::alwaysOnOneServer();

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel Framework von Laravel

Laravel Framework 13.x - Register QUERY Routes

Pull request by @joelbutcher

Laravel now supports the HTTP QUERY method in routing, including Route::query(). Route::any() also matches QUERY requests, and the route list recognizes the expanded set of methods. Unlike ordinary reading methods, QUERY routes remain subject to CSRF verification in the web middleware group.

use Illuminate\Support\Facades\Route;

Route::query('/products/search', SearchProductsController::class);

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel Framework von Laravel

Laravel Framework 13.x - Use OLAP Workloads with Vitess Connections

Pull request by @jackbayliss

MySQL connections now provide isVitess() to detect Vitess or PlanetScale and olap() to run a callback under Vitess's OLAP workload. The workload is set on both read and write connections and restored to OLTP afterward, even if the callback throws. On ordinary MySQL connections, the callback runs without changing the workload.

use Illuminate\Support\Facades\DB;

$results = DB::connection()->olap(fn () => Order::query()
    ->where('created_at', '>=', now()->subYear())
    ->get());

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel Framework von Laravel

Laravel Framework 13.x - Discover More Validation Rules Through Builders

Pull request by @ericmp33

Laravel now offers Rule builder methods for many validation rules that previously required string syntax, including requiredWith(), acceptedIf(), regex(), and timezone(). The methods make rules easier to discover through IDE completion while retaining their existing validation behavior.

use Illuminate\Validation\Rule;

$rules = [
    'name' => [Rule::requiredWith('email'), Rule::regex('/^[A-Za-z ]+$/')],
];

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel Framework von Laravel

Laravel Framework 13.x - Avoid Stale Reads After Database Writes

Pull request by @jackbayliss

The opt-in PreventStaleDatabaseReads middleware uses the write connection for a user's reads shortly after that user writes to the default database connection. It records the write time in the session and returns reads to replicas after two seconds by default, avoiding stale data immediately after an update. The window can be changed with PreventStaleDatabaseReads::for(15).

use Illuminate\Foundation\Http\Middleware\PreventStaleDatabaseReads;

$middleware->web(append: [PreventStaleDatabaseReads::class]);

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel Framework von Laravel

Laravel Framework 13.x - Temporarily Read from the Write Database Connection

Pull request by @jackbayliss

Connection::usingWritePdo() runs a callback with reads directed to the write connection, including queries made through related models on that connection. It restores the previous read preference afterward, even when the callback throws, so a critical read can avoid replica lag without changing later queries.

use Illuminate\Support\Facades\DB;

$posts = DB::connection()->usingWritePdo(fn () => User::query()
    ->where('email', $email)
    ->first()
    ?->posts()
    ->get());

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel Framework von Laravel

v13.39.0

Originalquelle(öffnet in neuem Tab)Problem melden

Herd Windows von Laravel

# Herd 2.0 is here!

After months of hard work, we are excited to show you a redesigned and new Herd experience. This release brings a new applications window, Herd Studio, worktree support, automatic artisan dev support, Laravel Cloud support, self-healing, and much more!

Herd Studio

We're introducing Herd Studio! The easiest way to interact with your agents right from your local sites. Just click on the "Edit with Herd" badge on any of your sites and jump into an opencode-powered agent chat - with additional context to make sure your agents spend less time guessing.

Parallel workspaces with separate databases for you and your agents

This one has been requested for quite a while! Herd now automatically detects available git worktrees and makes them available as a subdomain of your site - so every agent can automatically verify its work for you. The herd CLI also comes with a range of new commands to make copy-on-write creation of individual site workspaces really easy.

Artisan Dev support

Ever visited a local site only to find out that you still have to start a queue worker, Vite and more? …

Originalquelle(öffnet in neuem Tab)Problem melden

Laravel Framework von Laravel

v13.38.0

Originalquelle(öffnet in neuem Tab)Problem melden

Herd Macos von Laravel

## Herd 2.0 is here!

After months of hard work, we are excited to show you a redesigned and new Herd experience. This release brings a new applications window, Herd Studio, worktree support, automatic artisan dev support, Laravel Cloud support, self-healing, and much more!

Herd Studio

We're introducing Herd Studio! The easiest way to interact with your agents right from your local sites. Just click on the "Edit with Herd" badge on any of your sites and jump into an opencode-powered agent chat - with additional context to make sure your agents spend less time guessing.

Parallel workspaces with separate databases for you and your agents

This one has been requested for quite a while! Herd now automatically detects available git worktrees and makes them available as a subdomain of your site - so every agent can automatically verify its work for you. The herd CLI also comes with a range of new commands to make copy-on-write creation of individual site workspaces really easy.

Artisan Dev support

Ever visited a local site only to find out that you still have to start a queue worker, Vite and more? …

Originalquelle(öffnet in neuem Tab)Problem melden

Herd Macos von Laravel

Herd 2.0 gives your applications a dedicated window, so you can quickly create a new app, check out your agents' workspaces or deploy your apps.

Laravel Cloud support

Herd has added Laravel Cloud support - just connect your Cloud account with Herd and you can deploy your applications straight from Herd's UI.

And much more!

Fixes and Improvements

  • Restored the database shortcut in the site inspector
  • Fixed herd php:install 8.4 asking which version to install instead of installing 8.4
  • Updated the bundled CA certificates so Herd and PHP no longer trust the leaked eMudhra intermediates
  • The "Let's build something amazing" composer in the Applications window no longer takes up the top of the window permanently; it now opens when you click + or press Cmd+N, or while you have no applications yet
  • Added a list view to the Applications window
  • Double-clicking an application now opens the site itself instead of Herd Studio
  • Add Alias and Add Site To are now available for linked applications, so you can create groups and aliases for them again
  • Fixed an issue where dots in new application names were replaced with hyphens, so console.example became console-example.test
  • Restored the "Show Sites Without Valid Driver" option in the Sites window
  • Fixed Chrome rejecting secured sites with NET::ERR_CERT_AUTHORITY_INVALID after trusting the Herd certificate
  • Fixed Herd Studio hanging on "Loading conversation…" when a site's nginx config had lost Herd's error pages include …

Originalquelle(öffnet in neuem Tab)Problem melden

Herd Macos von Laravel

## 1.4.0 Changelog

This update adds new features, improves existing ones, and comes with an upgrade option to Herd Pro. While Herd Basic ships with everything that you need to develop Laravel applications, Herd Pro introduces new capabilities and convenience functions for professional users. Get Herd Pro at herd.laravel.com or open the settings to start the upgrade process.

Herd Basic

  • Added the possibility to install and use NVM (Node Version Manager) within Herd to quickly manage your Node environments
  • Added optional Xdebug extension
  • Added an opt-in beta channel for the latest updates
  • Added an option to disable notifications for PHP updates
  • Added an option to select your IDE to quickly open a project from the sites list or the log viewer

Herd Pro

  • Dumps: Intercept dump and dd calls and display them in an external window
  • Mail: Use the internal mail server and client to test and debug local emails
  • Logs: Trail and search through local log files of all your projects
  • Xdebug detection: Automatically enable Xdebug when setting a breakpoint in PHPStorm or enabling the debug mode via a browser extension

1.3.2

Originalquelle(öffnet in neuem Tab)Problem melden

Herd Windows von Laravel

## Herd 2.0 is here!

After months of hard work, we are excited to show you a redesigned and new Herd experience. This release brings a new applications window, Herd Studio, worktree support, automatic artisan dev support, Laravel Cloud support, self-healing, and much more!

Herd Studio

We're introducing Herd Studio! The easiest way to interact with your agents right from your local sites. Just click on the "Edit with Herd" badge on any of your sites and jump into an opencode-powered agent chat - with additional context to make sure your agents spend less time guessing.

Parallel workspaces with separate databases for you and your agents

This one has been requested for quite a while! Herd now automatically detects available git worktrees and makes them available as a subdomain of your site - so every agent can automatically verify its work for you. The herd CLI also comes with a range of new commands to make copy-on-write creation of individual site workspaces really easy.

Artisan Dev support

Ever visited a local site only to find out that you still have to start a queue worker, Vite and more? …

Originalquelle(öffnet in neuem Tab)Problem melden

Herd Windows von Laravel

Herd 2.0 gives your applications a dedicated window, so you can quickly create a new app, check out your agents' workspaces or deploy your apps.

Laravel Cloud support

Herd has added Laravel Cloud support - just connect your Cloud account with Herd and you can deploy your applications straight from Herd's UI.

And much more!

Fixes and Improvements

  • Fixed herd php:update and the Update button in Settings hanging forever after the download
  • herd php:update no longer reinstalls a PHP version that is already up to date
  • Fixed instances of Herd windows crashing on Windows 11 with Smart App Control turned on
  • PHP updates now specify a better error message
  • The Update button no longer disappears after a failed PHP update
  • herd php:update exits with code 1 when the update is declined or fails
  • Herd now starts when config.json is open in another program, for example Zed. Settings are saved once the file is free again
  • Better validation on port fields
  • Herd now shows a dialog when Windows can't open a site in the browser, for example when the default browser is no longer installed
  • Fixed a blank tray popup after its page failed to load, and the tray popup can no longer be resized
  • Fixed the Node settings page loading forever when nvm was locked by another process
  • Fixed MCP settings and Herd Studio errors when antivirus software blocks php.exe or git.exe from starting
  • Fixed several crashes in the Dumps window, Applications inspector, licensing page, site previews and agent notifications …

Originalquelle(öffnet in neuem Tab)Problem melden