Skip to content

Releases: IvanRublev/Domo

v1.5.18

29 Dec 11:27
Compare
Choose a tag to compare
  • Fix functions for required fields to skip fields with nillable types (something | nil)

v1.5.17

26 Dec 14:31
Compare
Choose a tag to compare
  • Improve compatibility with Elixir 1.18

v1.5.15

29 Apr 22:13
Compare
Choose a tag to compare
  • Support sum types as element of a list: [a | b]
  • Improve compatibility with Elixir 1.16

v1.5.14

12 Aug 17:57
Compare
Choose a tag to compare
  • Fix validate_type/* function to run without Ecto validate_required warning.
  • Add __t__/0 reflection function to each struct using Domo, which returns a binary description of the struct's type spec t(). Useful when you want to know the type Domo validation is built on.

v1.5.10

16 Nov 12:27
Compare
Choose a tag to compare
  • Improve compatibility with ElixirLS. After running mix deps.update domo, please, remove .elixir_ls in your project directory and reopen VSCode.

v1.5.9

12 Nov 11:46
Compare
Choose a tag to compare
  • Fix the crash when running in the root of the umbrella project having Phoenix hot reload configured in one of the apps.
  • Fix to use the current group leader of the caller in ResolvePlanner server for verbose IO messages.
  • Rename option name_of_new_function to gen_constructor_name. Please, update your project.
  • Make Domo generated new!/1/0 and new/2/1/0 composable instead of overridable, see Custom constructor function section in README.

v1.5.8

11 Sep 22:16
Compare
Choose a tag to compare
  • Support validation of the following Ecto.Schema types: belongs_to(t), has_one(t), has_many(t), many_to_many(t), embeds_one(t), and embeds_many(t).
  • The validate_type/2 function for changesets:
    • validates required fields automatically for the given Ecto schema.
    • doesn't validate fields of Ecto.Schema types are listed above, so the user can explicitly call cast_assoc/2/3 for these fields.
  • Validates any combination of the term() with other types as the term().
  • Domo generated constructor functions new!/1/0 and new/2/1/0 become overridable.

v1.5.7

06 Aug 20:09
Compare
Choose a tag to compare
  • Fix to resolve mfa() type correctly
  • Fix tests to acknowledge the random order of keys in map

v1.5.6

02 Jul 10:00
Compare
Choose a tag to compare
  • Fix to remove unnecessary code path to make mix dialyzer pass on generated code.

v1.5.5

12 Jun 19:16
Compare
Choose a tag to compare
  • Fix to repeatedly run mix test and mix dialyzer without crashes.