Skip to content

Commit d195f9c

Browse files
Merge pull request #14057 from netbox-community/develop
Release v3.6.4
2 parents ccc9e89 + de29822 commit d195f9c

File tree

44 files changed

+282
-89
lines changed

Some content is hidden

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

44 files changed

+282
-89
lines changed

.github/ISSUE_TEMPLATE/bug_report.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.6.3
17+
placeholder: v3.6.4
1818
validations:
1919
required: true
2020
- 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.6.3
17+
placeholder: v3.6.4
1818
validations:
1919
required: true
2020
- type: dropdown

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@ jobs:
3131

3232
steps:
3333
- name: Check out repo
34-
uses: actions/checkout@v2
34+
uses: actions/checkout@v4
3535

3636
- name: Set up Python ${{ matrix.python-version }}
37-
uses: actions/setup-python@v2
37+
uses: actions/setup-python@v4
3838
with:
3939
python-version: ${{ matrix.python-version }}
4040

4141
- name: Use Node.js ${{ matrix.node-version }}
42-
uses: actions/setup-node@v2
42+
uses: actions/setup-node@v3
4343
with:
4444
node-version: ${{ matrix.node-version }}
4545

4646
- name: Install Yarn Package Manager
4747
run: npm install -g yarn
4848

4949
- name: Setup Node.js with Yarn Caching
50-
uses: actions/setup-node@v2
50+
uses: actions/setup-node@v3
5151
with:
5252
node-version: ${{ matrix.node-version }}
5353
cache: yarn

.github/workflows/lock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
lock:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: dessant/lock-threads@v3
17+
- uses: dessant/lock-threads@v4
1818
with:
1919
issue-inactive-days: 90
2020
pr-inactive-days: 30

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/stale@v6
18+
- uses: actions/stale@v8
1919
with:
2020
close-issue-message: >
2121
This issue has been automatically closed due to lack of activity. In an

base_requirements.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ django-filter
2323
django-graphiql-debug-toolbar
2424

2525
# Modified Preorder Tree Traversal (recursive nesting of objects)
26+
# Pinned to 0.14.0; 0.15.0 requires Python 3.9+
2627
# https://github.com/django-mptt/django-mptt/blob/main/CHANGELOG.rst
27-
django-mptt
28+
django-mptt==0.14.0
2829

2930
# Context managers for PostgreSQL advisory locks
3031
# https://github.com/Xof/django-pglocks/blob/master/CHANGES.txt
@@ -120,6 +121,10 @@ psycopg[binary,pool]
120121
# https://github.com/yaml/pyyaml/blob/master/CHANGES
121122
PyYAML
122123

124+
# Requests
125+
# https://github.com/psf/requests/blob/main/HISTORY.md
126+
requests
127+
123128
# Sentry SDK
124129
# https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md
125130
sentry-sdk

docs/configuration/miscellaneous.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ changes in the database indefinitely.
8080

8181
---
8282

83+
## DATA_UPLOAD_MAX_MEMORY_SIZE
84+
85+
Default: `2621440` (2.5 MB)
86+
87+
The maximum size (in bytes) of an incoming HTTP request (i.e. `GET` or `POST` data). Requests which exceed this size will raise a `RequestDataTooBig` exception.
88+
89+
---
90+
8391
## ENFORCE_GLOBAL_UNIQUE
8492

8593
!!! tip "Dynamic Configuration Parameter"
@@ -90,9 +98,9 @@ By default, NetBox will permit users to create duplicate prefixes and IP address
9098

9199
---
92100

93-
## `FILE_UPLOAD_MAX_MEMORY_SIZE`
101+
## FILE_UPLOAD_MAX_MEMORY_SIZE
94102

95-
Default: `2621440` (2.5 MB).
103+
Default: `2621440` (2.5 MB)
96104

97105
The maximum amount (in bytes) of uploaded data that will be held in memory before being written to the filesystem. Changing this setting can be useful for example to be able to upload files bigger than 2.5MB to custom scripts for processing.
98106

docs/customization/custom-scripts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ An IPv4 or IPv6 network with a mask. Returns a `netaddr.IPNetwork` object. Two a
288288
## Running Custom Scripts
289289

