Releases: woylie/flop
Releases · woylie/flop
0.7.0
Added
Flop.Schema
now allows to set a default sort order.
Changed
Passing a limit without an offset will now set the offset to 0.
Passing a page size without a page will now set the page to 1.
0.6.1
Changed
Fixed
Type Flop.Filter.op
didn't include all operators.
0.6.0
Added
New struct Flop.Meta
.
New function Flop.all/3
.
New function Flop.count/3
.
New function Flop.meta/3
.
New function Flop.run/3
.
New function Flop.validate_and_run/3
.
New function Flop.validate_and_run!/3
.
0.5.0
Added
New function Flop.validate!/2
.
New filter operator :in
.
Fixed
Filter validation was using sortable fields instead of filterable fields.
0.4.0
Added
Added =~
filter operator.
Fixed
Query function wasn't generating valid where clauses for filters.
0.3.0
Added
Added a default_limit
option to Flop.Schema
.
0.2.0
Added
Added a max_limit option to Flop.Schema. When set, Flop validates that the limit and page_size parameters don't exceed the configured max limit.
You can’t perform that action at this time.