Skip to content

0.18.1

Compare
Choose a tag to compare
@woylie woylie released this 13 Oct 23:12
· 560 commits to main since this release
7dce7f1

Changed

  • If the given map already has a :filters / "filters" key,
    Flop.nest_filters/3 will now merge the derived filters into the existing
    filters. If the existing filters are formatted as a map (as produced by an
    HTML form), they are converted to a list first.
  • use Flop will now also compile validate/2 and validate!/2 functions that
    apply the options of your config module.
  • Allow setting default_limit and max_limit to false, which removes the
    default/max limit without falling back to global options.

Fixed

  • Flop.bindings/1 was returning bindings for filters with nil values.