diff --git a/base_requirements.txt b/base_requirements.txt index 3e5bcb0db92..7a8f04a98bc 100644 --- a/base_requirements.txt +++ b/base_requirements.txt @@ -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 diff --git a/docs/release-notes/version-4.2.md b/docs/release-notes/version-4.2.md index c32bddaeb12..fe138c06464 100644 --- a/docs/release-notes/version-4.2.md +++ b/docs/release-notes/version-4.2.md @@ -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. @@ -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 diff --git a/netbox/release.yaml b/netbox/release.yaml index fadb01274e3..49b8194ad46 100644 --- a/netbox/release.yaml +++ b/netbox/release.yaml @@ -1,3 +1,4 @@ -version: "4.1.7" +version: "4.2" edition: "Community" -published: "2024-11-21" +published: "2024-12-02" +designation: "beta1" diff --git a/netbox/translations/de/LC_MESSAGES/django.mo b/netbox/translations/de/LC_MESSAGES/django.mo index 84659662029..632702c7323 100644 Binary files a/netbox/translations/de/LC_MESSAGES/django.mo and b/netbox/translations/de/LC_MESSAGES/django.mo differ diff --git a/netbox/translations/de/LC_MESSAGES/django.po b/netbox/translations/de/LC_MESSAGES/django.po index ed56b227683..3c43604f037 100644 --- a/netbox/translations/de/LC_MESSAGES/django.po +++ b/netbox/translations/de/LC_MESSAGES/django.po @@ -9768,11 +9768,13 @@ 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 @@ -9780,6 +9782,8 @@ 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." diff --git a/requirements.txt b/requirements.txt index f6d9da5a4a5..55be0b5913e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 @@ -14,16 +14,16 @@ 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 @@ -31,7 +31,7 @@ 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