Skip to content

Releases: box-id/ecto_predicates

0.7.0

Choose a tag to compare

@github-actions github-actions released this 02 Oct 09:23
2d6c54d

🎉 Improvements

  • add ltree field type (PD-4608) #17
  • Add github action release automation #18

Full Changelog: 0.6.0...0.7.0

Allow hooking into build_assoc function

Choose a tag to compare

@bdebinska bdebinska released this 27 Nov 09:43
71bda23

What's Changed

Full Changelog: 0.5.1...0.6.0

return a proper error when using wrong args in string comparators

Choose a tag to compare

@bdebinska bdebinska released this 20 Nov 12:37

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

Choose a tag to compare

@iStefo iStefo released this 10 Nov 14:24

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`

Choose a tag to compare

@iStefo iStefo released this 25 Sep 12:38

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

Add contains Contains Comparator

Choose a tag to compare

@mpneuried mpneuried released this 07 May 05:44
c747f29

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

Choose a tag to compare

@mpneuried mpneuried released this 13 Mar 07:52
abdcc3c

What's Changed

Full Changelog: 0.1.1...0.2.0

Rename project to ecto_predicates

Choose a tag to compare

@bdebinska bdebinska released this 18 Dec 08:44
1b9a551
Merge pull request #4 from box-id/rename-project-to-ecto-predicates

rename project to ecto_predicates

First release

Choose a tag to compare

@menno-lab menno-lab released this 16 Dec 12:42
3dcb834
Merge pull request #2 from box-id/chore/move-repo-to-tests

Move repo to tests