Skip to content

CHANGE LOGπŸ”—


MOLD

Mold CLIπŸ”—

Alire Alire CI/CD GitHub release License

1.1.0πŸ”—

Date: 2025-05-29

  • Use mold_lib v2.3.*
  • Add show-vars command

1.0.3πŸ”—

Date: 2024-02-23

  • Add process show-vars: show variable values once variable replacement and text filters have been applied.
  • 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


MOLD

Mold LibπŸ”—

Alire Alire CI/CD unit-test codecov GitHub release License

2.3.1πŸ”—

Date: 2025-05-29

Bugs fixedπŸ”—

  • Minor bug fixed in the algorithm that combines text filters and variable substitution.

2.3.0πŸ”—

Date: 2025-05-25

Major ChangesπŸ”—

  • Incompatible: In On_Undefined_Handling enumeration, rename Empty to Warning for consistency.

  • New: add Show_Variables procedure to see final values of variables once variable replacement and text filters have been applied.

  • New: add mold-date-<FORMAT> predefined variable.

Bugs fixedπŸ”—

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 to On_Undefined; succinct and clear option to express its purpose.
  • When On_Undefined is Ignore, no warning is issues; when Empty, a warning is issued. Default value is Error

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 and Undefined_Alert are now Undefined_Behavior
    • Possible values for Undefined_Behavior are Ignore, Empty and Error
    • Ignore leaves undefined variables and text filters unchanged
    • Empty removes undefined variables and text filters
    • Ignore and Empty 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 to mold-undefined-action: applies to variables and text filters
    • mold-undefined-variable-alert changed to mold-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