v2.0.0-beta.2 - 2023-07-07 #4079
bryanculver
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a retag with a fixed workflow file. Changes between previous tag and this: diff
Added
nautobot-server audit_dynamic_groups
management command for evaluating breaking filter changes to existing DynamicGroup instances.interfaces
andvm_interfaces
fields to REST API representation ofIPAddress
.unique_together
constraint forObjectChange
records.parent
field onPrefix
based on the prefix'stype
and the parent'stype
.IPAddresses
.develop
branch up through version 1.5.22.--save
option tonautobot-server validate_models
command.successful_post
callback function toObjectEditView
.parent
filter forPrefix
objects.Prefix
orIPAddress
that does not follow prefixtype
guidance.Changed
slug
fields have been removed.DeviceType
objects to filter on (model or ID) instead of (slug or ID).NaturalKeyOrPKMultipleChoiceFilter
defaultto_field_name
fromslug
toname
.NameSlugSearchFilterSet
withNameSearchFilterSet
.ModelViewTestCase._get_url()
behavior to preferpk
-based URLs overslug
-based URLs.ObjectEditView.get_object()
andObjectDeleteView.get_object()
to preferpk
-based object lookups overslug
-based lookups.slug
fields in models.name
(ormodel
in the case of DeviceType contexts) instead ofslug
.ip_version
filters inPrefixFilterSet
andIPAddressFilterSet
todjango_filters.NumberFilter
.IPAddress.type
field and moved DHCP/SLAAC status to types.nautobot.ipam.tests.test_forms.IPAddressFormTest
assigned_to_interface
as aRelatedMembershipBooleanFilter
with namehas_interface_assignments
onIPAddressFilterSet
.present_in_vrf
andpresent_in_vrf_id
filters onIPAddressFilterSet
.ENUM_GENERATE_CHOICE_DESCRIPTION
to False to make OpenAPI schema for REST API filters less verbose.&
to;
.Service.name
andService.device
orService.name
andService.virtual_machine
to be globally unique and to serve as the natural key for this model.VirtualChassis.name
to be globally unique and to serve as the natural key for this model.ScheduledJob.name
to be globally unique and serve as the natural key for this model.ScheduledJob.task
max_length
to fix an off-by-one potential error.ExportTemplate
uniqueness constraint (and natural key) to be simply(content_type, name)
.ConfigContext.name
to be globally unique and serve as the natural key for this model.ConfigContextSchema.name
to be globally unique and serve as the natural key for this model.name
to unique.ObjectPermission.name
to be globally unique and serve as the natural key for this model.IPAddress
natural key definition (IPAddress.natural_key_field_names
) to[parent__namespace, host]
.Device.primary_ip4
andprimary_ip6
fields fromOneToOneField
toForeignKey
, relaxing the uniqueness constraint.VirtualMachine.primary_ip4
andprimary_ip6
fields fromOneToOneField
toForeignKey
, relaxing the uniqueness constraint.JOBS_ROOT
Jobs import code to check for conflicts with existing package names.Prefix
model to[namespace, prefix]
.Service
model to[name, virtual_machine, device]
.VLANGroup
model to simply[name]
.VLAN
model to[pk]
for now.Prefix.type
validation with respect to parents and children from strictly-enforced to advisory-only for 2.0.parent
filter onIPAddress
to be exact-match by PK; the previously present filter is renamed toprefix
.Fixed
object_bulk_create.html
.test_list_objects_filtered
andtest_list_objects_unknown_filter_strict_filtering
.GraphQLQuery.slug
inCustomGraphQLView
.slug
in various detail view and edit view templates.slug
in various IPAM table columns.slug
fields in the documentation.AvailableIPSerializer
forip_version
field representation.class_path
in the Jobs documentation.GitRepository.slug
that would conflict with existing Python modules.natural_key
forObjectChange
records.ScheduledJob
data migration where it is trying to delete a non-existent key from a dictionary.slug
.KeyError
when accessingObjectChange
records for aConfigContext
via the REST API.natural_key_field_names
to include related object lookups.mac_address
when unset/null/empty values are present.to_representation
logic.@classproperty
methods to enforce correct data types.Removed
DeviceType.slug
field.Location.slug
field.LocationType.slug
field.Note.slug
field.ProviderNetwork.slug
field.RackGroup.slug
field.Tag.slug
field.VLANGroup.slug
field.slug
FilterSet filters from models that no longer have slugs.Status
object has been removed and replaced with anIPAddress.type
of the same name.Status
object has been removed and replaced with anIPAddress.type
of the same name.interface
andvminterface
fields fromIPAddress
GraphQL representation.app_full_width_fragment
,detail-view-config
,form-fields
, andtable-fields
REST API endpoints.ScheduledJob.job_class
field as redundant.ConfigContextSchema.slug
field.location
,name
] uniqueness constraint.device, rd, name
andvirtual_machine, rd, name
uniqueness constraints onVRFDeviceAssignment
.namespace, name
uniqueness constraint onVRF
.Contributors
Full Changelog: v2.0.0-beta.1...v2.0.0-beta.2
This discussion was created from the release v2.0.0-beta.2 - 2023-07-07.
Beta Was this translation helpful? Give feedback.
All reactions