Skip to content

Releases: netdevops/hier_config

v3.6.0

26 Mar 13:41
95aaa00

Choose a tag to compare

What's Changed

  • Fix hash/eq inconsistency in HConfigChild (#185) by @jtdub in #235
  • add huawei_vrp platform by @yanpla in #238
  • Add Literal type for cisco_style_text() style parameter (#189) by @jtdub in #240
  • Bump version to 3.6.0 and update docs/changelog by @jtdub in #243

New Contributors

Full Changelog: v3.5.1...v3.6.0

v3.5.1

20 Mar 13:58
c6eb929

Choose a tag to compare

What's Changed

Fixed

  • DuplicateChildError raised when parsing IOS-XR configs with indented ! section separators (e.g., !, !). The per_line_sub regex was changed from ^!\s*$ to ^\s*!\s*$ so bare ! lines at any indentation level are stripped, restoring v3.4.2 behavior (#231).

Added

  • Tests for IOS-XR indented ! section separator parsing, remediation no-ops with/without ! separators, differing comment text, and trailing comment edge case.

Full Changelog: v3.5.0...v3.5.1

v3.5.0

20 Mar 02:06

Choose a tag to compare

Added

  • Unused object detection (#15): UnusedObjectRule, ReferenceLocation models, and unused_objects() method on HConfig. Not enabled in any driver by default — must be explicitly configured via driver extension or load_hconfig_v2_options.
  • IOS-XR comment preservation (#30): ! comment lines inside sections are now attached to the next sibling's comments set instead of being stripped. Top-level ! delimiters and # comments are still removed.
  • Negation regex substitution (#101): NegationSubRule model and negation_sub step in negate() for platform-specific negation transformations (e.g., truncating SNMP user removal commands).
  • unused_objects and negation_sub processing in load_hconfig_v2_options.
  • post_load_callbacks now run in get_hconfig_fast_load for consistency with get_hconfig.
  • Idempotent command tests and improved IdempotentCommandsRule docstring (#61).
  • exit_text_parent_level on SectionalExitingRule for IOS-XR end-* exit text rendered at parent indentation level (#130).

Fixed

  • IOS-XR: DuplicateChildError when parsing configs with multiple group blocks (#209).
  • pyproject.toml: Closed author email brackets, removed duplicate pylint extension, fixed typos (#190).

v3.4.3

20 Mar 00:41
84c4f8e

Choose a tag to compare

Fixed

  • IOS-XR: DuplicateChildError when parsing configs with multiple group
    blocks. Added SectionalExitingRule for groupend-group and a
    PerLineSubRule to indent end-group so it is treated as a section
    terminator rather than a standalone root-level child (issue #209).

v3.4.2

17 Mar 19:22
e198bdb

Choose a tag to compare

What's Changed

Full Changelog: v3.4.1...v3.4.2

v3.4.1

28 Jan 18:38
07de1f7

Choose a tag to compare

What's Changed

  • Update tests by @jtdub in #172
  • Fix BGP neighbor descriptions dropped in future config by @jtdub in #178
  • Resolves idempotency issue in future() by @jtdub in #166
  • Test circular configuration workflows for hier_config by @jtdub in #179
  • Add comprehensive remediation reporting functionality (Issue #34) by @jtdub in #173
  • add negation_negate_with support to load_hconfig_v2_options by @jtdub in #183
  • v3.4.1 by @jtdub in #184

Full Changelog: v3.4.0...v3.4.1

v3.4.0

11 Jan 00:00
3b693e1

Choose a tag to compare

What's Changed

Full Changelog: v3.3.0...v3.4.0

v3.3.0

05 Nov 15:59
602aa98

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.2.2...v3.3.0

v3.2.2

14 Jan 17:56
df40787

Choose a tag to compare

What's Changed

Full Changelog: v3.2.1...v3.2.2

v2.3.1

14 Jan 17:55
60afcf8

Choose a tag to compare

What's Changed

Full Changelog: v2.3.0...v2.3.1