[PR #1148] [MERGED] Release v2.0.0 #12170

Closed
opened 2025-12-29 22:20:01 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/1148
Author: @jeremystretch
Created: 5/9/2017
Status: Merged
Merged: 5/9/2017
Merged by: @jeremystretch

Base: masterHead: develop


📝 Commits (10+)

  • 062a5bf Initial work on API v2.0
  • 0b228ed Merge branch 'develop' into api2
  • c5fba24 Merge branch 'develop' into api2
  • 791a641 Created CircuitDetailSerializer
  • 0f9fe86 Converted static URL definitions to routers
  • b31c097 Removed Swagger
  • b8ca530 Added an endpoint for CircuitTerminations
  • acfba41 Standardized implementation of nested ViewSets
  • ddc2c8d Cleaned up device component nested serializers
  • fa900d5 Converted nested serializers to HyperlinkedModelSerializer

📊 Changes

287 files changed (+34057 additions, -22542 deletions)

View changed files

Dockerfile (+0 -20)
📝 README.md (+4 -2)
docker-compose.yml (+0 -53)
docker/docker-entrypoint.sh (+0 -22)
docker/gunicorn_config.py (+0 -5)
docker/nginx.conf (+0 -35)
docs/api-integration.md (+0 -19)
docs/api/authentication.md (+48 -0)
docs/api/examples.md (+138 -0)
docs/api/overview.md (+138 -0)
docs/api/working-with-secrets.md (+136 -0)
📝 docs/configuration/optional-settings.md (+16 -0)
📝 docs/data-model/dcim.md (+5 -5)
📝 docs/data-model/extras.md (+7 -0)
docs/installation/docker.md (+0 -51)
📝 mkdocs.yml (+5 -2)
netbox/circuits/admin.py (+0 -29)
📝 netbox/circuits/api/serializers.py (+72 -27)
📝 netbox/circuits/api/urls.py (+18 -17)
📝 netbox/circuits/api/views.py (+47 -40)

...and 80 more files

📄 Description

New Features

API 2.0 (#113)

The NetBox API has been completely rewritten and now features full read/write ability.

Image Attachments (#152)

Users are now able to attach photos and other images to sites, racks, and devices. (Please ensure that the new media directory is writable by the system account NetBox runs as.)

Global Search (#159)

NetBox now supports searching across all primary object types at once.

Rack Elevations View (#951)

A new view has been introduced to display the elevations of multiple racks side-by-side.

Enhancements

  • #154 - Expanded device status field to include options other than active/offline
  • #430 - Include circuits when rendering topology maps
  • #578 - Show topology maps not assigned to a site on the home view
  • #1100 - Add a "view all" link to completed bulk import views is_pool for prefixes)
  • #1110 - Expand bulk edit forms to include boolean fields (e.g. toggle is_pool for prefixes)

Bug Fixes

From v1.9.6:

  • #403 - Record console/power/interface connects and disconnects as user actions
  • #853 - Added "status" field to device bulk import form
  • #1101 - Fix AJAX scripting for device component selection forms
  • #1103 - Correct handling of validation errors when creating IP addresses in bulk
  • #1104 - Fix VLAN assignment on prefix import
  • #1115 - Enabled responsive (side-scrolling) tables for small screens
  • #1116 - Correct object links on recursive deletion error
  • #1125 - Include MAC addresses on a device's interface list
  • #1144 - Allow multiple status selections for Prefix, IP address, and VLAN filters

From beta3:

  • #1113 - Fixed server error when attempting to delete an image attachment
  • #1114 - Suppress OSError when attempting to access a deleted image attachment
  • #1126 - Fixed server error when editing a user key via admin UI attachment
  • #1132 - Prompt user to unlock session key when importing secrets

Additional Changes

  • The Module DCIM model has been renamed to InventoryItem to better reflect its intended function, and to make room for work on #824.
  • Redundant portions of the admin UI have been removed (#973).
  • The Docker build components have been moved into their own repository.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/1148 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 5/9/2017 **Status:** ✅ Merged **Merged:** 5/9/2017 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `master` ← **Head:** `develop` --- ### 📝 Commits (10+) - [`062a5bf`](https://github.com/netbox-community/netbox/commit/062a5bfe8d3ec3aea653d71dcfa4a715dd9dd86f) Initial work on API v2.0 - [`0b228ed`](https://github.com/netbox-community/netbox/commit/0b228ed6d34b23a049cb2b8da5909bef0e235487) Merge branch 'develop' into api2 - [`c5fba24`](https://github.com/netbox-community/netbox/commit/c5fba24cc596483e8e96fa50856d9d49cb98dabc) Merge branch 'develop' into api2 - [`791a641`](https://github.com/netbox-community/netbox/commit/791a641eef20cf129ebd6ac80b04f6dc0b2853e0) Created CircuitDetailSerializer - [`0f9fe86`](https://github.com/netbox-community/netbox/commit/0f9fe8648e0b0e73e42ac9ea855793a936f2b732) Converted static URL definitions to routers - [`b31c097`](https://github.com/netbox-community/netbox/commit/b31c097531bce78d5beacecdbf0e69c701633f35) Removed Swagger - [`b8ca530`](https://github.com/netbox-community/netbox/commit/b8ca530c55aca1de9b50b422c9828ab82c7bc34b) Added an endpoint for CircuitTerminations - [`acfba41`](https://github.com/netbox-community/netbox/commit/acfba410ddb64c8fc5dd8a2d983eee0c34cd2cd4) Standardized implementation of nested ViewSets - [`ddc2c8d`](https://github.com/netbox-community/netbox/commit/ddc2c8d1105f991c0d4a0b20366e2bbde5eb47e8) Cleaned up device component nested serializers - [`fa900d5`](https://github.com/netbox-community/netbox/commit/fa900d5dbb01215a891a0c65f29dc46d29cdee71) Converted nested serializers to HyperlinkedModelSerializer ### 📊 Changes **287 files changed** (+34057 additions, -22542 deletions) <details> <summary>View changed files</summary> ➖ `Dockerfile` (+0 -20) 📝 `README.md` (+4 -2) ➖ `docker-compose.yml` (+0 -53) ➖ `docker/docker-entrypoint.sh` (+0 -22) ➖ `docker/gunicorn_config.py` (+0 -5) ➖ `docker/nginx.conf` (+0 -35) ➖ `docs/api-integration.md` (+0 -19) ➕ `docs/api/authentication.md` (+48 -0) ➕ `docs/api/examples.md` (+138 -0) ➕ `docs/api/overview.md` (+138 -0) ➕ `docs/api/working-with-secrets.md` (+136 -0) 📝 `docs/configuration/optional-settings.md` (+16 -0) 📝 `docs/data-model/dcim.md` (+5 -5) 📝 `docs/data-model/extras.md` (+7 -0) ➖ `docs/installation/docker.md` (+0 -51) 📝 `mkdocs.yml` (+5 -2) ➖ `netbox/circuits/admin.py` (+0 -29) 📝 `netbox/circuits/api/serializers.py` (+72 -27) 📝 `netbox/circuits/api/urls.py` (+18 -17) 📝 `netbox/circuits/api/views.py` (+47 -40) _...and 80 more files_ </details> ### 📄 Description ## New Features ### API 2.0 ([#113](https://github.com/digitalocean/netbox/issues/113)) The NetBox API has been completely rewritten and now features full read/write ability. ### Image Attachments ([#152](https://github.com/digitalocean/netbox/issues/152)) Users are now able to attach photos and other images to sites, racks, and devices. (Please ensure that the new `media` directory is writable by the system account NetBox runs as.) ### Global Search ([#159](https://github.com/digitalocean/netbox/issues/159)) NetBox now supports searching across all primary object types at once. ### Rack Elevations View ([#951](https://github.com/digitalocean/netbox/issues/951)) A new view has been introduced to display the elevations of multiple racks side-by-side. ## Enhancements * [#154](https://github.com/digitalocean/netbox/issues/154) - Expanded device status field to include options other than active/offline * [#430](https://github.com/digitalocean/netbox/issues/430) - Include circuits when rendering topology maps * [#578](https://github.com/digitalocean/netbox/issues/578) - Show topology maps not assigned to a site on the home view * [#1100](https://github.com/digitalocean/netbox/issues/1100) - Add a "view all" link to completed bulk import views is_pool for prefixes) * [#1110](https://github.com/digitalocean/netbox/issues/1110) - Expand bulk edit forms to include boolean fields (e.g. toggle is_pool for prefixes) ## Bug Fixes From v1.9.6: * [#403](https://github.com/digitalocean/netbox/issues/403) - Record console/power/interface connects and disconnects as user actions * [#853](https://github.com/digitalocean/netbox/issues/853) - Added "status" field to device bulk import form * [#1101](https://github.com/digitalocean/netbox/issues/1101) - Fix AJAX scripting for device component selection forms * [#1103](https://github.com/digitalocean/netbox/issues/1103) - Correct handling of validation errors when creating IP addresses in bulk * [#1104](https://github.com/digitalocean/netbox/issues/1104) - Fix VLAN assignment on prefix import * [#1115](https://github.com/digitalocean/netbox/issues/1115) - Enabled responsive (side-scrolling) tables for small screens * [#1116](https://github.com/digitalocean/netbox/issues/1116) - Correct object links on recursive deletion error * [#1125](https://github.com/digitalocean/netbox/issues/1125) - Include MAC addresses on a device's interface list * [#1144](https://github.com/digitalocean/netbox/issues/1144) - Allow multiple status selections for Prefix, IP address, and VLAN filters From beta3: * [#1113](https://github.com/digitalocean/netbox/issues/1113) - Fixed server error when attempting to delete an image attachment * [#1114](https://github.com/digitalocean/netbox/issues/1114) - Suppress OSError when attempting to access a deleted image attachment * [#1126](https://github.com/digitalocean/netbox/issues/1126) - Fixed server error when editing a user key via admin UI attachment * [#1132](https://github.com/digitalocean/netbox/issues/1132) - Prompt user to unlock session key when importing secrets ## Additional Changes * The Module DCIM model has been renamed to InventoryItem to better reflect its intended function, and to make room for work on [#824](https://github.com/digitalocean/netbox/issues/824). * Redundant portions of the admin UI have been removed ([#973](https://github.com/digitalocean/netbox/issues/973)). * The Docker build components have been moved into [their own repository](https://github.com/digitalocean/netbox-docker). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:20:01 +01:00
adam closed this issue 2025-12-29 22:20:01 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12170