Skip to content

Commit dea5f94

Browse files
committed
Finish draft release notes
1 parent 85ab7ad commit dea5f94

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

docs/release-notes/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ Minor releases are published in April, August, and December of each calendar yea
1010

1111
This page contains a history of all major and minor releases since NetBox v2.0. For more detail on a specific patch release, please see the release notes page for that specific minor release.
1212

13+
#### [Version 3.7](./version-3.6.md) (December 2023)
14+
15+
* VPN Tunnels ([#9816](https://github.com/netbox-community/netbox/issues/9816))
16+
* Event Rules ([#14132](https://github.com/netbox-community/netbox/issues/14132))
17+
* Virtual Machine Disks ([#8356](https://github.com/netbox-community/netbox/issues/8356))
18+
* Object Protection Rules ([#10244](https://github.com/netbox-community/netbox/issues/10244))
19+
* Improved Custom Field Visibility Controls ([#13299](https://github.com/netbox-community/netbox/issues/13299))
20+
* Improved Global Search Results ([#14134](https://github.com/netbox-community/netbox/issues/14134))
21+
* Table Column Registration for Plugins ([#14173](https://github.com/netbox-community/netbox/issues/14173))
22+
* Data Backend Registration for Plugins ([#13381](https://github.com/netbox-community/netbox/issues/13381))
23+
1324
#### [Version 3.6](./version-3.6.md) (August 2023)
1425

1526
* Relocated Admin UI Views ([#12589](https://github.com/netbox-community/netbox/issues/12589), [#12590](https://github.com/netbox-community/netbox/issues/12590), [#12591](https://github.com/netbox-community/netbox/issues/12591), [#13044](https://github.com/netbox-community/netbox/issues/13044))

docs/release-notes/version-3.7.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,38 @@
22

33
### Breaking Changes
44

5+
* The following fields have been removed from the Webhook model: `content_types`, `type_create`, `type_update`, `type_delete`, `type_job_start`, `type_job_end`, `enabled`, and `conditions`. Webhooks are now tied to events via [event rules](../features/event-rules.md). Existing webhooks will have event rules created automatically upon upgrade.
56
* The `ui_visibility` field on the [custom field model](../models/extras/customfield.md) has been replaced with two new fields: `ui_visible` and `ui_editable`. Existing values will be migrated automatically upon upgrade.
67
* The `FeatureQuery` class for querying content types by model feature has been removed. Plugins should now use the new `with_feature()` manager method on NetBox's proxy model for ContentType.
78
* The ConfigRevision model has been moved from `extras` to `core`. Configuration history will be retained throughout the upgrade process.
8-
* The L2VPN and L2VPNTermination models have been moved from the `ipam` app to the new `vpn` app. All object data will be retained however please note that the relevant API endpoints have been moved to `/api/vpn/`.
9-
* The `CustomFieldsMixin`, `SavedFiltersMixin`, and `TagsMixin` classes have moved from the `extras.forms.mixins` to `netbox.forms.mixins`.
9+
* The L2VPN and L2VPNTermination models have been moved from the `ipam` app to the new `vpn` app. All object data will be retained, however please note that the relevant API endpoints have moved to `/api/vpn/`.
10+
* The `CustomFieldsMixin`, `SavedFiltersMixin`, and `TagsMixin` classes have moved from the `extras.forms.mixins` module to `netbox.forms.mixins`.
1011

1112
### New Features
1213

1314
#### VPN Tunnels ([#9816](https://github.com/netbox-community/netbox/issues/9816))
1415

1516
Several new models have been introduced to enable [VPN tunnel management](../features/vpn-tunnels.md). Users can now define tunnels with two or more terminations to replicate peer-to-peer or hub-and-spoke topologies. Each termination is made to a virtual interface on a device or VM. Additionally, users can define IKE and IPSec policies which can be applied to tunnels to document encryption and authentication strategies.
1617

18+
#### Event Rules ([#14132](https://github.com/netbox-community/netbox/issues/14132))
19+
20+
This release introduces [event rules](../features/event-rules.md), which can be used to send webhooks or execute custom scripts automatically in response to NetBox events. For example, it's now possible to run a custom script whenever a new site is created with a particular status or tag.
21+
22+
Event rules replace and extend functionality that was previously built into the webhook model. Event rules will be created for any existing webhooks upon upgrade.
23+
1724
#### Virtual Machine Disks ([#8356](https://github.com/netbox-community/netbox/issues/8356))
1825

1926
A new [VirtualDisk](../models/virtualization/virtualdisk.md) model has been introduced to enable tracking the assignment of discrete virtual disks to virtual machines. The original `size` field has been retained on the VirtualMachine model, and will be automatically updated with the aggregate size of all assigned virtual disks. (Users who opt to eschew the new model may continue using the VirtualMachine `size` attribute as before.)
2027

21-
#### Protection Rules ([#10244](https://github.com/netbox-community/netbox/issues/10244))
28+
#### Object Protection Rules ([#10244](https://github.com/netbox-community/netbox/issues/10244))
2229

2330
A new [`PROTECTION_RULES`](../configuration/data-validation.md#protection_rules) configuration parameter is now available. Similar to how [custom validation rules](../customization/custom-validation.md) can be used to enforce certain values for object attributes, protection rules guard against the deletion of objects which do not meet specified criteria. This enables an administrator to prevent, for example, the deletion of a site which has a status of "active."
2431

2532
#### Improved Custom Field Visibility Controls ([#13299](https://github.com/netbox-community/netbox/issues/13299))
2633

2734
The old `ui_visible` field on the custom field model](../models/extras/customfield.md) has been replaced by two new fields, `ui_visible` and `ui_editable`, which control how and whether a custom field is displayed when view and editing an object, respectively. Separating these two functions into discrete fields enables more control over how each custom field is presented to users. The values of these fields will be appropriately set automatically during the upgrade process depending on the value of the original field.
2835

29-
#### Extend Display of Global Search Results ([#14134](https://github.com/netbox-community/netbox/issues/14134))
36+
#### Improved Global Search Results ([#14134](https://github.com/netbox-community/netbox/issues/14134))
3037

3138
Global search results now include additional context about each object, such as a description, status, and/or related objects. The set of attributes to be displayed is specific to each object type, and is defined by setting `display_attrs` under the object's [SearchIndex class](../plugins/development/search.md#netbox.search.SearchIndex).
3239

@@ -50,6 +57,8 @@ Plugins can now [register their own data backends](../plugins/development/data-b
5057
* [#13808](https://github.com/netbox-community/netbox/issues/13808) - Added a `/render-config` REST API endpoint for virtual machines
5158
* [#14035](https://github.com/netbox-community/netbox/issues/14035) - Order objects of equivalent weight by value in global search results to improve readability
5259
* [#14156](https://github.com/netbox-community/netbox/issues/14156) - Enable custom fields for contact assignments
60+
* [#14361](https://github.com/netbox-community/netbox/issues/14361) - Add a `description` field for webhooks
61+
* [#14365](https://github.com/netbox-community/netbox/issues/14365) - Introduced `job_start` and `job_end` signals
5362

5463
### Other Changes
5564

@@ -60,10 +69,12 @@ Plugins can now [register their own data backends](../plugins/development/data-b
6069
* [#14311](https://github.com/netbox-community/netbox/issues/14311) - Move the L2VPN models from the `ipam` app to the new `vpn` app
6170
* [#14312](https://github.com/netbox-community/netbox/issues/14312) - Move the ConfigRevision model from the `extras` app to `core`
6271
* [#14326](https://github.com/netbox-community/netbox/issues/14326) - Form feature mixin classes have been moved from the `extras` app to `netbox`
72+
* [#14395](https://github.com/netbox-community/netbox/issues/14395) - Moved `extras.webhooks_worker.process_webhook()` to `extras.webhooks.send_webhook()` (backward compatibility has been retained)
6373

6474
### REST API Changes
6575

6676
* Introduced the following endpoints:
77+
* `/api/extras/event-rules/`
6778
* `/api/virtualization/virtual-disks/`
6879
* `/api/vpn/ike-policies/`
6980
* `/api/vpn/ike-proposals/`
@@ -79,6 +90,9 @@ Plugins can now [register their own data backends](../plugins/development/data-b
7990
* Added the optional `color` choice field
8091
* core.Job
8192
* Added the read-only `error` character field
93+
* extras.Webhook
94+
* Removed the following fields: `content_types`, `type_create`, `type_update`, `type_delete`, `type_job_start`, `type_job_end`, `enabled`, and `conditions` (these have been moved to the new `EventRule` model)
95+
* Add the optional `description` field
8296
* dcim.DeviceType
8397
* Added the `exclude_from_utilization` boolean field
8498
* extras.CustomField

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ nav:
254254
- ClusterGroup: 'models/virtualization/clustergroup.md'
255255
- ClusterType: 'models/virtualization/clustertype.md'
256256
- VMInterface: 'models/virtualization/vminterface.md'
257+
- VirtualDisk: 'models/virtualization/virtualdisk.md'
257258
- VirtualMachine: 'models/virtualization/virtualmachine.md'
258259
- VPN:
259260
- IKEPolicy: 'models/vpn/ikepolicy.md'
@@ -288,6 +289,7 @@ nav:
288289
- git Cheat Sheet: 'development/git-cheat-sheet.md'
289290
- Release Notes:
290291
- Summary: 'release-notes/index.md'
292+
- Version 3.7: 'release-notes/version-3.7.md'
291293
- Version 3.6: 'release-notes/version-3.6.md'
292294
- Version 3.5: 'release-notes/version-3.5.md'
293295
- Version 3.4: 'release-notes/version-3.4.md'

0 commit comments

Comments
 (0)