Skip to content

5.1.0

Choose a tag to compare

@binaryk binaryk released this 26 May 09:02
· 75 commits to 5.x since this release

Fixed

  • Custom routes definition

Added

  • patch verb will now validate / authorize and update by attribute
  • All filters now have title, description and column so you can easily customize it. The full definition of an AdvancedFilter's looks like:

array:8 [
  "type" => "multiselect"
  "advanced" => true
  "title" => "Status filter"
  "description" => "Short description"
  "column" => "status"
  "key" => "status-filter"
  "rules" => array:1 [
    "status" => array:1 [
      0 => "required"
    ]
  ]
  "options" => array:1 [
    0 => array:2 [
      "label" => "Draft"
      "property" => "draft"
    ]
  ]
]
  • Added new filters type Binaryk\LaravelRestify\Filters\MultiSelectFilter