Skip to content

2.2.0

Compare
Choose a tag to compare
@d8vjork d8vjork released this 18 Oct 15:22
· 180 commits to main since this release
ca70bad

Added

  • requests.validate_params config option to apiable.php for enforcing validation. Requires to publish or manually copy [#7]
  • Additional filter operators like gte (greater or equal than), gt (greater than), lte (lower or equal than), lt (lower than) [#5]

Changed

  • Get allowed fields methods from apply query params pipeline classes moved to OpenSoutheners\LaravelApiable\Http\QueryParamsValidator
  • Operators from allowed_filters included to meta data are now URL-safe
  • allowed_sorts structure is now based on ['attribute' => 'allowed_direction']
  • Allow filters methods/attribute now accepts array with multiple operators