Releases: IvanRublev/Domo
Releases · IvanRublev/Domo
Improve compatibility with Elixir 1.19
v1.5.19 Improve compatibility with Elixir 1.19
v1.5.18
- Fix functions for required fields to skip fields with nillable types (
something | nil)
v1.5.17
- Improve compatibility with Elixir 1.18
v1.5.15
- Support sum types as element of a list: [a | b]
- Improve compatibility with Elixir 1.16
v1.5.14
- Fix
validate_type/*function to run without Ecto validate_required warning. - Add
__t__/0reflection 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
- Improve compatibility with ElixirLS. After running
mix deps.update domo, please, remove.elixir_lsin your project directory and reopen VSCode.
v1.5.9
- 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_functiontogen_constructor_name. Please, update your project. - Make Domo generated
new!/1/0andnew/2/1/0composable instead of overridable, see Custom constructor function section in README.
v1.5.8
- Support validation of the following
Ecto.Schematypes:belongs_to(t),has_one(t),has_many(t),many_to_many(t),embeds_one(t), andembeds_many(t). - The
validate_type/2function for changesets:- validates required fields automatically for the given
Ectoschema. - doesn't validate fields of
Ecto.Schematypes are listed above, so the user can explicitly callcast_assoc/2/3for these fields.
- validates required fields automatically for the given
- Validates any combination of the
term()with other types as theterm(). - Domo generated constructor functions
new!/1/0andnew/2/1/0become overridable.
v1.5.7
- Fix to resolve mfa() type correctly
- Fix tests to acknowledge the random order of keys in map
v1.5.6
- Fix to remove unnecessary code path to make
mix dialyzerpass on generated code.