Changelog
View SourceAll notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
v0.3.0 (2026-09-29)
Added
- Add a
--forceoption tomix cascadefor overwriting existing files without asking
Fixed
- Fix template arguments defaults and required checks not applied for empty arguments or keyword options
- Fix generation failing for
.heexassets, which were formatted as Elixir code - Validate the
--nameof thetemplatetemplate, invalid names could write files outside the root path - Fix the default
--templates-pathof thetemplatetemplate, it is now based on the app name instead of the current directory - Reject an absolute
--assets-pathin thetemplatetemplate, which generated assets in a wrong location - Ask before overwriting existing files, they were silently overwritten
- Pass the expanded output path to
Cascade.Template.pre_generate/2, as withCascade.Template.post_generate/2 - Fix
Cascade.Checks.check_module_name_validity!/1accepting names with a trailing newline - Fix generated Elixir files missing a trailing newline, failing
mix format --check-formatted - Return an error instead of crashing for non string options of the
templatetemplate
v0.2.0 (2024-10-21)
Require elixir v1.16
v0.1.1 (2024-07-04)
Added
- Add a
Cascade.Template.pre_generate/2callback to theCascade.Templatefor optional setup before template generation. - Add a
Cascade.Template.post_generate/2callback to theCascade.Templatefor post processing generated templates.
v0.1.0 (2024-05-13)
Initial release.