Skip to content

Releases: woylie/flop

0.7.0

04 Aug 19:20
c2b1da8
Compare
Choose a tag to compare

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

17 Jun 10:15
ecb61ea
Compare
Choose a tag to compare

Changed

  • Add Flop to Meta struct.

Fixed

  • Type Flop.Filter.op didn't include all operators.

0.6.0

14 Jun 18:32
f089d43
Compare
Choose a tag to compare

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

27 May 23:29
a1cb7ab
Compare
Choose a tag to compare

Added

  • New function Flop.validate!/2.
  • New filter operator :in.

Fixed

  • Filter validation was using sortable fields instead of filterable fields.

0.4.0

27 May 18:32
a0ee2ea
Compare
Choose a tag to compare

Added

  • Added =~ filter operator.

Fixed

  • Query function wasn't generating valid where clauses for filters.

0.3.0

22 May 20:48
5a379b4
Compare
Choose a tag to compare

Added

  • Added a default_limit option to Flop.Schema.

0.2.0

20 May 21:09
21853d2
Compare
Choose a tag to compare

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.

0.1.0

19 Oct 14:30
8b463b8
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

initial release