Skip to content

CHANGE LOG🔗


MOLD

Mold CLI🔗

Alire Alire CI/CD GitHub release License

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


MOLD

Mold Lib🔗

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

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