github yajra/laravel-datatables v10.11.5

latest releases: v10.11.6, v11.1.8
one hour ago

Security fix for Eloquent relationship search

A crafted search request to an affected Eloquent DataTables endpoint could cause data loss in the underlying database. Automatic search now follows only relationships declared for eager loading on the root query. Polymorphic relationships and table-qualified column names are supported.

The first patched versions for the four release lines are 13.3.2, 12.7.3, 11.1.7, or 10.11.5.

For automatic search on owner.team.name, declare with('owner.team') on the root query. If you load team inside the eager-load callback for owner, register a custom filterColumn() for owner.team.name. The upgrade guide also covers custom Eloquent engines. Upgrade guide

Full changelog

Don't miss a new laravel-datatables release

NewReleases is sending notifications on new releases.