Skip to content

PowerNetbox v4.5.0.1

Released 2026-01-13 - View on GitHub

What's Changed

Bug Fixes

  • #150: Fixed incorrect API prefix for NetBox Branching plugin
  • Changed from /api/plugins/netbox-branching/ to /api/plugins/branching/
  • Affects all 10 Branching functions

  • #151: Fixed X-NetBox-Branch header to use schema_id

  • The header now correctly uses the 8-character alphanumeric schema_id instead of the branch name
  • Added -Full parameter to Get-NBBranchContext to retrieve complete context object

Technical Details

API Prefix Fix

All Branching functions now use the correct endpoint paths: - Get-NBBranch, Set-NBBranch, New-NBBranch, Remove-NBBranch - Sync-NBBranch, Merge-NBBranch, Undo-NBBranchMerge - Get-NBBranchEvent, Get-NBChangeDiff, Test-NBBranchingAvailable

Branch Context Improvements

  • Enter-NBBranch now stores context object with Name, SchemaId, and Id
  • InvokeNetboxRequest extracts SchemaId for the X-NetBox-Branch header
  • Defensive validation added for missing SchemaId property

Compatibility

NetBox Version Status
4.5.0 ✅ Tested
4.4.10 ✅ Tested
4.3.7 ✅ Tested

Installation

```powershell

Install from PowerShell Gallery

Install-Module -Name PowerNetbox -RequiredVersion 4.5.0.1

Or update existing installation

Update-Module -Name PowerNetbox ```

Full Changelog: https://github.com/ctrl-alt-automate/PowerNetbox/compare/v4.5.0.0...v4.5.0.1