-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v3.6.0 #13614
Merged
Merged
Release v3.6.0 #13614
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 11305 add lat/long to devices * 11305 update docs * 11305 update tests
* Introduce AvailableObjectsView and refactor 'available objects' API views * Restore advisory PostgreSQL locks * Move get_next_available_prefix() * Apply OpenAPI decorators for get() and post()
* 12794 change User ref to get_user_model * 12794 call get_user_model once in tests * 12794 call get_user_model once in tests * 12794 use settings.AUTH_USER_MODEL for FK reference
* 12175 add rack starting unit * 12175 rack starting unit to svg * verify devices can still fit if change rack starting_unit * 12175 fix migration * 12175 fix typo and test * 12175 fix test * 12175 fix max height calc display * Misc cleanup & fixes --------- Co-authored-by: Jeremy Stretch <[email protected]>
* 12591 initial commit * 12591 detail view * 12591 add/edit view * 12591 edit button * 12591 base views and forms * 12591 form cleanup * 12591 form cleanup * 12591 form cleanup * 12591 review changes * 12591 move check for restrictedqueryset * 12591 restore view * 12591 restore page styling * 12591 remove admin * Remove edit view for ConfigRevision instances * Order ConfigRevisions by creation time * Correct permission name * Use RestrictedQuerySet for ConfigRevision * Fix redirect URL --------- Co-authored-by: Jeremy Stretch <[email protected]>
* 12237 upgrade django and psycopg * 12237 add migration * 12237 rename migration * 12237 update requirements * 12237 fix migration * Update base requirements --------- Co-authored-by: Jeremy Stretch <[email protected]>
* Initial work on custom field choice sets * Rename choices to extra_choices (prep for #12194) * Remove CustomField.choices * Add & update tests * Clean up table columns * Add order_alphanetically boolean for choice sets * Introduce ArrayColumn for choice lists * Show dependent custom fields on choice set view * Update custom fields documentation * Introduce ArrayWidget for more convenient editing of choices * Incorporate PR feedback * Misc cleanup
Move admin views for users, groups, and object permissions from the admin site to the NetBox frontend --------- Co-authored-by: Jeremy Stretch <[email protected]>
…12632) --------- Co-authored-by: Jeremy Stretch <[email protected]>
* initial oob_ip support for devices * add primary ip and oob ip checkmark to ip address view * add oob ip to device view and device edit view * pep8 * make is_oob_ip and is_primary_ip generic for other models * refactor oob_ip * fix oob ip signal * string capitalisation * Misc cleanup --------- Co-authored-by: Jeremy Stretch <[email protected]>
* adds rf_role to interface template #13170 * fixed migration file conflict * Misc cleanup --------- Co-authored-by: Jeremy Stretch <[email protected]>
13272 fix graphql test
* 13319 add documentation for internationalization * 13319 add verbose name to model * 13319 fix typo * Flesh out developer doc for i18n --------- Co-authored-by: Jeremy Stretch <[email protected]>
* adds config template to vm model #12461 * Add translation tags; collapse config data * i18n cleanup * Establish parity with DeviceRenderConfigView * Move config_template field to RenderConfigMixin --------- Co-authored-by: Jeremy Stretch <[email protected]>
* 13599 fix cache counter * 13599 update test * Merge conditionals --------- Co-authored-by: Jeremy Stretch <[email protected]>
…aces (#13296) * Add `vc_interfaces` flag to control interface queryset * Fix test failure * Add new filters instead of using undocumented query params * Cleanup filterset, add test * Rename filter and re-introduce virtual_chassis filtering method (required) * Fix test * Adjust tests to more accurately provide coverage * Add breaking change note * Misc cleanup --------- Co-authored-by: Jeremy Stretch <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Breaking Changes
device_role
field on the Device model has been renamed torole
. Thedevice_role
field has been temporarily retained on the REST API serializer for devices for backward compatibility, but is read-only.choices
array field has been removed from the CustomField model. Any defined choices are automatically migrated to CustomFieldChoiceSets, accessible via the newchoice_set
field on the CustomField model.napalm_driver
andnapalm_args
fields (which were deprecated in v3.5) have been removed from the Platform model.device
anddevice_id
filter for interfaces will no longer include interfaces from virtual chassis peers. Two new filters,virtual_chassis_member
andvirtual_chassis_member_id
, have been introduced to match all interfaces belonging to the specified device's virtual chassis (if any).results
list when fetched via the REST API, consistent with other models.ALLOW_TOKEN_RETRIEVAL
is disabled. (The admin view has been removed per #13044.)New Features
Relocated Admin UI Views (#12589, #12590, #12591, #13044)
Management views for the following object types, previously available only under the backend admin interface, have been relocated to the primary user interface:
This migration provides a more consistent user experience and unlocks advanced functionality not feasible using Django's built-in views. The admin UI is scheduled for complete removal in NetBox v4.0.
Configurable Default Permissions (#13038)
Administrators now have the option of configuring default permissions for all users globally, regardless of explicit permission or group assignments granted in the database. This is accomplished by defining the
DEFAULT_PERMISSIONS
configuration parameter. By default, all users are granted permission to manage their own bookmarks and API tokens.User Bookmarks (#8248)
Users can now bookmark their favorite objects in NetBox. Bookmarks are accessible under each user's personal bookmarks list, and can also be added as a dashboard widget.
Custom Field Choice Sets (#12988)
Selection and multi-select custom fields now employ discrete, reusable choice sets containing the valid options for each field. A choice set may be shared by multiple custom fields. Additionally, each choice within a set can now specify both a raw value and a human-friendly label (see #13241). Pre-existing custom field choices are migrated to choice sets automatically during the upgrade process.
Pre-Defined Location Choices for Custom Fields (#12194)
Users now have the option to employ one of several pre-defined sets of choices when creating a custom field. These include:
When defining a choice set, one of the above can be employed as the base set, with the option to define extra, custom choices as well.
Restrict Tag Usage by Object Type (#11541)
Tags may now be restricted to use with designated object types. Tags that have no specific object types assigned may be used with any object that supports tag assignment.
Enhancements
virtual_chassis_member
filter for interfaces & restore default behavior fordevice
filterresults
list when fetched via the REST APIrf_role
to InterfaceTemplateBug Fixes
Other Changes
device_role
field on Device torole
for consistency with VirtualMachineChoiceField
andMultipleChoiceField
classesnapalm_driver
andnapalm_args
from Platformaccount
app for better organization