CHANGE LOG🔗
Mold CLI🔗
1.0.3🔗
Date: 2024-02-23
- Use
clic-0.3.0
to compile with alr-2.0.0-beta2 - Remove prefix "🛈" from output
1.0.2🔗
Date: 2024-02-20
- First public release
- Use
mold_lib-2.2.1
- Refactor examples
0.2.0-dev🔗
Date: 2023-08-27
- Basic implementation of the
apply
command: - Use
mold_lib-0.2.0-dev
, see mold_lib repository
Mold Lib🔗
2.2.1🔗
Date: 2024-02-18
Bugs fixed🔗
- Prevent replacement errors in empty files
2.2.0🔗
Date: 2024-02-18
Major changes🔗
- Renamed setting
Undefined_Behavior
toOn_Undefined
; succinct and clear option to express its purpose. - When
On_Undefined
isIgnore
, no warning is issues; whenEmpty
, a warning is issued. Default value isError
2.1.1🔗
Date: 2024-02-17
Bugs fixed🔗
- Disabling variable substitution in variables now works as expected
- Source code formatting
2.1.0🔗
Date: 2024-02-17
Major changes🔗
- Unified the undefined action and alert into the undefined behavior:
Undefined_Action
andUndefined_Alert
are nowUndefined_Behavior
- Possible values for
Undefined_Behavior
areIgnore
,Empty
andError
Ignore
leaves undefined variables and text filters unchangedEmpty
removes undefined variables and text filtersIgnore
andEmpty
behaviors always issue a warning
2.0.0🔗
Date: 2023-11-21
Major changes🔗
-
New simplified error handling strategy
- The new strategy unifies actions and alerts for undefined variables or filters, resulting in a a more clear, compact and understandable strategy
- Modified the setting type to unify undefined actions and alerts for variables and text filters
mold-undefined-variable-action
changed tomold-undefined-action
: applies to variables and text filtersmold-undefined-variable-alert
changed tomold-undefined-alert
: applies to variables and text filters- Removed defined setting
mold-undefined-filter-alter
- Remove defined setting
abort-on-error
-
Variable definition based on other variables
- Now it is possible to define new variables based on other variables; that is, the variable substitution process is also applied to the variables' values
- Filters are also applied in this context
- Example:
A = "World"
B = "Hello, {{A}}"
results in
B = "Hello, World"
Minor changes🔗
- New set of default settings
- Removed summary reported by text filter application
- Several minor fixes and improvements
1.0.2🔗
Date: 2023-10-23
- Fix patch number in Alire description
1.0.1🔗
Date: 2023-10-23
- Fix Alire descriptions and dependencies
1.0.0🔗
Date: 2023-10-22
- First stable release
- Support predefined and custom text filters
- Complete set of unit tests
- Reach 100% coverage test
- Fixed several bugs
0.2.1-dev🔗
Date: 2023-08-26
- First release with all major features
- Support for variable replacement in files and directories, as well as in filenames
- Support in-place substitution or with an output directory parameter
- Remove source files (can be disabled)
- Simple definition files for variables (TOML format)
- Settings can be set in the definitions file
- Do not overwrite destination files (can be disabled)
- Inclusion of external templates
- User-defined behavior for undefined variables
- Rich activity report
- Unit tests passed for Linux, Mac OS and Windows