Skip to content

Commit

Permalink
Release v4.2-beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Dec 2, 2024
1 parent a998893 commit ce365da
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 47 deletions.
2 changes: 1 addition & 1 deletion base_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The Python web framework on which NetBox is built
# https://docs.djangoproject.com/en/stable/releases/
Django<5.1
Django<5.2

# Django middleware which permits cross-domain API requests
# https://github.com/adamchainz/django-cors-headers/blob/main/CHANGELOG.rst
Expand Down
81 changes: 43 additions & 38 deletions docs/release-notes/version-4.2.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# NetBox v4.2

## v4.2.0 (FUTURE)
## v4.2-beta1 (2024-12-02)

!!! danger "Not for Production Use"
This is a beta release of NetBox intended for testing and evaluation. **Do not use this software in production.** Also be aware that no upgrade path is provided to future releases.

### Breaking Changes

* Support for the Django admin UI has been completely removed. (The Django admin UI was disabled by default in NetBox v4.0.)
* NetBox has adopted collation-based natural ordering for many models. This may alter the order in which some objects are listed by default.
* Automatic redirects from pre-v4.1 UI views for virtual disks have been removed.
* The `site` and `provider_network` foreign key fields on `circuits.CircuitTermination` have been replaced by the `termination` generic foreign key.
* The `site` foreign key field on `ipam.Prefix` has been replaced by the `scope` generic foreign key.
* The `site` foreign key field on `virtualization.Cluster` has been replaced by the `scope` generic foreign key.
Expand Down Expand Up @@ -61,58 +65,59 @@ NetBox now supports the designation of customer VLANs (CVLANs) and service VLANs
* [#17476](https://github.com/netbox-community/netbox/issues/17476) - Upgrade to Django 5.1
* [#17752](https://github.com/netbox-community/netbox/issues/17752) - Bulk object import URL paths have been renamed from `*_import` to `*_bulk_import`
* [#17761](https://github.com/netbox-community/netbox/issues/17761) - Optional choice fields now store empty values as null (rather than empty strings) in the database
* [#18093](https://github.com/netbox-community/netbox/issues/18093) - Redirects for pre-v4.1 virtual disk UI views have been removed

### REST API Changes

* Added the following endpoints:
* `/api/circuits/virtual-circuits/`
* `/api/circuits/virtual-circuit-terminations/`
* `/api/dcim/mac-addresses/`
* `/api/ipam/vlan-translation-policies/`
* `/api/ipam/vlan-translation-rules/`
* `/api/circuits/virtual-circuits/`
* `/api/circuits/virtual-circuit-terminations/`
* `/api/dcim/mac-addresses/`
* `/api/ipam/vlan-translation-policies/`
* `/api/ipam/vlan-translation-rules/`
* circuits.Circuit
* Added the optional `distance` and `distance_unit` fields
* Added the optional `distance` and `distance_unit` fields
* circuits.CircuitTermination
* Removed the `site` & `provider_network` fields
* Added the `termination_type` & `termination_id` fields to facilitate termination assignment
* Added the read-only `termination` field
* Removed the `site` & `provider_network` fields
* Added the `termination_type` & `termination_id` fields to facilitate termination assignment
* Added the read-only `termination` field
* dcim.Interface
* The `mac_address` field is now read-only
* Added the `primary_mac_address` relation to dcim.MACAddress
* Added the read-only `mac_addresses` list
* Added the `qinq_svlan` relation to ipam.VLAN
* Added the `vlan_translation_policy` relation to ipam.VLANTranslationPolicy
* Added `mode` choice "Q-in-Q"
* The `mac_address` field is now read-only
* Added the `primary_mac_address` relation to dcim.MACAddress
* Added the read-only `mac_addresses` list
* Added the `qinq_svlan` relation to ipam.VLAN
* Added the `vlan_translation_policy` relation to ipam.VLANTranslationPolicy
* Added `mode` choice "Q-in-Q"
* dcim.InventoryItem
* Added the optional `status` choice field
* Added the optional `status` choice field
* dcim.Location
* Added the read-only `prefix_count` field
* Added the read-only `prefix_count` field
* dcim.PowerOutlet
* Added the optional `color` field
* Added the optional `color` field
* dcim.Region
* Added the read-only `prefix_count` field
* Added the read-only `prefix_count` field
* dcim.SiteGroup
* Added the read-only `prefix_count` field
* Added the read-only `prefix_count` field
* ipam.Prefix
* Removed the `site` field
* Added the `scope_type` & `scope_id` fields to facilitate scope assignment
* Added the read-only `scope` field
* Removed the `site` field
* Added the `scope_type` & `scope_id` fields to facilitate scope assignment
* Added the read-only `scope` field
* ipam.VLAN
* Added the optional `qinq_role` selection field
* Added the `qinq_svlan` recursive relation
* Added the optional `qinq_role` selection field
* Added the `qinq_svlan` recursive relation
* virtualization.Cluster
* Removed the `site` field
* Added the `scope_type` & `scope_id` fields to facilitate scope assignment
* Added the read-only `scope` field
* Removed the `site` field
* Added the `scope_type` & `scope_id` fields to facilitate scope assignment
* Added the read-only `scope` field
* virtualization.Cluster
* Added the read-only fields `allocated_vcpus`, `allocated_memory`, and `allocated_disk`
* Added the read-only fields `allocated_vcpus`, `allocated_memory`, and `allocated_disk`
* virtualization.VMInterface
* The `mac_address` field is now read-only
* Added the `primary_mac_address` relation to dcim.MACAddress
* Added the read-only `mac_addresses` list
* Added the `qinq_svlan` relation to ipam.VLAN
* Added the `vlan_translation_policy` relation to ipam.VLANTranslationPolicy
* Added `mode` choice "Q-in-Q"
* The `mac_address` field is now read-only
* Added the `primary_mac_address` relation to dcim.MACAddress
* Added the read-only `mac_addresses` list
* Added the `qinq_svlan` relation to ipam.VLAN
* Added the `vlan_translation_policy` relation to ipam.VLANTranslationPolicy
* Added `mode` choice "Q-in-Q"
* wireless.WirelessLAN
* Added the `scope_type` & `scope_id` fields to support scope assignment
* Added the read-only `scope` field
* Added the `scope_type` & `scope_id` fields to support scope assignment
* Added the read-only `scope` field
5 changes: 3 additions & 2 deletions netbox/release.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: "4.1.7"
version: "4.2"
edition: "Community"
published: "2024-11-21"
published: "2024-12-02"
designation: "beta1"
Binary file modified netbox/translations/de/LC_MESSAGES/django.mo
Binary file not shown.
4 changes: 4 additions & 0 deletions netbox/translations/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -9768,18 +9768,22 @@ msgstr "scope_id kann nicht ohne scope_type gesetzt werden."
#, python-brace-format
msgid "Starting VLAN ID in range ({value}) cannot be less than {minimum}"
msgstr ""
"Start-VLAN-ID im Bereich ({value}) darf nicht kleiner sein als {minimum}"

#: ipam/models/vlans.py:111
#, python-brace-format
msgid "Ending VLAN ID in range ({value}) cannot exceed {maximum}"
msgstr ""
"Ende der VLAN-ID im Bereich ({value}) darf {maximum}nicht überschreiten "

#: ipam/models/vlans.py:118
#, python-brace-format
msgid ""
"Ending VLAN ID in range must be greater than or equal to the starting VLAN "
"ID ({range})"
msgstr ""
"Die End-VLAN-ID im Bereich muss größer oder gleich der Start-VLAN-ID sein "
"({range})"

#: ipam/models/vlans.py:124
msgid "Ranges cannot overlap."
Expand Down
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django==5.1.2
Django==5.1.3
django-cors-headers==4.6.0
django-debug-toolbar==4.4.6
django-filter==24.3
Expand All @@ -14,24 +14,24 @@ django-taggit==6.1.0
django-tables2==2.7.0
django-timezone-field==7.0
djangorestframework==3.15.2
drf-spectacular==0.27.2
drf-spectacular-sidecar==2024.11.1
drf-spectacular==0.28.0
drf-spectacular-sidecar==2024.12.1
feedparser==6.0.11
gunicorn==23.0.0
Jinja2==3.1.4
Markdown==3.7
mkdocs-material==9.5.45
mkdocs-material==9.5.47
mkdocstrings[python-legacy]==0.27.0
netaddr==1.3.0
nh3==0.2.18
nh3==0.2.19
Pillow==11.0.0
psycopg[c,pool]==3.2.3
PyYAML==6.0.2
requests==2.32.3
rq==2.0
social-auth-app-django==5.4.2
social-auth-core==4.5.4
strawberry-graphql==0.251.0
strawberry-graphql==0.253.0
strawberry-graphql-django==0.50.0
svgwrite==1.4.3
tablib==3.7.0
Expand Down

0 comments on commit ce365da

Please sign in to comment.