Skip to content

Releases: box-id/ecto_predicates

Allow hooking into build_assoc function

27 Nov 09:43
71bda23

Choose a tag to compare

What's Changed

Full Changelog: 0.5.1...0.6.0

return a proper error when using wrong args in string comparators

20 Nov 12:37

Choose a tag to compare

What's Changed

  • PD-3669 Add non-string handling for 'like', 'ilike', 'starts_with', 'ends_with' by @nemanjabogdanovic in #15

Full Changelog: 0.5.0...0.5.1

not_in, nil handling, improved README

10 Nov 14:24

Choose a tag to compare

Breaking Changes

  • Handle null values for in and not_in operators to be aligned with eq.
  • like, ilike, starts_with operators now escape arg s.t. % and _ characters are not interpreted as placeholders anymore.
  • Field names are now converted to atoms using String.to_existing_atom/1, failing for unknown field names.

Added

  • not_eq operator
  • ends_with operator

Deprecated

  • contains operator for string values: Use like instead, as contains will only be applicable to collections in the future.

Changed

  • PredicateError's message now uses inspect on the offending predicate instead of JSON serialization to reduce library dependencies

Rename `Utils` to `Predicates.Utils`

25 Sep 12:38

Choose a tag to compare

Renamed internal Utils module to Predicates.Utils to avoid collisions with Utils modules from other sources.

Add contains Contains Comparator

07 May 05:44
c747f29

Choose a tag to compare

What's Changed

🎉 Improvements

Compare operation to check if a stored value or a list of values contains a single or a list of values.

Full Changelog: 0.2.0...0.3.0

0.2.0

13 Mar 07:52
abdcc3c

Choose a tag to compare

What's Changed

Full Changelog: 0.1.1...0.2.0

Rename project to ecto_predicates

18 Dec 08:44
1b9a551

Choose a tag to compare

Merge pull request #4 from box-id/rename-project-to-ecto-predicates

rename project to ecto_predicates

First release

16 Dec 12:42
3dcb834

Choose a tag to compare

Merge pull request #2 from box-id/chore/move-repo-to-tests

Move repo to tests