Skip to content

Commit 6629c64

Browse files
committed
Merge branch 'segment_status_extension' into 'main'
Release 5.3.0 See merge request 701/netbox/cesnet_service_path_plugin!44
2 parents 281da71 + fc4ed3a commit 6629c64

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,36 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [5.3.0] - 2025-11-19
9+
10+
### Added
11+
12+
- **Introduced ownership type support attribute**
13+
- New **database migration** adding ownership_type to segments.
14+
- New constants in custom_choices and model methods for ownership type labels and colors.
15+
- Added backend and frontend color mappings for ownership type (badges + map line colors).
16+
- Added new "Ownership Type" color scheme to the Segments Map, including:
17+
- Optimized Segments map color scheme change for faster rendering
18+
19+
### Changed
20+
21+
- Improved segment map UI:
22+
- Popups and detail panels now show both status badge and ownership type badge.
23+
- Map legend updated to support ownership types.
24+
- Optimized color scheme switching with a new updateSegmentColors() function to avoid full redraw.
25+
- Status color mapping corrected (duplicate “Planned” entry resolved).
26+
- Enhanced fall-back line logic to correctly show straight-line path only when path data is missing.
27+
- Adjusted styling of badges and map-line colors for better consistency with Bootstrap and existing segment status colors.
28+
29+
### Fixed
30+
31+
- Several UI inconsistencies in map popups where status badges were duplicated or missing label formatting.
32+
- Missing ownership fields in multiple API outputs and templates.
33+
34+
### Removed
35+
36+
- Deprecated static color entries in map_status_colors.html.
37+
838
## [5.2.1] - 2025-11-07
939

1040
### Added

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ The CESNET ServicePath Plugin extends NetBox's capabilities by providing compreh
4646

4747
| NetBox Version | Plugin Version |
4848
|----------------|----------------|
49+
| 4.4 | 5.3.x |
4950
| 4.4 | 5.2.x |
5051
| 4.4 | 5.1.x |
5152
| 4.3 | 5.0.x |
@@ -73,6 +74,7 @@ The CESNET ServicePath Plugin extends NetBox's capabilities by providing compreh
7374
- Segment types (dark fiber, optical spectrum, ethernet) with type specific data
7475
- **Financial information tracking with multi-currency support**
7576
- **Commitment end date tracking** with color-coded status indicators (new in 5.2.1)
77+
- Define ownership type (new in 5.3.0)
7678

7779
### Topology Visualization (New in 5.2.1)
7880
- **Interactive network topology graphs** powered by Cytoscape.js

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "cesnet_service_path_plugin"
7-
version = "5.3.0b2"
7+
version = "5.3.0"
88
description = "Adds ability to create, edit and view service paths in the network."
99
authors = [
1010
{name = "Jan Krupa", email = "jan.krupa@cesnet.cz"},

0 commit comments

Comments
 (0)