Releases: martinthenth/goal
Releases · martinthenth/goal
v1.0.2
- Fixes a compatibility issue introduced with Ecto 3.12 (#103 - by @deolivtiago)
v1.0.1
- Export formatting rules for macros without parens (#99 - by @nelsonmestevao)
v1.0.0
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:
- 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
v0.3.2
- Adds support for custom regexes via the application config.
v0.3.1
- Adds support for recasing inbound keys in
changeset/3
v0.3.0
- 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 indefparams
, enabling presence checks without validation - Fixes a bug with optional arrays of maps
- Removes
defschema
in favor ofdefparams
Migration instructions:
- Replace
defschema
withdefparams
definitions
v0.2.5
- Fixes a bug with recasing inbound keys when an empty map is given as parameter
v0.2.4
- Fixes a bug with
recase_keys: [from: :camel_case]
where empty values were ignored
v0.2.3
- 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