Skip to content

Releases: rocher/mold_lib

Release 2.2.1

18 Feb 18:15
Compare
Choose a tag to compare

Bugs fixed

  • Prevent replacement errors in empty files

Release 2.2.0

18 Feb 11:28
Compare
Choose a tag to compare

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

Release 2.1.1

17 Feb 19:08
Compare
Choose a tag to compare

Bugs fixed

  • Disabling variable substitution in variables now works as expected
  • Source code formatting

Release 2.1.0

17 Feb 12:09
Compare
Choose a tag to compare

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

Release 2.0.0

21 Nov 22:00
097ccfd
Compare
Choose a tag to compare

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

Release 1.0.3

24 Oct 20:56
68b38ff
Compare
Choose a tag to compare

Patch:

  • Fix error when undefined custom filter

Release 1.0.2

23 Oct 17:35
cbb40d5
Compare
Choose a tag to compare

Patch:

  • Fix patch number in alire description

Release 1.0.1

23 Oct 17:16
Compare
Choose a tag to compare

Patches:

  • Fix alire descriptions and dependencies

Release 1.0.0

22 Oct 18:42
Compare
Choose a tag to compare

First stable release 1.0.0.

Initial release

26 Aug 18:26
Compare
Choose a tag to compare

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