Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,52 @@ NetBox.NetBox Release Notes

.. contents:: Topics

v3.22.0
=======

Minor Changes
-------------

- Add integration tests for contact groups
- Add support for custom headers for all modules
- Change `netbox_contact.contact_group` to `contact_groups`
- Fix ansible-bad-import-from pylint errors
- Fix broken code path when using old api path on old netbox systems
- Make the unit-test data structures more flexible.
- Remove abandoned unit-test data.
- add workaround to _build_query_params for services and Netbox 4.3.0 - 4.4.3 (wrong parent_object_type data type)
- add yamllint to project pipeline.
- improve version_check_greater to be more universal
- netbox_circuit_termination - Add parameters termination_id and termination_type for NetBox 4.2+
- netbox_tag - Add support for object_types on tags
- rename variable full_version to netbox_version.
- rename variable version to api_version.
- sanitize netbox versions received from api
- test suite expanded to run on Python 3.11, 3.12, and 3.13.
- user.groups, user.permissions, user_group.permissions, permission.actions, and permission.object_types are now treated as unordered sets for update comparison purposes.

Bugfixes
--------

- Add netbox version check to support service creation for netbox version prior of 4.3
- Fix integration test for circuit termination, missing assignment
- Fix integration test for service
- Fix task duplicate task name in documentation that cause ansible-lint error
- Fix typos in tag integration tests.
- Support for related_object_filter when related_object_type is "object"
- Use dedicated function to check netbox version istead of self.full_version for rack.
- add parent_object_type and parent_object_id to services ALLOWED_QUERY_PARAMS
- nb_device_interface: Fix specifying primary_mac_address objects by id for disambiguation
- nb_inventory - Fix service collection for version greater than 4.3
- nb_inventory - Fixed empty inventory results when netbox server URL is a non-root path
- netbox_service - Fix issue 1426 - broken netbox_service module

New Modules
-----------

- netbox.netbox.netbox_contact_assignment - Manage contact assignments in NetBox
- netbox.netbox.netbox_data_source - Manage data sources in NetBox

v3.21.0
=======

Expand Down
65 changes: 65 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,71 @@ releases:
name: netbox_mac_address
namespace: ''
release_date: '2025-03-04'
3.22.0:
changes:
minor_changes:
- Change `netbox_contact.contact_group` to `contact_groups`
- Add integration tests for contact groups
- Add support for custom headers for all modules
- Fix ansible-bad-import-from pylint errors
- Fix broken code path when using old api path on old netbox systems
- add workaround to _build_query_params for services and Netbox 4.3.0 - 4.4.3 (wrong parent_object_type data type)
- netbox_circuit_termination - Add parameters termination_id and termination_type for NetBox 4.2+
- netbox_tag - Add support for object_types on tags
- improve version_check_greater to be more universal
- sanitize netbox versions received from api
- test suite expanded to run on Python 3.11, 3.12, and 3.13.
- Make the unit-test data structures more flexible.
- Remove abandoned unit-test data.
- user.groups, user.permissions, user_group.permissions, permission.actions, and permission.object_types are now treated as unordered sets for update comparison purposes.
- rename variable version to api_version.
- rename variable full_version to netbox_version.
- add yamllint to project pipeline.
bugfixes:
- Fix task duplicate task name in documentation that cause ansible-lint error
- nb_inventory - Fix service collection for version greater than 4.3
- Add netbox version check to support service creation for netbox version prior of 4.3
- Use dedicated function to check netbox version istead of self.full_version for rack.
- Fix typos in tag integration tests.
- Fix integration test for circuit termination, missing assignment
- Fix integration test for service
- "nb_device_interface: Fix specifying primary_mac_address objects by id for disambiguation"
- add parent_object_type and parent_object_id to services ALLOWED_QUERY_PARAMS
- nb_inventory - Fixed empty inventory results when netbox server URL is a non-root path
- Support for related_object_filter when related_object_type is "object"
- netbox_service - Fix issue 1426 - broken netbox_service module
modules:
- description: Manage data sources in NetBox
name: netbox_data_source
namespace: ''
- description: Manage contact assignments in NetBox
name: netbox_contact_assignment
namespace: ''
fragments:
- 1182-fix-contact-groups.yml
- 1433-add-custom-headers.yml
- 1435-fix-duplicate-task-name.yml
- 1438-fix-inventory-service-collection.yml
- 1439-fix-sevral-bug-discovered-by-integration-tests.yml
- 1459-add-netbox-data-sources.yml
- 1462-fix-pylint-errors.yml
- 1464-fix-mac-lookup-by-id.yml
- 1469-fix-old-apis.yml
- 1479-fix-services_parent_object.yml
- contacts.yml
- nb_inventory.yml
- netbox_circuit_termination.yml
- netbox_custom_field.yml
- netbox_service.yml
- netbox_tag.yml
- netbox_version_check_greater.yml
- netbox_version_sanitize.yml
- python_versions.yml
- unit_test_data.yml
- users-ordering.yml
- version_api.yml
- version_netbox.yml
- yamllint.yml
3.3.0:
changes:
minor_changes:
Expand Down
4 changes: 0 additions & 4 deletions changelogs/fragments/1182-fix-contact-groups.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/1433-add-custom-headers.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/1435-fix-duplicate-task-name.yml

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/1459-add-netbox-data-sources.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/1462-fix-pylint-errors.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/1464-fix-mac-lookup-by-id.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/1469-fix-old-apis.yml

