- removed request macros
- sorts and field selects are not allowed by default and need to be explicitly allowed
- requesting an include suffixed with
Countwill add the related models' count using$query->withCount() - custom sorts and filters now need to be passed as instances
- renamed
Spatie\QueryBuilder\SorttoSpatie\QueryBuilder\AllowedSort - renamed
Spatie\QueryBuilder\IncludedtoSpatie\QueryBuilder\AllowedInclude - renamed
Spatie\QueryBuilder\FiltertoSpatie\QueryBuilder\AllowedFilter Filter,IncludeandSortinterfaces no longer need to return theBuilderinstanceallowedFieldsshould be called beforeallowedIncludes- filters can now have default values
- includes will be converted to camelcase before being parsed