Releases: dmulyalin/ttp
Releases · dmulyalin/ttp
0.10.0
0.9.5
0.9.4
0.9.3
BUGS
- Fix issue #103 - introduced login to not run validation check for group function for group tail match results
- Fix for issue #97 - improoved path formatters handling when match variable contains
* - Fix issue #98 - improoved pat formatters handling when match variable contains
\
CHANGES
- For debug output excluded 'ttp' dictionary from variables, groups and template objects to not clutter the output
0.9.2
0.9.1
BUGS
- Fix issue #77 - problem was with start regex selection preference logic, updated that logic to account for use case when same line matched by multiple start re and one of the matches already has parent group started, selection logic updated to prefer such a match as opposed to previously it was simply continuing to next match.
0.9.0
CHANGES
- Removed input sources feature together with Nornir and Netmiko sources as TTP integrated well with Netmiko and Nornir supported was of version 2.5.0, while there is Nornir 3 was released, removing input sources feature as it does not seems to add much value.
- Switches dependency management, packaging and virtual environment management to Poetry.
FEATURES
- Added
fullinstallation extras i.e.pip install ttp[full]can now install all optional dependencies of versions that has been tested. - Added extend tag support for
macrofunction to apply arbitrary Python function on template content before including it into parent template. - Added support to use
TTP_TEMPLATES_DIRenvironment variable, TTP can source templates files from that directory for extend tag or on ttp object instantiation.
BUG
- Implemented fix for #69 to properly process joinmatch results for parent groups.
0.8.4
BUGS
- Fixed issue #65, the problem was with edge-case handling when add function called but result belongs to parent group, updated logic to make sure current group properly
saved, ended and new group started out of previous group results, moreover, results saving logic modified to perform recursive merge in such a case. - Added fix for issue #67 by introducing TTP object boolean switch argument
dynamic_path_key_to_int
0.8.3
0.8.2
BUGS
- Looks like TTP was not thread safe, tested using thread pool executor set to 800 threads with having group function containsall and output formatter, seems that one thread overwrites ttp dictionary for other threads somehow, not sure why it happens, multiprocessing is turned off, this issue pertains to github issue #63 as well. Was able to fix the problem by removing ttp dictionary from TTP module global scope and making it TTP class attribute instead, have to pass it around now as an argument for all classes instantiation. But threading issue seems gone after that.
CHANGES
- Code checks and linting added using pre-commit, work in progress.