Skip to content

Releases: martinthenth/goal

v1.0.2

21 Aug 21:51
ba88286
Compare
Choose a tag to compare
  • Fixes a compatibility issue introduced with Ecto 3.12 (#103 - by @deolivtiago)

v1.0.1

27 Jun 19:13
Compare
Choose a tag to compare

v1.0.0

18 Jun 20:52
Compare
Choose a tag to compare

Changelog:

  • Graduates the library to version 1.0.0 🎉
  • Adds support for passing attribute tags to the schema
  • Removes the custom types inside the macro because they can conflict with user-defined types
  • Adds benchmarks script and results to the documentation

Migration instructions:

  1. If you used Goal's types that were included in the macro:
    a. Replace those types with your own types.
    b. The compiler will let you know if there are were any references.

v0.3.3

10 May 22:43
81baa24
Compare
Choose a tag to compare
  • Fixes a bug with validations for negative numbers (#88 - by @Joraeuw)

v0.3.2

21 Mar 18:21
0b2764b
Compare
Choose a tag to compare
  • Adds support for custom regexes via the application config.

v0.3.1

20 Jun 17:27
b9641e4
Compare
Choose a tag to compare
  • Adds support for recasing inbound keys in changeset/3

v0.3.0

04 Jun 01:38
Compare
Choose a tag to compare
  • Adds support for validation on array items (#50 - by @LukasKnuth)
  • Adds support for Regex validation in defparams (#53 - by @LukasKnuth)
  • Adds the :any field type in defparams, enabling presence checks without validation
  • Fixes a bug with optional arrays of maps
  • Removes defschema in favor of defparams

Migration instructions:

  1. Replace defschema with defparams definitions

v0.2.5

14 Apr 21:33
Compare
Choose a tag to compare
  • Fixes a bug with recasing inbound keys when an empty map is given as parameter

v0.2.4

24 Mar 19:18
Compare
Choose a tag to compare
  • Fixes a bug with recase_keys: [from: :camel_case] where empty values were ignored

v0.2.3

06 Mar 18:33
Compare
Choose a tag to compare
  • Adds recase_keys/2 for recasing outbound keys
  • Adds optional :to_case option to :recase_keys global configuration
  • Adds fallback to non-recased parameters when recasing inbound parameters