v6.0.0
Changelog - Version 6.0.0
Breaking Changes
- NetBox 4.5.0 Required: Minimum NetBox version is now 4.5.0
- Data Model Migration: Replaced JSON-based
type_specific_datafield with dedicated relational models for better data integrity
New Features
- Segment Type-Specific Models: Introduced three new data models:
- DarkFiberSegmentData
- OpticalSpectrumSegmentData
- EthernetServiceSegmentData
- Enhanced API Support: Full REST API, GraphQL, and web forms for all new models
- Improved Data Validation: Relational models provide better data validation and integrity
Improvements
- Updated to use NetBox's native
dcim.choicesfor InterfaceType and ConnectorType - Added comprehensive integration tests (24 tests)
- Enhanced segment serializer with
type_specific_technicalscomputed field - Better exception handling for OneToOne relationships
Removals
- Removed legacy JSONField validation logic (~400 lines of code)
- Removed backward compatibility tests for old JSON handling
Migration Notes
- Database migration (0034) automatically converts existing JSON data to new relational models
- See documentation for details on the new
pathdataattribute structure
Full Changelog: v5.4.0...v6.0.0