290290
!!! note
291-
To run a custom script, a user must be assigned the `extras.run_script` permission. This is achieved by assigning the user (or group) a permission on the Script object and specifying the `run` action in the admin UI as shown below.
291+
To run a custom script, a user must be assigned via permissions for `Extras > Script`, `Extras > ScriptModule`, and `Core > ManagedFile` objects. They must also be assigned the `extras.run_script` permission. This is achieved by assigning the user (or group) a permission on the Script object and specifying the `run` action in the admin UI as shown below.
292292

293293
![Adding the run action to a permission](../media/admin_ui_run_permission.png)
294294

docs/customization/reports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Once you have created a report, it will appear in the reports list. Initially, r
132132
## Running Reports
133133

134134
!!! note
135-
To run a report, a user must be assigned the `extras.run_report` permission. This is achieved by assigning the user (or group) a permission on the Report object and specifying the `run` action in the admin UI as shown below.
135+
To run a report, a user must be assigned via permissions for `Extras > Report`, `Extras > ReportModule`, and `Core > ManagedFile` objects. They must also be assigned the `extras.run_report` permission. This is achieved by assigning the user (or group) a permission on the Report object and specifying the `run` action in the admin UI as shown below.
136136

137137
![Adding the run action to a permission](../media/admin_ui_run_permission.png)
138138

docs/release-notes/version-3.6.md

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

3+
## v3.6.4 (2023-10-17)
4+
5+
### Enhancements
6+
7+
* [#12831](https://github.com/netbox-community/netbox/issues/12831) - Include circuit description in cable trace SVG image
8+
* [#12872](https://github.com/netbox-community/netbox/issues/12872) - Introduce the `DATA_UPLOAD_MAX_MEMORY_SIZE` configuration parameter
9+
* [#13950](https://github.com/netbox-community/netbox/issues/13950) - Display custom choice field labels rather than values in UI
10+
* [#13957](https://github.com/netbox-community/netbox/issues/13957) - Add DNS name filter on IP addresses list
11+
* [#13962](https://github.com/netbox-community/netbox/issues/13962) - Add a copy-to-clipboard button for API tokens
12+
* [#13972](https://github.com/netbox-community/netbox/issues/13972) - Introduce a filter to find unterminated cables
13+
14+
### Bug Fixes
15+
16+
* [#11987](https://github.com/netbox-community/netbox/issues/11987) - Fix validation of bulk cable updates via bulk import form
17+
* [#12328](https://github.com/netbox-community/netbox/issues/12328) - Ensure generic foreign key relationships are populated in REST API serializations of objects
18+
* [#12336](https://github.com/netbox-community/netbox/issues/12336) - Employ PostgreSQL advisory locks to avoid duplicate MPTT tree IDs when bulk creating objects
19+
* [#13064](https://github.com/netbox-community/netbox/issues/13064) - Fix resetting of checkbox fields triggered by HTMX form re-rendering
20+
* [#13440](https://github.com/netbox-community/netbox/issues/13440) - Fix support for assigning a tenant when creating "next available" VLANs via the REST API
21+
* [#13746](https://github.com/netbox-community/netbox/issues/13746) - Fix support for setting custom field values when creating "next available" IP addresses via the REST API
22+
* [#13872](https://github.com/netbox-community/netbox/issues/13872) - Add CSV delimiter field to file upload tab under bulk object upload views
23+
* [#13876](https://github.com/netbox-community/netbox/issues/13876) - Fix support for assigning an interface when creating "next available" IP addresses via the REST API
24+
* [#13910](https://github.com/netbox-community/netbox/issues/13910) - Correct "add device" button link under platform view
25+
* [#13944](https://github.com/netbox-community/netbox/issues/13944) - Correct serialization of several report attributes in the REST API
26+
* [#13966](https://github.com/netbox-community/netbox/issues/13966) - Restore "last login" column on users table
27+
* [#14013](https://github.com/netbox-community/netbox/issues/14013) - Fix device role filter choices under inventory items list filters
28+
* [#14023](https://github.com/netbox-community/netbox/issues/14023) - Fix exception when bulk disconnecting interfaces connected to the same cable
29+
* [#14025](https://github.com/netbox-community/netbox/issues/14025) - Fix exception when viewing a script that begins with the same name as another
30+
* [#14026](https://github.com/netbox-community/netbox/issues/14026) - Optimize the automatic creation of available IP addresses for large prefixes
31+
* [#14042](https://github.com/netbox-community/netbox/issues/14042) - Fix duplicated child object count decrements when removing objects in bulk
32+
33+
---
34+
335
## v3.6.3 (2023-09-26)
436

537
### Enhancements

0 commit comments

Comments
 (0)