Skip to content

Remove all obsolete nested REST API serializers #17165

Closed
@jeremystretch

Description

@jeremystretch

Proposed Changes

Remove all nested_serializers modules within each app, as these classes are no longer utilized.

Justification

The use of static nested API serializer classes (except where needed to resolve circular imports) was deprecated in NetBox v4.1 under #17143.

Impact

These serializers will no longer be available for use by plugins. They can be replaced by passing nested=True to a model's primary serializer. For example:

device = NestedDeviceSerializer()

can be replaced with

device = DeviceSerializer(nested=True)

Metadata

Metadata

Assignees

Labels

breaking changeThis change modifies or removes some previously documented functionalitycomplexity: lowRequires minimal effort to implementstatus: acceptedThis issue has been accepted for implementationtype: deprecationRemoval of existing functionality or behavior

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions