Simplify API / remove legacy functions / methods
As part of the general API overhaul heading into version 2.0.0, the following legacy methods have been removed.
- ciscoconfparse append_line()
- ciscoconfparse delete_lines()
- ciscoconfparse find_all_children()
- ciscoconfparse find_blocks()
- ciscoconfparse find_children()
- ciscoconfparse find_children_w_parents()
- ciscoconfparse find_lineage()
- ciscoconfparse find_lines()
- ciscoconfparse find_parents_w_child()
- ciscoconfparse find_parents_wo_child()
- ciscoconfparse insert_before()
- ciscoconfparse insert_after()
- ciscoconfparse insert_after_child()
- ciscoconfparse prepend_line()
- ciscoconfparse req_cfgspec_all_diff()
- ciscoconfparse req_cfgspec_excl_diff()
- ciscoconfparse _sequence_parent_lines()
- ciscoconfparse _sequence_nonparent_lines()
- ciscoconfparse sync_diff()
- ConfigList has_line_with()
- ccp_util dns_lookup()
- ccp_util dns6_lookup()
- ccp_util reverse_dns_lookup()
- HDiff()
These APIs were removed to ferret out sub-optimal execution, reduce API overlap, and lower user cognitive load; version 2.0.0 focuses on a leaner API.
These changes will NOT be released on PYPI to maximize compatibility with previous versions. The new API will be released under ciscoconfparse2 as a completely new github project and PYPI release.
See CHANGES.md for details. See the ciscoconfparse page for information on the recommended APIs.
This issue has automatically been marked stale due to inactivity. The issue will close unless further activity occurs. Please understand that the CiscoConfParse team is not obligated to comment on every issue. For more detailed information, please refer to our CONTRIBUTING guidance -> https://github.com/mpenning/ciscoconfparse/blob/main/.github/CONTRIBUTING.md
Due to inactivity, CiscoConfParse's maintainers are closing this issue. Please refrain from further comments. In the future, CiscoConfParse's maintainers may reopen it solely at their own discretion. For more detailed information, please refer to our CONTRIBUTING guidance -> https://github.com/mpenning/ciscoconfparse/blob/main/.github/CONTRIBUTING.md