JSON Schema Deserialization in Laravel 13.14

Last updated on by

JSON Schema Deserialization in Laravel 13.14 image

The Laravel team released v13.14.0 (on 06/04/2026) with a new deserializer for the JSON Schema library, fixes to how queue jobs inherit attributes, more visibility into pending jobs, and a round of HTTP client and mail fixes.

  • JsonSchema::fromArray() for rebuilding Type objects from arrays
  • Child queue properties now override inherited queue attributes
  • A queue property added to InspectedJob
  • Falsy JSON payloads cached correctly in HTTP client responses
  • Mail embed and null header fixes

What's New

JSON Schema Array Deserialization

@pushpak1300 added JsonSchema::fromArray(), which converts a raw JSON Schema array back into a Type object. Until now the library only went one direction: you could build Type objects and serialize them to arrays. The new Deserializer mirrors the existing Serializer, so a schema received over the wire can be turned back into the objects the rest of the API expects.

$type = JsonSchema::fromArray([
'type' => 'object',
'properties' => [
'name' => ['type' => 'string', 'minLength' => 1],
'age' => ['type' => 'integer', 'minimum' => 0],
],
'required' => ['name'],
]);
// Returns an ObjectType

The two operations round-trip, so JsonSchema::fromArray() applied to a serialized type produces an equivalent type.

PR: #60384

Child Queue Properties Override Inherited Attributes

@mattiasgeniar fixed an inheritance edge case in the queue system. Previously, when a parent class declared a queue attribute such as #[Timeout(40)], a child class could not override it by redeclaring the matching property with a different value. The fix sets a clear precedence: same-class attributes still win over same-class default properties, runtime-modified properties stay prioritized, and child class properties now override queue attributes inherited from a parent.

PR: #60369

Queue Name on Inspected Jobs

@jackbayliss added a queue property to the InspectedJob class, so you can see which queue a job is assigned to when inspecting pending jobs. The property is tracked for both the database and Redis queue drivers.

PR: #60374

Falsy JSON Payloads Cached Correctly

@Button99 fixed a bug where valid falsy JSON payloads (false, 0, or null) were not cached on HTTP client responses. The fix uses a separate boolean flag to track whether decoding has happened, so a falsy decoded value is no longer mistaken for "not yet decoded" and re-decoded on each access.

PR: #60357

Mail and Header Fixes

This release also includes several fixes:

References

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.

image
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
No Compromises logo

No Compromises

Joel and Aaron, the two seasoned devs from the No Compromises podcast, are now available to hire for your Laravel project. ⬧ Flat rate of $9500/mo. ⬧ No lengthy sales process. ⬧ No contracts. ⬧ 100% money back guarantee.

No Compromises
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media

The latest

View all →
Generate Short, URL-Safe IDs From Numbers With Sqids image

Generate Short, URL-Safe IDs From Numbers With Sqids

Read article
Scheduler List: A Web Dashboard for Laravel's Scheduled Tasks image

Scheduler List: A Web Dashboard for Laravel's Scheduled Tasks

Read article
Community Laravel Extension for Zed image

Community Laravel Extension for Zed

Read article
Advanced Eloquent Query Filtering with Filterable image

Advanced Eloquent Query Filtering with Filterable

Read article
Bulk Job Dispatching with Bus::bulk() in Laravel 13.13 image

Bulk Job Dispatching with Bus::bulk() in Laravel 13.13

Read article
Audit Laravel Apps for Security Issues with Checkpoint image

Audit Laravel Apps for Security Issues with Checkpoint

Read article