nautobot 2.4.4__py3-none-any.whl → 2.4.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nautobot/__init__.py +19 -3
- nautobot/core/api/mixins.py +10 -0
- nautobot/core/celery/__init__.py +5 -3
- nautobot/core/celery/encoders.py +2 -2
- nautobot/core/forms/fields.py +21 -5
- nautobot/core/forms/utils.py +1 -0
- nautobot/core/jobs/__init__.py +3 -2
- nautobot/core/jobs/bulk_actions.py +1 -1
- nautobot/core/management/commands/generate_test_data.py +1 -1
- nautobot/core/models/name_color_content_types.py +9 -0
- nautobot/core/models/validators.py +7 -0
- nautobot/core/settings.py +0 -14
- nautobot/core/settings.yaml +0 -28
- nautobot/core/tables.py +6 -1
- nautobot/core/templates/generic/object_retrieve.html +1 -1
- nautobot/core/testing/__init__.py +2 -0
- nautobot/core/testing/api.py +18 -0
- nautobot/core/testing/mixins.py +9 -0
- nautobot/core/tests/nautobot_config.py +0 -2
- nautobot/core/tests/runner.py +17 -140
- nautobot/core/tests/test_api.py +4 -4
- nautobot/core/tests/test_authentication.py +83 -4
- nautobot/core/tests/test_forms.py +11 -8
- nautobot/core/tests/test_graphql.py +9 -0
- nautobot/core/tests/test_jobs.py +33 -27
- nautobot/core/ui/object_detail.py +31 -0
- nautobot/dcim/factory.py +2 -0
- nautobot/dcim/filters/__init__.py +5 -0
- nautobot/dcim/forms.py +17 -1
- nautobot/dcim/migrations/0068_alter_softwareimagefile_download_url.py +19 -0
- nautobot/dcim/migrations/0069_softwareimagefile_external_integration.py +25 -0
- nautobot/dcim/models/devices.py +9 -2
- nautobot/dcim/tables/devices.py +1 -0
- nautobot/dcim/templates/dcim/softwareimagefile_retrieve.html +4 -0
- nautobot/dcim/tests/test_api.py +74 -31
- nautobot/dcim/tests/test_filters.py +2 -0
- nautobot/dcim/tests/test_jobs.py +4 -6
- nautobot/dcim/tests/test_models.py +65 -0
- nautobot/dcim/tests/test_views.py +3 -0
- nautobot/extras/choices.py +8 -3
- nautobot/extras/forms/forms.py +7 -3
- nautobot/extras/jobs.py +181 -103
- nautobot/extras/management/utils.py +13 -2
- nautobot/extras/models/datasources.py +4 -1
- nautobot/extras/models/jobs.py +20 -17
- nautobot/extras/plugins/marketplace_manifest.yml +18 -0
- nautobot/extras/tables.py +29 -34
- nautobot/extras/templates/extras/inc/panel_changelog.html +1 -1
- nautobot/extras/templates/extras/inc/panel_jobhistory.html +1 -1
- nautobot/extras/templates/extras/status.html +1 -37
- nautobot/extras/test_jobs/atomic_transaction.py +6 -6
- nautobot/extras/test_jobs/fail.py +75 -1
- nautobot/extras/tests/integration/test_notes.py +1 -1
- nautobot/extras/tests/test_api.py +23 -8
- nautobot/extras/tests/test_changelog.py +4 -4
- nautobot/extras/tests/test_customfields.py +3 -0
- nautobot/extras/tests/test_datasources.py +64 -54
- nautobot/extras/tests/test_jobs.py +69 -62
- nautobot/extras/tests/test_models.py +1 -1
- nautobot/extras/tests/test_plugins.py +19 -13
- nautobot/extras/tests/test_relationships.py +14 -5
- nautobot/extras/tests/test_tags.py +2 -2
- nautobot/extras/tests/test_views.py +15 -6
- nautobot/extras/urls.py +1 -30
- nautobot/extras/views.py +17 -55
- nautobot/ipam/forms.py +15 -0
- nautobot/ipam/querysets.py +6 -0
- nautobot/ipam/tables.py +6 -2
- nautobot/ipam/templates/ipam/namespace_retrieve.html +0 -41
- nautobot/ipam/templates/ipam/rir.html +1 -43
- nautobot/ipam/templates/ipam/service.html +2 -46
- nautobot/ipam/templates/ipam/service_edit.html +1 -17
- nautobot/ipam/templates/ipam/service_retrieve.html +7 -0
- nautobot/ipam/tests/migration/__init__.py +0 -0
- nautobot/ipam/tests/migration/test_migrations.py +510 -0
- nautobot/ipam/tests/test_api.py +66 -36
- nautobot/ipam/tests/test_filters.py +0 -10
- nautobot/ipam/tests/test_models.py +16 -0
- nautobot/ipam/tests/test_views.py +44 -2
- nautobot/ipam/urls.py +2 -67
- nautobot/ipam/utils/migrations.py +185 -152
- nautobot/ipam/utils/testing.py +177 -0
- nautobot/ipam/views.py +119 -198
- nautobot/project-static/docs/code-reference/nautobot/apps/jobs.html +43 -5
- nautobot/project-static/docs/code-reference/nautobot/apps/models.html +47 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/tables.html +18 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/testing.html +35 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/ui.html +63 -0
- nautobot/project-static/docs/development/apps/api/testing.html +0 -87
- nautobot/project-static/docs/development/apps/migration/dependency-updates.html +1 -1
- nautobot/project-static/docs/development/core/best-practices.html +3 -3
- nautobot/project-static/docs/development/core/getting-started.html +78 -107
- nautobot/project-static/docs/development/core/release-checklist.html +1 -1
- nautobot/project-static/docs/development/core/style-guide.html +1 -1
- nautobot/project-static/docs/development/core/testing.html +24 -198
- nautobot/project-static/docs/development/jobs/index.html +27 -14
- nautobot/project-static/docs/media/user-guide/administration/getting-started/nautobot-cloud.png +0 -0
- nautobot/project-static/docs/objects.inv +0 -0
- nautobot/project-static/docs/overview/application_stack.html +1 -1
- nautobot/project-static/docs/release-notes/version-2.4.html +409 -1
- nautobot/project-static/docs/requirements.txt +1 -1
- nautobot/project-static/docs/search/search_index.json +1 -1
- nautobot/project-static/docs/sitemap.xml +290 -290
- nautobot/project-static/docs/sitemap.xml.gz +0 -0
- nautobot/project-static/docs/user-guide/administration/configuration/settings.html +2 -48
- nautobot/project-static/docs/user-guide/administration/guides/permissions.html +71 -0
- nautobot/project-static/docs/user-guide/administration/installation/http-server.html +3 -1
- nautobot/project-static/docs/user-guide/administration/installation/index.html +257 -16
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-server.html +1 -1
- nautobot/project-static/docs/user-guide/administration/upgrading/upgrading.html +2 -2
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareimagefile.html +4 -0
- nautobot/project-static/docs/user-guide/feature-guides/contacts-and-teams.html +11 -11
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-devices.html +8 -8
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-location-types-and-locations.html +1 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/interfaces.html +40 -25
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/ipam.html +4 -4
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/platforms.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/search-bar.html +77 -5
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/tenants.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/vlans-and-vlan-groups.html +0 -1
- nautobot/project-static/docs/user-guide/feature-guides/git-data-source.html +1 -1
- nautobot/project-static/docs/user-guide/index.html +89 -2
- nautobot/project-static/docs/user-guide/platform-functionality/webhook.html +207 -122
- nautobot/virtualization/forms.py +20 -0
- nautobot/virtualization/templates/virtualization/clustergroup.html +1 -39
- nautobot/virtualization/templates/virtualization/clustertype.html +1 -0
- nautobot/virtualization/tests/test_api.py +14 -3
- nautobot/virtualization/tests/test_views.py +10 -2
- nautobot/virtualization/urls.py +10 -93
- nautobot/virtualization/views.py +33 -72
- {nautobot-2.4.4.dist-info → nautobot-2.4.6.dist-info}/METADATA +8 -7
- {nautobot-2.4.4.dist-info → nautobot-2.4.6.dist-info}/RECORD +137 -132
- {nautobot-2.4.4.dist-info → nautobot-2.4.6.dist-info}/WHEEL +1 -1
- nautobot/core/tests/performance_baselines.yml +0 -8900
- nautobot/ipam/tests/test_migrations.py +0 -462
- /nautobot/ipam/templates/ipam/{namespace_ipaddresses.html → namespace_ip_addresses.html} +0 -0
- {nautobot-2.4.4.dist-info → nautobot-2.4.6.dist-info}/LICENSE.txt +0 -0
- {nautobot-2.4.4.dist-info → nautobot-2.4.6.dist-info}/NOTICE +0 -0
- {nautobot-2.4.4.dist-info → nautobot-2.4.6.dist-info}/entry_points.txt +0 -0
|
@@ -8761,6 +8761,153 @@
|
|
|
8761
8761
|
</ul>
|
|
8762
8762
|
</nav>
|
|
8763
8763
|
|
|
8764
|
+
</li>
|
|
8765
|
+
|
|
8766
|
+
<li class="md-nav__item">
|
|
8767
|
+
<a href="#v246-2025-03-31" class="md-nav__link">
|
|
8768
|
+
<span class="md-ellipsis">
|
|
8769
|
+
v2.4.6 (2025-03-31)
|
|
8770
|
+
</span>
|
|
8771
|
+
</a>
|
|
8772
|
+
|
|
8773
|
+
<nav class="md-nav" aria-label="v2.4.6 (2025-03-31)">
|
|
8774
|
+
<ul class="md-nav__list">
|
|
8775
|
+
|
|
8776
|
+
<li class="md-nav__item">
|
|
8777
|
+
<a href="#security-in-v246" class="md-nav__link">
|
|
8778
|
+
<span class="md-ellipsis">
|
|
8779
|
+
Security in v2.4.6
|
|
8780
|
+
</span>
|
|
8781
|
+
</a>
|
|
8782
|
+
|
|
8783
|
+
</li>
|
|
8784
|
+
|
|
8785
|
+
<li class="md-nav__item">
|
|
8786
|
+
<a href="#added-in-v246" class="md-nav__link">
|
|
8787
|
+
<span class="md-ellipsis">
|
|
8788
|
+
Added in v2.4.6
|
|
8789
|
+
</span>
|
|
8790
|
+
</a>
|
|
8791
|
+
|
|
8792
|
+
</li>
|
|
8793
|
+
|
|
8794
|
+
<li class="md-nav__item">
|
|
8795
|
+
<a href="#changed-in-v246" class="md-nav__link">
|
|
8796
|
+
<span class="md-ellipsis">
|
|
8797
|
+
Changed in v2.4.6
|
|
8798
|
+
</span>
|
|
8799
|
+
</a>
|
|
8800
|
+
|
|
8801
|
+
</li>
|
|
8802
|
+
|
|
8803
|
+
<li class="md-nav__item">
|
|
8804
|
+
<a href="#fixed-in-v246" class="md-nav__link">
|
|
8805
|
+
<span class="md-ellipsis">
|
|
8806
|
+
Fixed in v2.4.6
|
|
8807
|
+
</span>
|
|
8808
|
+
</a>
|
|
8809
|
+
|
|
8810
|
+
</li>
|
|
8811
|
+
|
|
8812
|
+
<li class="md-nav__item">
|
|
8813
|
+
<a href="#dependencies-in-v246" class="md-nav__link">
|
|
8814
|
+
<span class="md-ellipsis">
|
|
8815
|
+
Dependencies in v2.4.6
|
|
8816
|
+
</span>
|
|
8817
|
+
</a>
|
|
8818
|
+
|
|
8819
|
+
</li>
|
|
8820
|
+
|
|
8821
|
+
<li class="md-nav__item">
|
|
8822
|
+
<a href="#documentation-in-v246" class="md-nav__link">
|
|
8823
|
+
<span class="md-ellipsis">
|
|
8824
|
+
Documentation in v2.4.6
|
|
8825
|
+
</span>
|
|
8826
|
+
</a>
|
|
8827
|
+
|
|
8828
|
+
</li>
|
|
8829
|
+
|
|
8830
|
+
<li class="md-nav__item">
|
|
8831
|
+
<a href="#housekeeping-in-v246" class="md-nav__link">
|
|
8832
|
+
<span class="md-ellipsis">
|
|
8833
|
+
Housekeeping in v2.4.6
|
|
8834
|
+
</span>
|
|
8835
|
+
</a>
|
|
8836
|
+
|
|
8837
|
+
</li>
|
|
8838
|
+
|
|
8839
|
+
</ul>
|
|
8840
|
+
</nav>
|
|
8841
|
+
|
|
8842
|
+
</li>
|
|
8843
|
+
|
|
8844
|
+
<li class="md-nav__item">
|
|
8845
|
+
<a href="#v245-2025-03-10" class="md-nav__link">
|
|
8846
|
+
<span class="md-ellipsis">
|
|
8847
|
+
v2.4.5 (2025-03-10)
|
|
8848
|
+
</span>
|
|
8849
|
+
</a>
|
|
8850
|
+
|
|
8851
|
+
<nav class="md-nav" aria-label="v2.4.5 (2025-03-10)">
|
|
8852
|
+
<ul class="md-nav__list">
|
|
8853
|
+
|
|
8854
|
+
<li class="md-nav__item">
|
|
8855
|
+
<a href="#security-in-v245" class="md-nav__link">
|
|
8856
|
+
<span class="md-ellipsis">
|
|
8857
|
+
Security in v2.4.5
|
|
8858
|
+
</span>
|
|
8859
|
+
</a>
|
|
8860
|
+
|
|
8861
|
+
</li>
|
|
8862
|
+
|
|
8863
|
+
<li class="md-nav__item">
|
|
8864
|
+
<a href="#added-in-v245" class="md-nav__link">
|
|
8865
|
+
<span class="md-ellipsis">
|
|
8866
|
+
Added in v2.4.5
|
|
8867
|
+
</span>
|
|
8868
|
+
</a>
|
|
8869
|
+
|
|
8870
|
+
</li>
|
|
8871
|
+
|
|
8872
|
+
<li class="md-nav__item">
|
|
8873
|
+
<a href="#changed-in-v245" class="md-nav__link">
|
|
8874
|
+
<span class="md-ellipsis">
|
|
8875
|
+
Changed in v2.4.5
|
|
8876
|
+
</span>
|
|
8877
|
+
</a>
|
|
8878
|
+
|
|
8879
|
+
</li>
|
|
8880
|
+
|
|
8881
|
+
<li class="md-nav__item">
|
|
8882
|
+
<a href="#removed-in-v245" class="md-nav__link">
|
|
8883
|
+
<span class="md-ellipsis">
|
|
8884
|
+
Removed in v2.4.5
|
|
8885
|
+
</span>
|
|
8886
|
+
</a>
|
|
8887
|
+
|
|
8888
|
+
</li>
|
|
8889
|
+
|
|
8890
|
+
<li class="md-nav__item">
|
|
8891
|
+
<a href="#fixed-in-v245" class="md-nav__link">
|
|
8892
|
+
<span class="md-ellipsis">
|
|
8893
|
+
Fixed in v2.4.5
|
|
8894
|
+
</span>
|
|
8895
|
+
</a>
|
|
8896
|
+
|
|
8897
|
+
</li>
|
|
8898
|
+
|
|
8899
|
+
<li class="md-nav__item">
|
|
8900
|
+
<a href="#housekeeping-in-v245" class="md-nav__link">
|
|
8901
|
+
<span class="md-ellipsis">
|
|
8902
|
+
Housekeeping in v2.4.5
|
|
8903
|
+
</span>
|
|
8904
|
+
</a>
|
|
8905
|
+
|
|
8906
|
+
</li>
|
|
8907
|
+
|
|
8908
|
+
</ul>
|
|
8909
|
+
</nav>
|
|
8910
|
+
|
|
8764
8911
|
</li>
|
|
8765
8912
|
|
|
8766
8913
|
<li class="md-nav__item">
|
|
@@ -9996,6 +10143,153 @@
|
|
|
9996
10143
|
</ul>
|
|
9997
10144
|
</nav>
|
|
9998
10145
|
|
|
10146
|
+
</li>
|
|
10147
|
+
|
|
10148
|
+
<li class="md-nav__item">
|
|
10149
|
+
<a href="#v246-2025-03-31" class="md-nav__link">
|
|
10150
|
+
<span class="md-ellipsis">
|
|
10151
|
+
v2.4.6 (2025-03-31)
|
|
10152
|
+
</span>
|
|
10153
|
+
</a>
|
|
10154
|
+
|
|
10155
|
+
<nav class="md-nav" aria-label="v2.4.6 (2025-03-31)">
|
|
10156
|
+
<ul class="md-nav__list">
|
|
10157
|
+
|
|
10158
|
+
<li class="md-nav__item">
|
|
10159
|
+
<a href="#security-in-v246" class="md-nav__link">
|
|
10160
|
+
<span class="md-ellipsis">
|
|
10161
|
+
Security in v2.4.6
|
|
10162
|
+
</span>
|
|
10163
|
+
</a>
|
|
10164
|
+
|
|
10165
|
+
</li>
|
|
10166
|
+
|
|
10167
|
+
<li class="md-nav__item">
|
|
10168
|
+
<a href="#added-in-v246" class="md-nav__link">
|
|
10169
|
+
<span class="md-ellipsis">
|
|
10170
|
+
Added in v2.4.6
|
|
10171
|
+
</span>
|
|
10172
|
+
</a>
|
|
10173
|
+
|
|
10174
|
+
</li>
|
|
10175
|
+
|
|
10176
|
+
<li class="md-nav__item">
|
|
10177
|
+
<a href="#changed-in-v246" class="md-nav__link">
|
|
10178
|
+
<span class="md-ellipsis">
|
|
10179
|
+
Changed in v2.4.6
|
|
10180
|
+
</span>
|
|
10181
|
+
</a>
|
|
10182
|
+
|
|
10183
|
+
</li>
|
|
10184
|
+
|
|
10185
|
+
<li class="md-nav__item">
|
|
10186
|
+
<a href="#fixed-in-v246" class="md-nav__link">
|
|
10187
|
+
<span class="md-ellipsis">
|
|
10188
|
+
Fixed in v2.4.6
|
|
10189
|
+
</span>
|
|
10190
|
+
</a>
|
|
10191
|
+
|
|
10192
|
+
</li>
|
|
10193
|
+
|
|
10194
|
+
<li class="md-nav__item">
|
|
10195
|
+
<a href="#dependencies-in-v246" class="md-nav__link">
|
|
10196
|
+
<span class="md-ellipsis">
|
|
10197
|
+
Dependencies in v2.4.6
|
|
10198
|
+
</span>
|
|
10199
|
+
</a>
|
|
10200
|
+
|
|
10201
|
+
</li>
|
|
10202
|
+
|
|
10203
|
+
<li class="md-nav__item">
|
|
10204
|
+
<a href="#documentation-in-v246" class="md-nav__link">
|
|
10205
|
+
<span class="md-ellipsis">
|
|
10206
|
+
Documentation in v2.4.6
|
|
10207
|
+
</span>
|
|
10208
|
+
</a>
|
|
10209
|
+
|
|
10210
|
+
</li>
|
|
10211
|
+
|
|
10212
|
+
<li class="md-nav__item">
|
|
10213
|
+
<a href="#housekeeping-in-v246" class="md-nav__link">
|
|
10214
|
+
<span class="md-ellipsis">
|
|
10215
|
+
Housekeeping in v2.4.6
|
|
10216
|
+
</span>
|
|
10217
|
+
</a>
|
|
10218
|
+
|
|
10219
|
+
</li>
|
|
10220
|
+
|
|
10221
|
+
</ul>
|
|
10222
|
+
</nav>
|
|
10223
|
+
|
|
10224
|
+
</li>
|
|
10225
|
+
|
|
10226
|
+
<li class="md-nav__item">
|
|
10227
|
+
<a href="#v245-2025-03-10" class="md-nav__link">
|
|
10228
|
+
<span class="md-ellipsis">
|
|
10229
|
+
v2.4.5 (2025-03-10)
|
|
10230
|
+
</span>
|
|
10231
|
+
</a>
|
|
10232
|
+
|
|
10233
|
+
<nav class="md-nav" aria-label="v2.4.5 (2025-03-10)">
|
|
10234
|
+
<ul class="md-nav__list">
|
|
10235
|
+
|
|
10236
|
+
<li class="md-nav__item">
|
|
10237
|
+
<a href="#security-in-v245" class="md-nav__link">
|
|
10238
|
+
<span class="md-ellipsis">
|
|
10239
|
+
Security in v2.4.5
|
|
10240
|
+
</span>
|
|
10241
|
+
</a>
|
|
10242
|
+
|
|
10243
|
+
</li>
|
|
10244
|
+
|
|
10245
|
+
<li class="md-nav__item">
|
|
10246
|
+
<a href="#added-in-v245" class="md-nav__link">
|
|
10247
|
+
<span class="md-ellipsis">
|
|
10248
|
+
Added in v2.4.5
|
|
10249
|
+
</span>
|
|
10250
|
+
</a>
|
|
10251
|
+
|
|
10252
|
+
</li>
|
|
10253
|
+
|
|
10254
|
+
<li class="md-nav__item">
|
|
10255
|
+
<a href="#changed-in-v245" class="md-nav__link">
|
|
10256
|
+
<span class="md-ellipsis">
|
|
10257
|
+
Changed in v2.4.5
|
|
10258
|
+
</span>
|
|
10259
|
+
</a>
|
|
10260
|
+
|
|
10261
|
+
</li>
|
|
10262
|
+
|
|
10263
|
+
<li class="md-nav__item">
|
|
10264
|
+
<a href="#removed-in-v245" class="md-nav__link">
|
|
10265
|
+
<span class="md-ellipsis">
|
|
10266
|
+
Removed in v2.4.5
|
|
10267
|
+
</span>
|
|
10268
|
+
</a>
|
|
10269
|
+
|
|
10270
|
+
</li>
|
|
10271
|
+
|
|
10272
|
+
<li class="md-nav__item">
|
|
10273
|
+
<a href="#fixed-in-v245" class="md-nav__link">
|
|
10274
|
+
<span class="md-ellipsis">
|
|
10275
|
+
Fixed in v2.4.5
|
|
10276
|
+
</span>
|
|
10277
|
+
</a>
|
|
10278
|
+
|
|
10279
|
+
</li>
|
|
10280
|
+
|
|
10281
|
+
<li class="md-nav__item">
|
|
10282
|
+
<a href="#housekeeping-in-v245" class="md-nav__link">
|
|
10283
|
+
<span class="md-ellipsis">
|
|
10284
|
+
Housekeeping in v2.4.5
|
|
10285
|
+
</span>
|
|
10286
|
+
</a>
|
|
10287
|
+
|
|
10288
|
+
</li>
|
|
10289
|
+
|
|
10290
|
+
</ul>
|
|
10291
|
+
</nav>
|
|
10292
|
+
|
|
9999
10293
|
</li>
|
|
10000
10294
|
|
|
10001
10295
|
<li class="md-nav__item">
|
|
@@ -10473,6 +10767,16 @@
|
|
|
10473
10767
|
<p>Jobs can now log <code>success</code> messages as a new logging level which will be appropriately labeled and colorized in Job Result views.</p>
|
|
10474
10768
|
<div class="highlight"><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="bp">self</span><span class="o">.</span><span class="n">logger</span><span class="o">.</span><span class="n">success</span><span class="p">(</span><span class="s2">"All data is valid."</span><span class="p">)</span>
|
|
10475
10769
|
</code></pre></div>
|
|
10770
|
+
<details class="version-added">
|
|
10771
|
+
<summary>Added in version 2.4.5</summary>
|
|
10772
|
+
</details>
|
|
10773
|
+
<p>In Nautobot v2.4.5 and later, Jobs can now log <code>failure</code> messages as well:</p>
|
|
10774
|
+
<div class="highlight"><pre><span></span><code><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a><span class="bp">self</span><span class="o">.</span><span class="n">logger</span><span class="o">.</span><span class="n">failure</span><span class="p">(</span><span class="s2">"Something went wrong."</span><span class="p">)</span>
|
|
10775
|
+
</code></pre></div>
|
|
10776
|
+
<p>In Nautobot v2.4.5 and later, Jobs can also mark their result as failed without raising an uncaught exception by calling the new <code>Job.fail(message)</code> API:</p>
|
|
10777
|
+
<div class="highlight"><pre><span></span><code><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a><span class="bp">self</span><span class="o">.</span><span class="n">fail</span><span class="p">(</span><span class="s2">"Something went wrong, and we'll fail in the end, but we can continue for now."</span><span class="p">)</span>
|
|
10778
|
+
<a id="__codelineno-2-2" name="__codelineno-2-2" href="#__codelineno-2-2"></a><span class="bp">self</span><span class="o">.</span><span class="n">logger</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="s2">"Continuing..."</span><span class="p">)</span>
|
|
10779
|
+
</code></pre></div>
|
|
10476
10780
|
<h4 id="kubernetes-job-execution-and-job-queue-data-model-experimental">Kubernetes Job Execution and Job Queue Data Model (Experimental)<a class="headerlink" href="#kubernetes-job-execution-and-job-queue-data-model-experimental" title="Permanent link">¶</a></h4>
|
|
10477
10781
|
<p><em>Please note that this functionality is considered Experimental in the v2.4.0 release and is subject to change in the future.</em></p>
|
|
10478
10782
|
<p>When running in a Kubernetes (k8s) deployment, such as with Nautobot's <a href="https://docs.nautobot.com/projects/helm-charts/en/stable/">Helm chart</a>, Nautobot now supports an alternative method of running Nautobot Jobs - instead of (or in addition to) running one or more Celery Workers as long-lived persistent pods, Nautobot can dispatch Nautobot Jobs to be executed as short-lived <a href="https://kubernetes.io/docs/concepts/workloads/controllers/job/">Kubernetes Job</a> pods.</p>
|
|
@@ -10514,11 +10818,115 @@
|
|
|
10514
10818
|
<p>With the introduction of the UI Component Framework (described <a href="#ui-component-framework">above</a>), new APIs are available for Apps to extend core Nautobot views with additional content using this framework. A number of new APIs have been added to the <code>TemplateExtension</code> base class in support of this functionality, and several existing <code>TemplateExtension</code> APIs have been deprecated in favor of these new APIs. Refer to the <a href="../development/apps/api/ui-extensions/object-views.html">App development documentation</a> for details.</p>
|
|
10515
10819
|
<h3 id="dependencies">Dependencies<a class="headerlink" href="#dependencies" title="Permanent link">¶</a></h3>
|
|
10516
10820
|
<h4 id="removed-python-38-support">Removed Python 3.8 Support<a class="headerlink" href="#removed-python-38-support" title="Permanent link">¶</a></h4>
|
|
10517
|
-
<p>As Python 3.8 has reached end-of-life, Nautobot 2.4 requires a minimum of Python 3.9. Note that existing installs using Python
|
|
10821
|
+
<p>As Python 3.8 has reached end-of-life, Nautobot 2.4 requires a minimum of Python 3.9, and Nautobot 2.4.6 and later specifically require a minimum of Python 3.9.2. Note that existing installs using older Python versions will need to upgrade their Python version prior to initiating the Nautobot v2.4 upgrade.</p>
|
|
10518
10822
|
<!-- pyml disable-num-lines 2 blanks-around-headers -->
|
|
10519
10823
|
|
|
10520
10824
|
<!-- towncrier release notes start -->
|
|
10521
10825
|
|
|
10826
|
+
<h2 id="v246-2025-03-31">v2.4.6 (2025-03-31)<a class="headerlink" href="#v246-2025-03-31" title="Permanent link">¶</a></h2>
|
|
10827
|
+
<h3 id="security-in-v246">Security in v2.4.6<a class="headerlink" href="#security-in-v246" title="Permanent link">¶</a></h3>
|
|
10828
|
+
<ul>
|
|
10829
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7039">#7039</a> - Updated <code>cryptography</code> to <code>44.0.2</code> to address <code>CVE-2024-12797</code>.</li>
|
|
10830
|
+
</ul>
|
|
10831
|
+
<h3 id="added-in-v246">Added in v2.4.6<a class="headerlink" href="#added-in-v246" title="Permanent link">¶</a></h3>
|
|
10832
|
+
<ul>
|
|
10833
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/4181">#4181</a> - Added <code>last_updated</code> column to Note table.</li>
|
|
10834
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/4181">#4181</a> - Added display for number of notes attached to each object on the Notes tab header in Object Detail View.</li>
|
|
10835
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/5780">#5780</a> - Added object permission enforcement to related objects when modifying records through the REST API.</li>
|
|
10836
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6957">#6957</a> - Added optional <code>display_field</code> parameter to <code>LinkedCountColumn</code>.</li>
|
|
10837
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7003">#7003</a> - Added <code>external_integration</code> foreign key field to <code>SoftwareImageFile</code> model, which allows the enrichment of file data to include download options, secrets, etc.</li>
|
|
10838
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7041">#7041</a> - Added bulk-edit support for the ClusterType model.</li>
|
|
10839
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7044">#7044</a> - Added bulk-edit support for the ClusterGroup model.</li>
|
|
10840
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7088">#7088</a> - Added support for removing content types in Status bulk-edit and Role bulk-edit.</li>
|
|
10841
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7091">#7091</a> - Added Nautobot DNS Models app to the Apps Marketplace.</li>
|
|
10842
|
+
</ul>
|
|
10843
|
+
<h3 id="changed-in-v246">Changed in v2.4.6<a class="headerlink" href="#changed-in-v246" title="Permanent link">¶</a></h3>
|
|
10844
|
+
<ul>
|
|
10845
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/4181">#4181</a> - Changed the default column ordering of Note table.</li>
|
|
10846
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6379">#6379</a> - Changed <code>SoftwareImageFile.download_url</code> to allow additional URI Schemas, such as <code>sftp://</code>, <code>tftp://</code>.</li>
|
|
10847
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6957">#6957</a> - Changed "Locations" column in Prefix table to show <code>location.name</code> instead of <code>location.display</code> to avoid verbose location hierarchy in tables.</li>
|
|
10848
|
+
</ul>
|
|
10849
|
+
<h3 id="fixed-in-v246">Fixed in v2.4.6<a class="headerlink" href="#fixed-in-v246" title="Permanent link">¶</a></h3>
|
|
10850
|
+
<ul>
|
|
10851
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6902">#6902</a> - Fixed bug with formatting date in templates.</li>
|
|
10852
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6962">#6962</a> - Fixed a Validation error with empty ports field in Service Bulk Edit Form.</li>
|
|
10853
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6987">#6987</a> - Improved speed of IPAM 1.x-to-2.x data migration <code>0031_ipam___data_migrations</code> by about 20% when working with large data sets.</li>
|
|
10854
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7088">#7088</a> - Fixed bulk assignment and bulk removal of content types.</li>
|
|
10855
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7092">#7092</a> - Added graceful handling for route-lookup errors when constructing a DynamicModelChoiceField or a DynamicModelMultipleChoiceField.</li>
|
|
10856
|
+
</ul>
|
|
10857
|
+
<h3 id="dependencies-in-v246">Dependencies in v2.4.6<a class="headerlink" href="#dependencies-in-v246" title="Permanent link">¶</a></h3>
|
|
10858
|
+
<ul>
|
|
10859
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6993">#6993</a> - Update dependency <code>kubernetes</code> to <code>^32.0.1</code>.</li>
|
|
10860
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6993">#6993</a> - Update dependency <code>nh3</code> to <code>~0.2.21</code>.</li>
|
|
10861
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7019">#7019</a> - Added <code>cryptography</code> as a directly specified dependency of Nautobot to make it easier to protect against various security issues in older versions of <code>cryptography</code>.</li>
|
|
10862
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7019">#7019</a> - Removed support for Python 3.9.0 and 3.9.1 due to dependencies such as <code>cryptography</code> requiring newer Python versions.</li>
|
|
10863
|
+
</ul>
|
|
10864
|
+
<h3 id="documentation-in-v246">Documentation in v2.4.6<a class="headerlink" href="#documentation-in-v246" title="Permanent link">¶</a></h3>
|
|
10865
|
+
<ul>
|
|
10866
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6944">#6944</a> - Updated the "Installation" section of the documentation to more clearly describe the various deployment approaches recommended for Nautobot and their respective pros and cons.</li>
|
|
10867
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6995">#6995</a> - Added content to User Guide <code>index.md</code> to give overview of options in the documentation of the guide.</li>
|
|
10868
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7014">#7014</a> - Added "Recipe" section to permissions documentation with an "Export" example.</li>
|
|
10869
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7020">#7020</a> - Improving issues found in various User Guide Getting Started typos and unclear references.</li>
|
|
10870
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7030">#7030</a> - Improved Nautobot Webhooks documentation with additional context and examples.</li>
|
|
10871
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7051">#7051</a> - Clarified developer "best practices" documentation regarding base classes for forms in Nautobot.</li>
|
|
10872
|
+
</ul>
|
|
10873
|
+
<h3 id="housekeeping-in-v246">Housekeeping in v2.4.6<a class="headerlink" href="#housekeeping-in-v246" title="Permanent link">¶</a></h3>
|
|
10874
|
+
<ul>
|
|
10875
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6962">#6962</a> - Refactored Service model related UI views to use <code>NautobotUIViewSet</code> and <code>UI component framework</code>.</li>
|
|
10876
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6970">#6970</a> - Added selenium helper. Fixed selenium VNC port bug.</li>
|
|
10877
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6987">#6987</a> - Added <code>django-test-migrations</code> as a testing dependency.</li>
|
|
10878
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6987">#6987</a> - Added <code>nautobot.ipam.tests.test_migrations.IPAMDataMigration0031TestCase</code> that can be run to reproducibly test IPAM data migration <code>0031_ipam___data_migrations</code> for correctness and performance.</li>
|
|
10879
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6987">#6987</a> - Renamed <code>invoke tests</code> task to <code>invoke lint</code> and renamed <code>invoke unittest</code> task to <code>invoke tests</code>.</li>
|
|
10880
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6987">#6987</a> - Changed <code>invoke tests</code> task to default to <em>not</em> measuring and reporting code coverage by default, since doing so slows test performance.</li>
|
|
10881
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6987">#6987</a> - Removed <code>django-slowtests</code> as a development dependency and removed associated test-performance-measuring functionality.</li>
|
|
10882
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6987">#6987</a> - Removed distinct <code>invoke integration-test</code>, <code>invoke performance-test</code>, and <code>invoke unittest-coverage</code> tasks; integration tests should now be run with <code>invoke tests --tag integration</code> and test coverage is reported when running <code>invoke tests --coverage</code>.</li>
|
|
10883
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6987">#6987</a> - Refactored <code>nautobot.ipam.tests.test_migrations.AggregateToPrefixMigrationTestCase</code> to use <code>django-test-migrations</code> and be runnable.</li>
|
|
10884
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7013">#7013</a> - Refactored Namespace model related UI views to use <code>UI component framework</code>.</li>
|
|
10885
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7017">#7017</a> - Fixed conflicts between factory data and bespoke test data involving VRF assignments to Virtual Device Contexts.</li>
|
|
10886
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7017">#7017</a> - Fixed state leakage from custom-validation test cases potentially causing failures of other test cases.</li>
|
|
10887
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7037">#7037</a> - Adds github action linter to CI.</li>
|
|
10888
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7041">#7041</a> - Refactored ClusterType model related UI views to use <code>NautobotUIViewSet</code> and <code>UI component framework</code>.</li>
|
|
10889
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7044">#7044</a> - Refactored ClusterGroup model related UI views to use <code>NautobotUIViewSet</code> and <code>UI component framework</code>.</li>
|
|
10890
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7055">#7055</a> - Updated development dependencies <code>pylint</code> to <code>~3.3.6</code> and <code>pymarkdownlnt</code> to <code>~0.9.29</code>.</li>
|
|
10891
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7064">#7064</a> - Updated CI to use Poetry 1.8.5.</li>
|
|
10892
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7064">#7064</a> - Updated "upstream testing" CI to use Python 3.11.</li>
|
|
10893
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7071">#7071</a> - Refactored Status model related UI views to use <code>NautobotUIViewSet</code> and <code>UI component framework</code>.</li>
|
|
10894
|
+
</ul>
|
|
10895
|
+
<h2 id="v245-2025-03-10">v2.4.5 (2025-03-10)<a class="headerlink" href="#v245-2025-03-10" title="Permanent link">¶</a></h2>
|
|
10896
|
+
<h3 id="security-in-v245">Security in v2.4.5<a class="headerlink" href="#security-in-v245" title="Permanent link">¶</a></h3>
|
|
10897
|
+
<ul>
|
|
10898
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6983">#6983</a> - Updated dependency <code>Jinja2</code> to <code>~3.1.6</code> to address <code>CVE-2025-27516</code>.</li>
|
|
10899
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7000">#7000</a> - Updated dependency <code>Django</code> to <code>~4.2.20</code> to address <code>CVE-2025-26699</code>.</li>
|
|
10900
|
+
</ul>
|
|
10901
|
+
<h3 id="added-in-v245">Added in v2.4.5<a class="headerlink" href="#added-in-v245" title="Permanent link">¶</a></h3>
|
|
10902
|
+
<ul>
|
|
10903
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6384">#6384</a> - Added <code>Job.logger.failure()</code> API for Job logging, using custom <code>FAILURE</code> log level (between <code>WARNING</code> and <code>ERROR</code>).</li>
|
|
10904
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6384">#6384</a> - Added <code>Job.fail()</code> API, which can be used to fail a Job more gracefully than by raising an uncaught exception.</li>
|
|
10905
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6384">#6384</a> - Added <code>NautobotTestCaseMixin.assertJobResultStatus()</code> testing helper API.</li>
|
|
10906
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7001">#7001</a> - Added bulk-edit support for the RIR model.</li>
|
|
10907
|
+
</ul>
|
|
10908
|
+
<h3 id="changed-in-v245">Changed in v2.4.5<a class="headerlink" href="#changed-in-v245" title="Permanent link">¶</a></h3>
|
|
10909
|
+
<ul>
|
|
10910
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6384">#6384</a> - Changed output of <code>nautobot-server runjob</code> command to include the traceback (if any) and count of <code>success</code>/<code>failure</code> log messages.</li>
|
|
10911
|
+
</ul>
|
|
10912
|
+
<h3 id="removed-in-v245">Removed in v2.4.5<a class="headerlink" href="#removed-in-v245" title="Permanent link">¶</a></h3>
|
|
10913
|
+
<ul>
|
|
10914
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6384">#6384</a> - Removed the (undocumented) requirement for Jobs that implement a custom <code>before_start()</code> or <code>after_return()</code> method to call <code>super()</code> for the Job to execute successfully.</li>
|
|
10915
|
+
</ul>
|
|
10916
|
+
<h3 id="fixed-in-v245">Fixed in v2.4.5<a class="headerlink" href="#fixed-in-v245" title="Permanent link">¶</a></h3>
|
|
10917
|
+
<ul>
|
|
10918
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6384">#6384</a> - Fixed rendering of "actions" column in the JobResult table view.</li>
|
|
10919
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6384">#6384</a> - Fixed incorrect <code>stacklevel</code> default value in Job <code>logger.success()</code> API.</li>
|
|
10920
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6906">#6906</a> - <code>GitRepository.clone_to_directory</code> now uses configured Secrets for Repository to prepare correct <code>from_url</code>.</li>
|
|
10921
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6972">#6972</a> - Fixed IPAddress get_or_create not working with the address argument.</li>
|
|
10922
|
+
</ul>
|
|
10923
|
+
<h3 id="housekeeping-in-v245">Housekeeping in v2.4.5<a class="headerlink" href="#housekeeping-in-v245" title="Permanent link">¶</a></h3>
|
|
10924
|
+
<ul>
|
|
10925
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6384">#6384</a> - Added <code>init: true</code> to development <code>docker-compose.yml</code> to avoid failed health-checks from remaining as zombie processes.</li>
|
|
10926
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6384">#6384</a> - Added <code>ExampleFailingJob</code> to example app to demonstrate the two different ways to fail a Job.</li>
|
|
10927
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/6971">#6971</a> - Fixed invoke commands requiring pyyaml.</li>
|
|
10928
|
+
<li><a href="https://github.com/nautobot/nautobot/issues/7001">#7001</a> - Refactored RIR model related UI views to use <code>NautobotUIViewSet</code> and <code>UI component framework</code>.</li>
|
|
10929
|
+
</ul>
|
|
10522
10930
|
<h2 id="v244-2025-03-03">v2.4.4 (2025-03-03)<a class="headerlink" href="#v244-2025-03-03" title="Permanent link">¶</a></h2>
|
|
10523
10931
|
<h3 id="added-in-v244">Added in v2.4.4<a class="headerlink" href="#added-in-v244" title="Permanent link">¶</a></h3>
|
|
10524
10932
|
<ul>
|