Releases: dmulyalin/ttp
Releases · dmulyalin/ttp
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
full
installation extras i.e.pip install ttp[full]
can now install all optional dependencies of versions that has been tested. - Added extend tag support for
macro
function to apply arbitrary Python function on template content before including it into parent template. - Added support to use
TTP_TEMPLATES_DIR
environment 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.
0.8.1
BUGS
- Fixed #59
- Added fixes for #57
_headers_
indicator handling - Fixed
_anonymous_
group_id formation to improve results selection logic an allow anonymous group to re-start the group even if previous matches filtered - Fixed issue #57 with
...*
producing empty results when group does not contain matches but only_start_
statement, this was due to how...*
list path formatter was handled,
fix makes sure to check if result data is not empty and skip saving them if so.
FEATURES
- Added
_headers_
indicatorcolumns
variable to indicate how many mandatory columns expect to match
CHANGES
- Updated logic around results selection for multiple
_start_
vs_startempty_
matches to make latter one always more preferred - Updated selection logic for multiple
add
matches to make sure that we selecting results for group that already started - Updated logic for
_end_
and locked groups tracking to useself.ended_groups
set