-
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.4.0 #11180
Merged
Merged
Release v3.4.0 #11180
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
10172 upgrade django
9892 fhrpgroup name
…pts (#11096) * Add interval to JobResult * Accept a recurrence interval when executing scripts & reports * Cleaned up jobs list display * Schedule next job only if a reference start time can be determined * Improve validation for scheduled jobs
* 11171 fix graphql related models query * 11171 remove redundant code from code review * 11171 remove redundant code from code review
Prepare for v3.4.0 release
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.
WARNING: NetBox v3.4 requires PostgreSQL 11 or later.
Breaking Changes
asn
,noc_contact
,admin_contact
, andportal_url
fields have been removed from the provider model. Please replicate any data remaining in these fields to the ASN and contact models introduced in NetBox v3.1 prior to upgrading.content_type
fields on the CustomLink and ExportTemplate models have been renamed tocontent_types
and now support the assignment of multiple content types per object.cf
property on an object with custom fields now returns deserialized values. For example, a custom field referencing an object will return the object instance rather than its numeric ID. To access the raw serialized values, reference the object'scustom_field_data
attribute instead.NetBoxModelCSVForm
class has been renamed toNetBoxModelImportForm
. Backward compatability with the previous name has been retained for this release, but will be dropped in NetBox v3.5.New Features
New Global Search (#10560)
NetBox's global search functionality has been completely overhauled and replaced by a new cache-based lookup. This new implementation provides a much faster, more intelligent search capability. Results are returned in order of precedence regardless of object type, and matching field values are highlighted in the results. Additionally, custom field values are now included in global search results (where enabled). Plugins can also register their own models with the new global search engine.
Virtual Device Contexts (#7854)
A new model representing virtual device contexts (VDCs) has been added. VDCs are logical partitions of resources within a device that can be managed independently. A VDC is created within a device and may have device interfaces assigned to it. An interface can be allocated to any number of VDCs on its device.
Saved Filters (#9623)
Object lists can be filtered by a variety of different fields and characteristics. Applied filters can now be saved for reuse. For example, the query string
can be saved and applied to future queries as
Saved filters can be kept private, or shared among NetBox users. They can be applied to both UI and REST API searches.
JSON/YAML Bulk Imports (#4347)
NetBox's bulk import feature, which was previously limited to CSV-formatted data for most types of objects, has been extended to accept data formatted in JSON or YAML as well. This enables users to directly import objects from a variety of sources without needing to first convert data to CSV. NetBox will attempt to automatically determine the format of import data if not specified by the user.
Update Existing Objects via Bulk Import (#7961)
NetBox's CSV-based bulk import functionality has been extended to support also modifying existing objects. When an
id
column is present in the import form, it will be used to infer the object to be modified, rather than a new object being created. All fields (columns) are optional when modifying existing objects.Scheduled Reports & Scripts (#8366)
Reports and custom scripts can now be scheduled for execution at a desired future time. Background scheduling is handled entirely by the existing RQ workers; there is no need to configure additional tasks to support scheduled jobs. When creating a scheduled job, the user may optionally specify an interval at which the job will run repeatedly (e.g. every 24 hours).
API for Staged Changes (#10851)
This release introduces a new programmatic API that enables plugins and custom scripts to prepare changes in NetBox without actually committing them to the active database. To stage changes, create and activate a branch using the
checkout()
context manager. Any changes made within this context will be captured, recorded, and rolled back for future use. Once ready, a branch can be applied to the active database by callingmerge()
.NOTE: This feature is still under active development and considered experimental in nature. Its use in production is strongly discouraged at this time.
Enhancements
ALLOW_TOKEN_RETRIEVAL
config parameter to restrict the display of API tokenslink_peers
field to GraphQL types for cabled objectsweight
field to racks, device types, and module typesassigned_object
field to GraphQL type for IP addresses and L2VPN terminationsmounting_depth
field to rack modelname
field for FHRP groupsstatus
field for modulesdescription
andcomments
fields on all primary modelsdisplay
field in all GraphQL object typesmax_weight
field to track maximum load capacity for racksstatus
field to WirelessLANQUEUE_MAPPINGS
configuration parameter to allow customization of background task prioritizationBug Fixes (from v3.4-beta1)
NoReverseMatch
exception when rendering tabs with no registered URLPlugins API
list_buttons()
methodSearchIndex
django_apps
attributedocs_url
property to determine link to model documentationclone()
method from NetBoxModel to CloningMixinget_plugin_config()
utility functionget_queryset()
method on generic viewsOther Changes
cf
attribute on objects now returns deserialized custom field datapost_save
signal when creating device components in bulkimport_object()
function