What's Changed
This release adds support for NetBox v4.7.1+.
New
- Support for NetBox v4.7.1 and later (OMS-1251).
- Secret roles now use PostgreSQL
ltreefor the role hierarchy instead of MPTT. - Secret and secret role pages now use NetBox's panel layout.
- GraphQL types and filters now use the NetBox v4.7 registration API.
SecretRoleuses the ltree types, and the internalpathandsort_pathfields are not exposed. - The
ownerrelation is updated for NetBox v4.7 (migration0013).
Upgrade notes
- Upgrade NetBox to v4.7.1 or later first.
- Back up your database. Migration
0012moves the secret role tree from MPTT to PostgreSQLltree. Reversing it does not restore the tree data. - Install the new version, then run
python manage.py migrate(migrations0012and0013are applied).
Upgrading from v3.1.2: what to do about keys
The session key change shipped in v3.1.3, so it applies if you are coming from v3.1.2.
- Session keys: delete and create again. Older session keys are rejected.
- API:
DELETE /api/plugins/secrets/session-key/, thenPOST /api/plugins/secrets/session-key/with your private key. - UI: delete the session key and enter your private key again.
- Do not use
preserve_key. The old key cannot be preserved.
- API:
- User keys (RSA) and the master key: no action needed.
- Existing secrets: no action needed. Old validation hashes still work but show a
DeprecationWarning. Support will be removed in NetBox v4.8. - If you are already on v3.1.3, you do not need to do anything about keys.
Maintenance
- CI now tests against NetBox v4.7.4.
- Added tests for the secret and secret role views.
- Updated the README compatibility table.
Full changelog: v3.1.3...v3.2.0