Releases: rocher/mold_lib
Releases · rocher/mold_lib
Release 2.2.1
Release 2.2.0
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
Release 2.1.1
Bugs fixed
- Disabling variable substitution in variables now works as expected
- Source code formatting
Release 2.1.0
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
and
Error
Ignore
leaves undefined variables and text filters unchangedEmpty
removes undefined variables and text filtersIgnore
andEmpty
behaviors always issue a warning
Release 2.0.0
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
- The new strategy unifies actions and alerts for undefined variables or
-
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
Release 1.0.3
Patch:
- Fix error when undefined custom filter
Release 1.0.2
Patch:
- Fix patch number in alire description
Release 1.0.1
Patches:
- Fix alire descriptions and dependencies
Release 1.0.0
First stable release 1.0.0.
Initial release
First release with all major features:
- Support for variable replacement in files and directories, as well as in file names
- 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