Files
netbox/docs/release-notes/version-3.4.md
Arthur Hanson ffce5d968d 8927 plugin search (#10489)
* #7016 base search classes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 8927 refactor search

* 8927 refactor search

* 8927 refactor search

* 8927 refactor search

* 8927 get search choices working

* 8927 cleanup - optimize

* 8927 use backend search function

* 8927 fix for plugin search

* 8927 add docs

* Move search app to a module under netbox/

* Utilize global registry to register model search classes

* Build search form options from registry

* Determine search categories from model app by default

* Enable dynamic search registration for plugins

* Update docs & improve plugin support

* Clean up search backend class

* Docs for #8927

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-10-10 14:00:59 -04:00

3.3 KiB

NetBox v3.4

!!! warning "PostgreSQL 11 Required" NetBox v3.4 requires PostgreSQL 11 or later.

Breaking Changes

  • Device and virtual machine names are no longer case-sensitive. Attempting to create e.g. "device1" and "DEVICE1" will raise a validation error.
  • The asn field has been removed from the provider model. Please replicate any provider ASN assignments to the ASN model introduced in NetBox v3.1 prior to upgrading.
  • The noc_contact, admin_contact, and portal_url fields have been removed from the provider model. Please replicate any data remaining in these fields to the contact model introduced in NetBox v3.1 prior to upgrading.

New Features

Top-Level Plugin Navigation Menus (#9071)

A new PluginMenu class has been introduced, which enables a plugin to inject a top-level menu in NetBox's navigation menu. This menu can have one or more groups of menu items, just like core items. Backward compatibility with the existing menu_items has been maintained.

Enhancements

  • #9249 - Device and virtual machine names are no longer case-sensitive
  • #9478 - Add link_peers field to GraphQL types for cabled objects
  • #9654 - Add weight field to racks, device types, and module types
  • #9892 - Add optional name field for FHRP groups
  • #10348 - Add decimal custom field type
  • #10556 - Include a display field in all GraphQL object types

Plugins API

  • #8927 - Enable inclusion of plugin models in global search via SearchIndex
  • #9071 - Introduce PluginMenu for top-level plugin navigation menus
  • #9072 - Enable registration of tabbed plugin views for core NetBox models
  • #9880 - Introduce django_apps plugin configuration parameter
  • #10314 - Move clone() method from NetBoxModel to CloningMixin

Other Changes

  • #9045 - Remove legacy ASN field from provider model
  • #9046 - Remove legacy contact fields from provider model
  • #10358 - Raise minimum required PostgreSQL version from 10 to 11

REST API Changes

  • circuits.provider
    • Removed the asn, noc_contact, admin_contact, and portal_url fields
  • dcim.DeviceType
    • Added optional weight and weight_unit fields
  • dcim.ModuleType
    • Added optional weight and weight_unit fields
  • dcim.Rack
    • Added optional weight and weight_unit fields
  • ipam.FHRPGroup
    • Added optional name field

GraphQL API Changes

  • All object types now include a display field
  • All cabled object types now include a link_peers field