These filters were added to the `4.x` version of the Eloquent package here: https://github.com/laravel-json-api/eloquent/commit/05644f31eb086e4d640f15eac7d03752ffcde99f