diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 735aeb4..5b5b1cf 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -20,6 +20,11 @@ namespace separators. Templates must be named canonically. This was always a requirement, but it was never checked or documented. +- Explicit checks are now made to ensure that the configuration does + not do recursive .includes. Any attempt to do so will produce an + error and the offending line will be ignored, but the program will + attempt to continue processing the rest of the configuration. + - The program changes described below have made the 'ParseConfig' API incompatible with previous versions of 'tconfpy'. The version number has been branched to 2.x to reflect this fact. Existing @@ -40,6 +45,10 @@ parse-related data structures into the 'SymbolTable' object. This eliminated most of the global variables. +- The program now returns both the number of total lines processed, + (SymbolTable.TotalLines) and a list of all the configuration files + processed (SymbolTable.Visited). + NEW FEATURES @@ -55,6 +64,10 @@ program assumes the list contains configuration statements. If it is of any other type, the program declares an error. + The program also validates each element of an in-memory list and + ignores anything that is not a string. An error is produced in this + case. + - Added the ability to test the *state* of boolean variables in the existential conditionials (.ifall/any/none). Previous versions of 'tconfpy' could only do this with an explict test like: