Releases: spatie/laravel-query-builder
Releases · spatie/laravel-query-builder
5.7.0
What's Changed
- Start testing against PHP 8.3 by @sergiy-petrov in #899
- Add the possibility to use the literal relation names in the
allowedFields
. by @carvemerson in #917 - Add
unsetDefault
as a replacement fordefault(null)
which was removed in 5.6.0 by @patrickrobrecht in #902 - Allow passing an array to the
defaultSort
function as documented by @MajidMohammadian in #904 - Add
disable_invalid_includes_query_exception
config option by @dimzeta in #906 - Update
AllowedFilter.php
to includegetFilterClass
function by @justasSendrauskas in #909
New Contributors
- @sergiy-petrov made their first contribution in #899
- @carvemerson made their first contribution in #917
- @patrickrobrecht made their first contribution in #902
- @MajidMohammadian made their first contribution in #904
- @dimzeta made their first contribution in #906
- @justasSendrauskas made their first contribution in #909
Full Changelog: 5.6.0...5.7.0
5.6.0
What's Changed
- Add support for defining includes by callback by @enricodelazzari in #894
- Add nullable filters by @enricodelazzari in #895
- Fix escaping control characters in partial filters by @GrahamCampbell in #898
Full Changelog: 5.5.0...5.6.0
5.5.0
What's Changed
- Add support for
withExists
viaIncludedExists
by @enricodelazzari in #891 - Use default values for all config keys (avoids issues when
QueryBuilder
is used as a dependency in a package)
Full Changelog: 5.4.0...5.5.0
5.4.0
What's Changed
- Deprecate
request_data_source
config. TheQueryBuilder
will always look at both the query string and the request body when available now - Fix having
null
as the query parameter name for filters (see #889) - Bump actions/checkout from 3 to 4 by @dependabot in #890
Full Changelog: 5.3.0...5.4.0
5.3.0
What's Changed
- Accepts string value for the
fields
query parameter by @ezra-obiwale in #872 - Add
FiltersEndsWithStrict
filter by @utsavsomaiya in #885 - Make sure the
allowedSorts
are always set (even when none are requested) @luilliarcec in #865
New Contributors
- @ezra-obiwale made their first contribution in #872
- @utsavsomaiya made their first contribution in #885
Full Changelog: 5.2.0...5.3.0
5.2.0
What's Changed
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in #843
- Update sorting.md by @shukriYusof in #846
- Update custom sorts link in documentation by @turpoint in #844
- Add config to disable InvalidSortQuery exception by @bohemima in #830
New Contributors
- @shukriYusof made their first contribution in #846
- @turpoint made their first contribution in #844
- @bohemima made their first contribution in #830
Full Changelog: 5.1.2...5.2.0
5.1.2
What's Changed
- Update including-relationships.md by @designvoid in #837
- Fix workflow badges in README by @nelson6e65 in #841
- Laravel 10.x Compatibility by @laravel-shift in #842
New Contributors
- @designvoid made their first contribution in #837
- @nelson6e65 made their first contribution in #841
- @laravel-shift made their first contribution in #842
Full Changelog: 5.1.1...5.1.2
5.1.1
What's Changed
- Fix
array_diff_assoc
BC break in v5.1.0 by @stevebauman in #827
New Contributors
- @stevebauman made their first contribution in #827
Full Changelog: 5.1.0...5.1.1
5.1.0
What's Changed
- Feature: Update Generics in IncludeInterface by @sidigi in #810
- Feature: Add PHP 8.2 Support by @patinthehat in #825
- Feature: Add
beginsWithStrict
filter by @danilopinotti in #821 - Bugfix: ignore allowed filters by @davidjr82 in #818
- Bugfix: Change self to static when creating query builder by @olliescase in #819
- Docs: Update filtering.md by @Dion213 in #801
- Misc: Add Dependabot Automation by @patinthehat in #823
- Misc: Bump actions/checkout from 2 to 3 by @dependabot in #824
New Contributors
- @Dion213 made their first contribution in #801
- @sidigi made their first contribution in #810
- @patinthehat made their first contribution in #823
- @dependabot made their first contribution in #824
- @davidjr82 made their first contribution in #818
- @olliescase made their first contribution in #819
- @danilopinotti made their first contribution in #821
Full Changelog: 5.0.3...5.1.0
4.0.4
What's Changed
- bugfix: appending to
pluck
ed values (that are not aModel
) is not possible - Add version number to installation command in V4 by @jamesbhatta in #786
Full Changelog: 4.0.3...4.0.4