Skip to content

0.1.7

Compare
Choose a tag to compare
@shahryarjb shahryarjb released this 01 Jul 19:16
· 4 commits to master since this release

Changelog for MishkaDeveloperTools 0.1.7

Kindly ensure that the macro is updated as quickly as feasible. This version includes a bug patch in the macro kernel that eliminates the issue of not being able to build in projects.

In the past, it was possible to extend validation and sanitizer functions within the macro itself; however, this was a relatively insignificant addition that was ultimately overwritten. The same opportunity will now be available to you if you include environment in the project.

For example:

Application.put_env(:guarded_struct, :validate_derive, [TestValidate, TestValidate2])
Application.put_env(:guarded_struct, :sanitize_derive, [TestSanitize, TestSanitize2])

# OR
Application.put_env(:guarded_struct, :validate_derive, TestValidate)
Application.put_env(:guarded_struct, :sanitize_derive, TestSanitize)

I offer my heartfelt apologies for the occurrence of this bug and express my desire to encounter less similar challenges in the future.

Refs:

Based on elixir-lang/elixir#13699

Full Changelog: 0.1.6...0.1.7