Easily build Eloquent queries from API requests
Full Changelog: https://github.com/spatie/laravel-query-builder/compare/6.0.0...6.0.1
Full Changelog: https://github.com/spatie/laravel-query-builder/compare/5.8.1...6.0.0
Full Changelog: https://github.com/spatie/laravel-query-builder/compare/5.8.0...5.8.1
Full Changelog: https://github.com/spatie/laravel-query-builder/compare/5.7.0...5.8.0
allowedFields
. by @carvemerson in https://github.com/spatie/laravel-query-builder/pull/917
unsetDefault
as a replacement for default(null)
which was removed in 5.6.0 by @patrickrobrecht in https://github.com/spatie/laravel-query-builder/pull/902
defaultSort
function as documented by @MajidMohammadian in https://github.com/spatie/laravel-query-builder/pull/904
disable_invalid_includes_query_exception
config option by @dimzeta in https://github.com/spatie/laravel-query-builder/pull/906
AllowedFilter.php
to include getFilterClass
function by @justasSendrauskas in https://github.com/spatie/laravel-query-builder/pull/909
Full Changelog: https://github.com/spatie/laravel-query-builder/compare/5.6.0...5.7.0
Full Changelog: https://github.com/spatie/laravel-query-builder/compare/5.5.0...5.6.0
withExists
via IncludedExists
by @enricodelazzari in https://github.com/spatie/laravel-query-builder/pull/891
QueryBuilder
is used as a dependency in a package)Full Changelog: https://github.com/spatie/laravel-query-builder/compare/5.4.0...5.5.0
request_data_source
config. The QueryBuilder
will always look at both the query string and the request body when available nownull
as the query parameter name for filters (see #889)Full Changelog: https://github.com/spatie/laravel-query-builder/compare/5.3.0...5.4.0
fields
query parameter by @ezra-obiwale in https://github.com/spatie/laravel-query-builder/pull/872
FiltersEndsWithStrict
filter by @utsavsomaiya in https://github.com/spatie/laravel-query-builder/pull/885
allowedSorts
are always set (even when none are requested) @luilliarcec in https://github.com/spatie/laravel-query-builder/pull/865
Full Changelog: https://github.com/spatie/laravel-query-builder/compare/5.2.0...5.3.0
Full Changelog: https://github.com/spatie/laravel-query-builder/compare/5.1.2...5.2.0