Skip to content

Commit 2e895c7

Browse files
Merge pull request #6947 from netbox-community/develop
Release v2.11.11
2 parents 15ed575 + 11a9dc5 commit 2e895c7

File tree

28 files changed

+142
-60
lines changed

28 files changed

+142
-60
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ body:
1717
What version of NetBox are you currently running? (If you don't have access to the most
1818
recent NetBox release, consider testing on our [demo instance](https://demo.netbox.dev/)
1919
before opening a bug report to see if your issue has already been addressed.)
20-
placeholder: v2.11.10
20+
placeholder: v2.11.11
2121
validations:
2222
required: true
2323
- 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: v2.11.10
17+
placeholder: v2.11.11
1818
validations:
1919
required: true
2020
- type: dropdown

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
stale:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/stale@v3
11+
- uses: actions/stale@v4
1212
with:
1313
close-issue-message: >
1414
This issue has been automatically closed due to lack of activity. In an

docs/additional-features/custom-links.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ When viewing a device named Router4, this link would render as:
1717

1818
Custom links appear as buttons at the top right corner of the page. Numeric weighting can be used to influence the ordering of links.
1919

20+
!!! warning
21+
Custom links rely on user-created code to generate arbitrary HTML output, which may be dangerous. Only grant permission to create or modify custom links to trusted users.
22+
2023
## Context Data
2124

2225
The following context data is available within the template when rendering a custom link's text or URL.

docs/additional-features/export-templates.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ NetBox allows users to define custom templates that can be used when exporting o
44

55
Each export template is associated with a certain type of object. For instance, if you create an export template for VLANs, your custom template will appear under the "Export" button on the VLANs list. Each export template must have a name, and may optionally designate a specific export [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) and/or file extension.
66

7+
Export templates must be written in [Jinja2](https://jinja.palletsprojects.com/).
8+
79
!!! note
810
The name `table` is reserved for internal use.
911

10-
Export templates must be written in [Jinja2](https://jinja.palletsprojects.com/).
12+
!!! warning
13+
Export templates are rendered using user-submitted code, which may pose security risks under certain conditions. Only grant permission to create or modify export templates to trusted users.
1114

1215
The list of objects returned from the database when rendering an export template is stored in the `queryset` variable, which you'll typically want to iterate through using a `for` loop. Object properties can be access by name. For example:
1316

docs/additional-features/webhooks.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
A webhook is a mechanism for conveying to some external system a change that took place in NetBox. For example, you may want to notify a monitoring system whenever the status of a device is updated in NetBox. This can be done by creating a webhook for the device model in NetBox and identifying the webhook receiver. When NetBox detects a change to a device, an HTTP request containing the details of the change and who made it be sent to the specified receiver. Webhooks are configured in the admin UI under Extras > Webhooks.
44

5+
!!! warning
6+
Webhooks support the inclusion of user-submitted code to generate custom headers and payloads, which may pose security risks under certain conditions. Only grant permission to create or modify webhooks to trusted users.
7+
58
## Configuration
69

710
* **Name** - A unique name for the webhook. The name is not included with outbound messages.

docs/installation/1-postgresql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ This section entails the installation and configuration of a local PostgreSQL da
1111

1212
```no-highlight
1313
sudo apt update
14-
sudo apt install -y postgresql libpq-dev
14+
sudo apt install -y postgresql
1515
```
1616

1717
=== "CentOS"
1818

1919
```no-highlight
20-
sudo yum install -y postgresql-server libpq-devel
20+
sudo yum install -y postgresql-server
2121
sudo postgresql-setup --initdb
2222
```
2323

docs/installation/3-netbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Begin by installing all system packages required by NetBox and its dependencies.
1818
=== "CentOS"
1919

2020
```no-highlight
21-
sudo yum install -y gcc python36 python36-devel python3-pip libxml2-devel libxslt-devel libffi-devel openssl-devel redhat-rpm-config
21+
sudo yum install -y gcc python36 python36-devel python3-pip libxml2-devel libxslt-devel libffi-devel libpq-devel openssl-devel redhat-rpm-config
2222
```
2323

2424
Before continuing with either platform, update pip (Python's package management tool) to its latest release:
9.64 KB
Loading

docs/release-notes/version-2.11.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# NetBox v2.11
22

3+
## v2.11.11 (2021-08-12)
4+
5+
### Enhancements
6+
7+
* [#6883](https://github.com/netbox-community/netbox/issues/6883) - Add C21 & C22 power types
8+
* [#6921](https://github.com/netbox-community/netbox/issues/6921) - Employ a sandbox when rendering Jinja2 code for increased security
9+
10+
### Bug Fixes
11+
12+
* [#6740](https://github.com/netbox-community/netbox/issues/6740) - Add import button to VM interfaces list
13+
* [#6892](https://github.com/netbox-community/netbox/issues/6892) - Fix validation of unit ranges when creating a rack reservation
14+
* [#6896](https://github.com/netbox-community/netbox/issues/6896) - Fix validation of IP address assigned as device/VM primary via NAT relation
15+
* [#6902](https://github.com/netbox-community/netbox/issues/6902) - Populate device field when cloning device components
16+
* [#6908](https://github.com/netbox-community/netbox/issues/6908) - Allow assignment of scope to VLAN groups upon import
17+
* [#6909](https://github.com/netbox-community/netbox/issues/6909) - Remove extraneous `site` column from VLAN group import form
18+
* [#6910](https://github.com/netbox-community/netbox/issues/6910) - Fix exception on invalid CSV import column name
19+
* [#6918](https://github.com/netbox-community/netbox/issues/6918) - Fix return URL persistence when adding multiple objects sequentially
20+
* [#6935](https://github.com/netbox-community/netbox/issues/6935) - Remove extraneous columns from inventory item and device bay tables
21+
* [#6936](https://github.com/netbox-community/netbox/issues/6936) - Add missing `parent` column to inventory item import form
22+
23+
---
24+
325
## v2.11.10 (2021-07-28)
426

527
### Enhancements

0 commit comments

Comments
 (0)