Skip to content

Commit 34236ff

Browse files
committed
Update release notes
1 parent 7b258dc commit 34236ff

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

docs/release-notes/version-3.5.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## v3.5.0 (FUTURE)
44

5+
### Breaking Changes
6+
7+
* The JobResult model has been moved from the `extras` app to `core` and renamed to Job. Accordingly, its REST API endpoint has been moved from `/api/extras/job-results/` to `/api/core/jobs/`.
8+
* The `obj_type` field on the Job model (previously JobResult) has been renamed to `object_type` for consistency with other models.
9+
* The `JOBRESULT_RETENTION` configuration parameter has been renamed to `JOB_RETENTION`.
10+
511
### New Features
612

713
#### Customizable Dashboard ([#9416](https://github.com/netbox-community/netbox/issues/9416))
@@ -58,6 +64,7 @@ Two new webhook trigger events have been introduced: `job_start` and `job_end`.
5864
* [#11694](https://github.com/netbox-community/netbox/issues/11694) - Remove obsolete `SmallTextarea` form widget
5965
* [#11737](https://github.com/netbox-community/netbox/issues/11737) - `ChangeLoggedModel` now inherits `WebhooksMixin`
6066
* [#11765](https://github.com/netbox-community/netbox/issues/11765) - Retire the `StaticSelect` and `StaticSelectMultiple` form widgets
67+
* [#12067](https://github.com/netbox-community/netbox/issues/12067) - Move & rename `extras.JobResult` to `core.Job`
6168

6269
### REST API Changes
6370

@@ -68,8 +75,12 @@ Two new webhook trigger events have been introduced: `job_start` and `job_end`.
6875
* `/api/dcim/device/<id>/render-config/`
6976
* `/api/extras/config-templates/`
7077
* `/api/ipam/asn-ranges/`
71-
* Removed existing endpoints:
78+
* Changed endpoints:
79+
* `/api/extras/job-results/` is now `/api/core/jobs/`
80+
* Removed endpoints:
7281
* `/api/dcim/device/<id>/napalm/`
82+
* core.Job
83+
* Renamed `obj_type` to `object_type`
7384
* dcim.DeviceType
7485
* Added `default_platform` foreign key (optional)
7586
* dcim.InterfaceTemplate
@@ -79,6 +90,8 @@ Two new webhook trigger events have been introduced: `job_start` and `job_end`.
7990
* Added `data_source`, `data_file`, `data_path`, and `data_synced` fields to enable syncing data from remote sources
8091
* extras.ExportTemplate
8192
* Added `data_source`, `data_file`, `data_path`, and `data_synced` fields to enable syncing content from remote sources
93+
* extras.JobResult
94+
* Move to `core.Job`
8295
* extras.Webhook
8396
* Added `type_job_start` and `type_job_end` boolean fields
8497
* ipam.ASN

netbox/core/api/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
router.register('data-files', views.DataFileViewSet)
1111

1212
# Jobs
13-
router.register('job-results', views.JobViewSet)
13+
router.register('jobs', views.JobViewSet)
1414

1515
app_name = 'core-api'
1616
urlpatterns = router.urls

0 commit comments

Comments
 (0)