Releases: sys4/netbox-plugin-dhcp
Compatibility Release 0.1.8
What's Changed
- Improved the testing framework by @peteeckel in #40
- Adjustments for compatibility with NetBox 4.6-beta1 by @peteeckel in #41
Full Changelog: 0.1.7...0.1.8
Beta Release 0.1.7
What's Changed
- Make DHCPServer a required field for ClientClasss in the API by @peteeckel in #34
- Cleaned up filtersets and filterset tests by @peteeckel in #35
- Make objects filterable by option name, code and space by @peteeckel in #36
- Filter Pool objects by start_address, end_address and contains_address by @peteeckel in #37
- Made the string representation of OptionDefinition objects reflect the parent object by @peteeckel in #38
Full Changelog: 0.1.6...0.1.7
Beta Release 0.1.6
What's Changed
- Refactored form mixin names for ClientClass fields by @peteeckel in #26
- Implemented uniqueness constraints in ObjectDefinition objects by @peteeckel in #27
- Implemented intelligent option definition selection for option import by @peteeckel in #28
- Modified PoolImportForm so ip_range can be specified using [vrf,]start_address by @peteeckel in #29
Major Changes
Importing Pools and Options should work as expected now. For pools, the IPRange connected with them is specified by VRF and start address (which is well-defined, as different IPRange objects can't overlap in the same VRF), and for Options there is some pretty intricate logic to select the option definition that needs to be used for them:
- If there are no option definitions on DHCP server or client class level, the definition is selected from the standard option definitions by space and name or code. This is the trivial case.
- If there are option definitions on DHCP server level, they are searched first and then the standard option definitions. The DHCP server to select the options from is determined by the object the option is assigned to.
- If there are option definitions on client class level and the option is assigned to a client class with option definitions, the option definitions on that level are searched first, then the definitions on DHCP server level and then the standard option definitions.
Full Changelog: 0.1.5...0.1.6
Beta Release 0.1.5
What's Changed
- Implemented workaround to restore compatibility with NetBox 4.5.0-4.5.3 by @peteeckel in #17
- Do not restrict PDPool Prefix by Subnet prefix in the GUI by @peteeckel in #21
- Fixed the query parameter for IP ranges by @peteeckel in #23
- Feature: Validation by @peteeckel in #24
Features
- This release restores compatibility with NetBox version 4.5.0 - 4.5.3
- Shared Network, Subnet, Pool, PDPool and Option objects are now validated when added via the API or ORM so the object hierarchy is assured to be correct and IP protocol families match (where applicable)
- Some minor bugfixes
Full Changelog: 0.1.4...0.1.5
Beta Release 0.1.4
What's Changed
- Added owner group to the filter forms where applicable by @peteeckel in #12
- Apply the Black 2026 standard for linting by @peteeckel in #13
- Replaced FilterLookup by StrFilterLookup by @peteeckel in #15
Breaking Change
This release fixes an issue with NetBox 4.5.4 or higher, causing numerous warnings being issued on initialisation of the NetBox application:
/opt/netbox/venv/lib64/python3.12/site-packages/netbox_dhcp/graphql/filters/dhcp_cluster.py:22: UserWarning: FilterLookup[str] may cause DuplicatedTypeName errors. Use StrFilterLookup instead.
name: FilterLookup[str] | None = strawberry_django.filter_field()
/opt/netbox/venv/lib64/python3.12/site-packages/netbox_dhcp/graphql/filters/mixins.py:51: UserWarning: FilterLookup[str] may cause DuplicatedTypeName errors. Use StrFilterLookup instead.
next_server: FilterLookup[str] | None = strawberry_django.filter_field()
...
Unfortunately, the fix is not backward compatible with NetBox 4.5.0-4.5.3. Do not upgrade until you also upgrade your NetBox installation to 4.5.4 or above.
Full Changelog: 0.1.3...0.1.4
Beta Release 0.1.3
What's Changed
- Updated README.md to clarify the purpose of the plugin by @peteeckel in #6
- Updated the version matrix by @peteeckel in #7
- Removed NBL "manifest-modified" action by @peteeckel in #8
- Added options to all relevant serializers by @peteeckel in #10
Full Changelog: 0.1.2...0.1.3
Beta Release 0.1.2
This release reflects the move of the repository to the sys4 organisation. It does not include any functional changes.
It replaces release 0.1.1, which was never published.
Beta release 0.1.1
This release reflects the move of the repository to the sys4 organisation. It does not include any functional changes.
Initial Beta Release 0.1.0
This is the initial release of NetBox DHCP.