This file was deleted.

5 changes: 0 additions & 5 deletions changelogs/fragments/1479-fix-services_parent_object.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/contacts.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/nb_inventory.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/netbox_circuit_termination.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/netbox_custom_field.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/netbox_service.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/netbox_tag.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/netbox_version_check_greater.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/netbox_version_sanitize.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/python_versions.yml

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/unit_test_data.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/users-ordering.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/version_api.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/version_netbox.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/yamllint.yml

This file was deleted.

2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
author = "Mikhail Yohman <@FragmentedPacket>"

# The full version, including alpha/beta/rc tags
release = "3.21.0"
release = "3.22.0"


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/environment_variables.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:orphan:

.. meta::
:antsibull-docs: 2.13.1
:antsibull-docs: 2.16.2

.. _list_of_collection_env_vars:

Expand Down
8 changes: 6 additions & 2 deletions docs/plugins/index.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.. meta::
:antsibull-docs: 2.13.1
:antsibull-docs: 2.16.2


.. _plugins_in_netbox.netbox:

Netbox.Netbox
=============

Collection version 3.21.0
Collection version 3.22.0

.. contents::
:local:
Expand Down Expand Up @@ -67,11 +67,13 @@ Modules
* :ansplugin:`netbox_console_server_port module <netbox.netbox.netbox_console_server_port#module>` -- Create, update or delete console server ports within NetBox
* :ansplugin:`netbox_console_server_port_template module <netbox.netbox.netbox_console_server_port_template#module>` -- Create, update or delete console server port templates within NetBox
* :ansplugin:`netbox_contact module <netbox.netbox.netbox_contact#module>` -- Creates or removes contacts from NetBox
* :ansplugin:`netbox_contact_assignment module <netbox.netbox.netbox_contact_assignment#module>` -- Creates or removes contact assignments from NetBox
* :ansplugin:`netbox_contact_group module <netbox.netbox.netbox_contact_group#module>` -- Creates or removes contact groups from NetBox
* :ansplugin:`netbox_contact_role module <netbox.netbox.netbox_contact_role#module>` -- Creates or removes contact roles from NetBox
* :ansplugin:`netbox_custom_field module <netbox.netbox.netbox_custom_field#module>` -- Creates, updates or deletes custom fields within NetBox
* :ansplugin:`netbox_custom_field_choice_set module <netbox.netbox.netbox_custom_field_choice_set#module>` -- Creates, updates or deletes custom field choice sets within Netbox
* :ansplugin:`netbox_custom_link module <netbox.netbox.netbox_custom_link#module>` -- Creates, updates or deletes custom links within NetBox
* :ansplugin:`netbox_data_source module <netbox.netbox.netbox_data_source#module>` -- Creates or removes data sources from NetBox
* :ansplugin:`netbox_device module <netbox.netbox.netbox_device#module>` -- Create, update or delete devices within NetBox
* :ansplugin:`netbox_device_bay module <netbox.netbox.netbox_device_bay#module>` -- Create, update or delete device bays within NetBox
* :ansplugin:`netbox_device_bay_template module <netbox.netbox.netbox_device_bay_template#module>` -- Create, update or delete device bay templates within NetBox
Expand Down Expand Up @@ -160,11 +162,13 @@ Modules
netbox_console_server_port_module
netbox_console_server_port_template_module
netbox_contact_module
netbox_contact_assignment_module
netbox_contact_group_module
netbox_contact_role_module
netbox_custom_field_module
netbox_custom_field_choice_set_module
netbox_custom_link_module
netbox_data_source_module
netbox_device_module
netbox_device_bay_module
netbox_device_bay_template_module
Expand Down
Loading
Loading