118 wires and counting
$ status: archived — this briefing has stopped; the archive stays readable. browse live briefings →

$ status

wire 2026-05-26
stories 18

© 2026 RepoJournal Home Showcase Explore How it works Privacy

$ the-wire · showcase

LARAVEL 13 SHIPS JSON EXCEPTIONS FOR API ROUTES BY DEFAULT

By RepoJournal · Filed · About Laravel · Composed from the cited sources · methodology

Laravel's new default configuration now renders exceptions as JSON on API routes without requiring explicit Accept headers, fixing a friction point for API developers using tools like Postman and curl.

The framework landed a significant quality-of-life improvement for API development [1]. New Laravel applications will automatically return JSON-formatted exception responses for any route under `api/*`, eliminating the need for clients to send `Accept: application/json` headers. This uses the existing `shouldRenderJsonWhen()` API and doesn't introduce new surface area [2]. Alongside that, the framework fixed type hints in the Number class where `spell()`, `ordinal()`, and `spellOrdinal()` were incorrectly documented as returning `string` when they actually return `string|false` [3], and added support for URI-based SQLite connections using the `file:` prefix [4], matching modern PDO capabilities. Moat 1.0.4 shipped with dependency bumps [5], while maestro pinned GitHub Actions across starter kits for improved supply chain security [6].

Action items

References

  1. [1] [13.x] Render JSON exceptions for API routes by default (#6824) ↗ laravel/laravel
  2. [2] [13.x] Render JSON exceptions for API routes by default ↗ laravel/laravel
  3. [3] [13.x] Fix incorrect @return types in Number::spell(), ordinal(), and spellOrdinal() (#60263) ↗ laravel/framework
  4. [4] Supports using URI-based connection for SQLite using `file:` prefix (#60261) ↗ laravel/framework
  5. [5] v1.0.4 ↗ laravel/moat
  6. [6] Pin starter kit actions & ensure dependabot updates them ↗ laravel/maestro

Quick answers

What shipped in Laravel on May 26, 2026?
Laravel's new default configuration now renders exceptions as JSON on API routes without requiring explicit Accept headers, fixing a friction point for API developers using tools like Postman and curl. In total, 10 commits, 7 pull requests, and 1 releases landed.
Who contributed to Laravel on May 26, 2026?
2 developers shipped this update, including LucasCavalheri and jackbayliss.
What were the notable Laravel updates?
[13.x] Render JSON exceptions for API routes by default (#6824), [13.x] Render JSON exceptions for API routes by default, and [13.x] Fix incorrect @return types in Number::spell(), ordinal(), and spellOrdinal() (#60263).