Skip to content

Releases: netdevops/hier_config

v3.6.2

Choose a tag to compare

@jtdub jtdub released this 13 Jul 19:29
ed8ccdd

[3.6.2] - 2026-07-13

Fixed

  • Cisco IOS-XR: the indent_adjust rule no longer misfires on the
    template data timeout and template options timeout leaves inside a
    flow exporter-map version block. Because no end-template follows these
    leaves, the parser previously nested every subsequent configuration line
    under them, silently collapsing the tree. Follow-up to #205 (#268).

v3.6.1

Choose a tag to compare

@jtdub jtdub released this 04 Jul 23:44
c941ffe

What's Changed

Added

  • Nokia SRL platform driver (Platform.NOKIA_SRL) (#245)

Changed

  • Renovate bot configuration to automate Poetry and GitHub Actions dependency updates

Fixed

  • Huawei VRP: multiple peer-public-key blocks no longer raise DuplicateChildError (#266)
  • Collapsed VLAN lines could produce a destructive no vlan x,y remediation on Cisco IOS (#264, #265)

Plus dependency and CI maintenance (poetry-core v2, pytest security update, actions/checkout & setup-python bumps).

Full Changelog: v3.6.0...v3.6.1

v3.6.0

Choose a tag to compare

@jtdub jtdub released this 26 Mar 13:41
95aaa00

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

Choose a tag to compare

@jtdub jtdub released this 20 Mar 13:58
c6eb929

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

Choose a tag to compare

@jtdub jtdub released this 20 Mar 02:06

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

Choose a tag to compare

@jtdub jtdub released this 20 Mar 00:41
84c4f8e

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

Choose a tag to compare

@jtdub jtdub released this 17 Mar 19:22
e198bdb

What's Changed

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

v3.4.1

Choose a tag to compare

@jtdub jtdub released this 28 Jan 18:38
07de1f7

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

Choose a tag to compare

@jtdub jtdub released this 11 Jan 00:00
3b693e1

What's Changed

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

v3.3.0

Choose a tag to compare

@jtdub jtdub released this 05 Nov 15:59
602aa98

What's Changed

New Contributors

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