Skip to content

Releases: jungsoft/crudry

v2.4.0

07 Jun 18:02
Compare
Choose a tag to compare
  • Optimize search to ignore on empty string (#43)

Warning: This is a potential breaking change if you were relying on the fact that searching by an empty string would filter out nil values. Since this isn't considered to be the expected behaviour, this change was treated as a bug fix.

v2.3.1

14 Sep 16:50
Compare
Choose a tag to compare

Add map case to order by (#42)

v2.3.0

14 Sep 15:33
Compare
Choose a tag to compare

Change order by parsing to accept multiple orders (#41)

v2.2.0

02 Apr 01:19
Compare
Choose a tag to compare

Add primary_key option to Crudry.Resolver (#40)

v2.1.2

15 Dec 13:48
Compare
Choose a tag to compare

Remove check_assocs/2 nil pattern, since it never matches (#38)

v2.1.1

20 Nov 19:49
Compare
Choose a tag to compare

Fix translate errors when field has multiple errors (#37)

v2.1.0

09 Sep 18:13
Compare
Choose a tag to compare
  • Allow to configure which Repo to use
  • Context functions receive optional arguments to use in Repo functions
  • Add configuration for custom update and delete in resolvers

It should now be possible to use https://github.com/izelnakri/paper_trail without much trouble

v2.0.1

08 Sep 20:06
Compare
Choose a tag to compare

Fix TranslateErrors to also translate nested keys

v2.0.0

31 Jul 18:53
Compare
Choose a tag to compare

Breaking Changes

  • Change pluralization: Use schema source table instead of Inflex
  • Remove update and delete by ID in context
  • Add Internationalization to changeset errors translator: rename to Crudry.Middlewares.TranslateErrors and now handles all errors, not only changesets
  • Change nil_to_error to return a map instead of string to make it easier to internationalize

Enhancements

  • Add CI
  • Add get_by
  • Add list_with_assocs
  • Add ! functions
  • Add custom configuration to nil_to_error message