Skip to content

Commit b7f6b72

Browse files
Merge pull request #15222 from netbox-community/develop
Release v3.7.3
2 parents 426805c + 503c78b commit b7f6b72

File tree

99 files changed

+9460
-4740
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+9460
-4740
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ body:
1313
- type: dropdown
1414
attributes:
1515
label: Deployment Type
16-
description: How are you running NetBox?
16+
description: >
17+
How are you running NetBox? (For issues with the Docker image, please go to the
18+
[netbox-docker](https://github.com/netbox-community/netbox-docker) repo.)
1719
options:
1820
- Self-hosted
1921
- NetBox Cloud
@@ -23,7 +25,7 @@ body:
2325
attributes:
2426
label: NetBox Version
2527
description: What version of NetBox are you currently running?
26-
placeholder: v3.7.2
28+
placeholder: v3.7.3
2729
validations:
2830
required: true
2931
- type: dropdown

.github/ISSUE_TEMPLATE/feature_request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ body:
1414
attributes:
1515
label: NetBox version
1616
description: What version of NetBox are you currently running?
17-
placeholder: v3.7.2
17+
placeholder: v3.7.3
1818
validations:
1919
required: true
2020
- type: dropdown

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<a href="https://github.com/netbox-community/netbox/blob/master/LICENSE.txt"><img src="https://img.shields.io/badge/license-Apache_2.0-blue.svg" alt="License" /></a>
66
<a href="https://github.com/netbox-community/netbox/graphs/contributors"><img src="https://img.shields.io/github/contributors/netbox-community/netbox?color=blue" alt="Contributors" /></a>
77
<a href="https://github.com/netbox-community/netbox/stargazers"><img src="https://img.shields.io/github/stars/netbox-community/netbox?style=flat" alt="GitHub stars" /></a>
8-
<a href="https://explore.transifex.com/netbox-community/netbox/"><img src="https://img.shields.io/badge/languages-6-blue" alt="Languages supported" /></a>
8+
<a href="https://explore.transifex.com/netbox-community/netbox/"><img src="https://img.shields.io/badge/languages-7-blue" alt="Languages supported" /></a>
99
<a href="https://github.com/netbox-community/netbox/actions/workflows/ci.yml"><img src="https://github.com/netbox-community/netbox/workflows/CI/badge.svg?branch=master" alt="CI status" /></a>
1010
<p></p>
1111
</div>

base_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ mkdocs-material
105105
mkdocstrings[python-legacy]
106106

107107
# Library for manipulating IP prefixes and addresses
108-
# https://github.com/netaddr/netaddr/blob/master/CHANGELOG
108+
# https://github.com/netaddr/netaddr/blob/master/CHANGELOG.rst
109109
netaddr
110110

111111
# Fork of PIL (Python Imaging Library) for image processing

docs/configuration/remote-authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ When remote user authentication is in use, this is the name of the HTTP header w
6767

6868
Default: `|` (Pipe)
6969

70-
The Seperator upon which `REMOTE_AUTH_GROUP_HEADER` gets split into individual Groups. This needs to be coordinated with your authentication Proxy. (Requires `REMOTE_AUTH_ENABLED` and `REMOTE_AUTH_GROUP_SYNC_ENABLED` )
70+
The Separator upon which `REMOTE_AUTH_GROUP_HEADER` gets split into individual Groups. This needs to be coordinated with your authentication Proxy. (Requires `REMOTE_AUTH_ENABLED` and `REMOTE_AUTH_GROUP_SYNC_ENABLED` )
7171

7272
---
7373

docs/customization/custom-scripts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ class NewBranchScript(Script):
390390
name=f'{site.slug}-switch{i}',
391391
site=site,
392392
status=DeviceStatusChoices.STATUS_PLANNED,
393-
role=switch_role
393+
device_role=switch_role
394394
)
395395
switch.full_clean()
396396
switch.save()

docs/release-notes/version-3.7.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# NetBox v3.7
22

3+
## v3.7.3 (2024-02-21)
4+
5+
### Enhancements
6+
7+
* [#14587](https://github.com/netbox-community/netbox/issues/14587) - Display a human-friendly name for the OpenID Connect remote auth backend
8+
* [#14946](https://github.com/netbox-community/netbox/issues/14946) - Remove `associate_by_email()` from default social auth pipeline
9+
* [#14966](https://github.com/netbox-community/netbox/issues/14966) - Add PostgreSQL index for object type & ID on CachedValue table to improve performance
10+
* [#15177](https://github.com/netbox-community/netbox/issues/15177) - Add "last login" time to user display & REST API serializer
11+
12+
### Bug Fixes
13+
14+
* [#14058](https://github.com/netbox-community/netbox/issues/14058) - Limit platform options by manufacturer when editing a device or device type
15+
* [#14064](https://github.com/netbox-community/netbox/issues/14064) - Resolving parent location should consider assigned site when bulk importing locations
16+
* [#14079](https://github.com/netbox-community/netbox/issues/14079) - Ensure changes are logged on related objects when deleting an object referenced via a many-to-many relationship (e.g. tags)
17+
* [#14405](https://github.com/netbox-community/netbox/issues/14405) - Clean up formatting of link peers in bulk CSV export of cable termination objects
18+
* [#14689](https://github.com/netbox-community/netbox/issues/14689) - Preserve "empty" default values for JSON custom fields
19+
* [#14952](https://github.com/netbox-community/netbox/issues/14952) - Update existing AutoSyncRecord when changing the data file of an auto-synced object
20+
* [#15059](https://github.com/netbox-community/netbox/issues/15059) - Correct IP address count link in VM interfaces table
21+
* [#15067](https://github.com/netbox-community/netbox/issues/15067) - Fix uncaught exception when attempting invalid device bay import
22+
* [#15070](https://github.com/netbox-community/netbox/issues/15070) - Fix inclusion of `config_template` field on REST API serializer for virtual machines
23+
* [#15084](https://github.com/netbox-community/netbox/issues/15084) - Fix "add export template" link under "export" button on object list views
24+
* [#15090](https://github.com/netbox-community/netbox/issues/15090) - Ensure protection rules are evaluated prior to enqueueing events when deleting an object
25+
* [#15091](https://github.com/netbox-community/netbox/issues/15091) - Fix designation of the active tab for assigned object when modifying an L2VPN termination
26+
* [#15101](https://github.com/netbox-community/netbox/issues/15101) - Correct OpenAPI schema for rack elevation REST API endpoint
27+
* [#15115](https://github.com/netbox-community/netbox/issues/15115) - Fix unhandled exception with invalid permission constraints
28+
* [#15126](https://github.com/netbox-community/netbox/issues/15126) - `group` field should be optional when creating VPN tunnel via REST API
29+
* [#15127](https://github.com/netbox-community/netbox/issues/15127) - Add missing group column to VPN tunnels table
30+
* [#15133](https://github.com/netbox-community/netbox/issues/15133) - Fix FHRP group representation on assignments REST API endpoint using brief mode
31+
* [#15174](https://github.com/netbox-community/netbox/issues/15174) - Warn that permission constraints are not supported for reports or scripts
32+
* [#15184](https://github.com/netbox-community/netbox/issues/15184) - Correct REST API schema definition for `front_image` & `rear_image` on DeviceType
33+
* [#15185](https://github.com/netbox-community/netbox/issues/15185) - Ensure error messages pertaining to related objects are displayed on the bulk import form
34+
* [#15192](https://github.com/netbox-community/netbox/issues/15192) - Fix exception when viewing current config when no history is present
35+
36+
---
37+
338
## v3.7.2 (2024-02-05)
439

540
### Enhancements

netbox/circuits/models/circuits.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,9 @@ def clean(self):
234234

235235
# Must define either site *or* provider network
236236
if self.site is None and self.provider_network is None:
237-
raise ValidationError("A circuit termination must attach to either a site or a provider network.")
237+
raise ValidationError(_("A circuit termination must attach to either a site or a provider network."))
238238
if self.site and self.provider_network:
239-
raise ValidationError("A circuit termination cannot attach to both a site and a provider network.")
239+
raise ValidationError(_("A circuit termination cannot attach to both a site and a provider network."))
240240

241241
def to_objectchange(self, action):
242242
objectchange = super().to_objectchange(action)

netbox/core/api/schema.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
build_basic_type, build_choice_field, build_media_type_object, build_object_type, get_doc,
99
)
1010
from drf_spectacular.types import OpenApiTypes
11+
from rest_framework import serializers
1112
from rest_framework.relations import ManyRelatedField
1213

1314
from netbox.api.fields import ChoiceField, SerializedPKRelatedField

netbox/core/data_backends.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def fetch(self):
102102
try:
103103
porcelain.clone(self.url, local_path.name, **clone_args)
104104
except BaseException as e:
105-
raise SyncError(f"Fetching remote data failed ({type(e).__name__}): {e}")
105+
raise SyncError(_("Fetching remote data failed ({name}): {error}").format(name=type(e).__name__, error=e))
106106

107107
yield local_path.name
108108

0 commit comments

Comments
 (0)