Skip to content

Fixes #511: Bump min_version to NetBox 4.5.2#513

Merged
arthanson merged 1 commit into
mainfrom
511-bump-min-version-4.5.2
May 13, 2026
Merged

Fixes #511: Bump min_version to NetBox 4.5.2#513
arthanson merged 1 commit into
mainfrom
511-bump-min-version-4.5.2

Conversation

@bctiemann
Copy link
Copy Markdown
Contributor

@bctiemann bctiemann commented May 12, 2026

Fixes: #511

Summary

  • Bumps min_version from "4.4.0" to "4.5.2" in PluginConfig
  • Updates COMPATIBILITY.md to match

Why

v0.5.0 imports get_config_value_ci from utilities.data, a helper added in NetBox 4.5.2. On NetBox ≤ 4.5.1 this produces a cryptic ImportError at startup rather than the standard "incompatible plugin version" error. Correcting min_version lets NetBox surface the real problem cleanly.

A compatibility shim was considered but rejected: v0.5.0 is a major release with substantial new features, NetBox 4.4.x has no active support, and shimming a 5-line internal utility sets a maintenance precedent for every future internal NetBox refactor.

Closes: #511

🤖 Generated with Claude Code

v0.5.0 uses get_config_value_ci from utilities.data, which was added in
NetBox 4.5.2. Update min_version and COMPATIBILITY.md to reflect the
actual requirement rather than silently failing with an ImportError.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@bctiemann bctiemann requested a review from arthanson May 12, 2026 20:18
@arthanson arthanson merged commit 275e4ac into main May 13, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v0.5.0 not compatible with Netbox prior to v4.5.2

2 participants