| 1 |
.. ########################################################################### |
| 2 |
.. AUTO-GENERATED FILE |
| 3 |
.. |
| 4 |
.. This changelog is maintained by the GitHub CI/CD pipeline (antsibull-changelog) |
| 5 |
.. based on YAML fragments in changelogs/fragments/*.yml. |
| 6 |
.. |
| 7 |
.. DO NOT EDIT THIS FILE MANUALLY. |
| 8 |
.. |
| 9 |
.. Make changes by adding or updating a fragment in changelogs/fragments/release-*.yml instead. |
| 10 |
.. ########################################################################### |
| 11 |
|
| 12 |
==================================================== |
| 13 |
ALPACA Operator Collection for Ansible Release Notes |
| 14 |
==================================================== |
| 15 |
|
| 16 |
.. contents:: Topics |
| 17 |
|
| 18 |
v2.1.1 |
| 19 |
====== |
| 20 |
|
| 21 |
Release Summary |
| 22 |
--------------- |
| 23 |
|
| 24 |
Release 2.1.1 fixes critical bugs including an AttributeError that occurred when updating commands or systems without providing all nested dictionary fields, and a check mode violation where excess commands were deleted even in check mode. Additionally, it enhances the output when commands are deleted to include their full configuration. |
| 25 |
|
| 26 |
Minor Changes |
| 27 |
------------- |
| 28 |
|
| 29 |
- Enhance alpaca_command_set module to fetch and display complete command configuration in removed_commands output when commands are deleted, providing full details. |
| 30 |
|
| 31 |
Bugfixes |
| 32 |
-------- |
| 33 |
|
| 34 |
- Fix critical AttributeError bug where 'NoneType' object has no attribute 'get' occurred when API returned None for nested dictionary fields. Applied safe pattern (.get('key') or {}) in modules alpaca_command_set.py, alpaca_command.py, and alpaca_system.py to prevent crashes during payload building and diff calculation. |
| 35 |
- Fix critical check mode violation in alpaca_command_set.py where excess commands were deleted even in check mode. |
| 36 |
|
| 37 |
v2.1.0 |
| 38 |
====== |
| 39 |
|
| 40 |
Release Summary |
| 41 |
--------------- |
| 42 |
|
| 43 |
Release 2.1.0 eliminates the external requests dependency, adds official support for Ansible 2.20, fixes documentation issues, and improves code quality through reduced duplication and consistent Python version requirements. |
| 44 |
|
| 45 |
Minor Changes |
| 46 |
------------- |
| 47 |
|
| 48 |
- Add ansible-core 2.20 to the CI/CD test matrix and officially support Ansible 2.20. |
| 49 |
- Replace requests library dependency with ansible.module_utils.urls in _alpaca_api.py and alpaca_group.py to eliminate external dependency requirement. |
| 50 |
|
| 51 |
Bugfixes |
| 52 |
-------- |
| 53 |
|
| 54 |
- Fix inconsistent Python version requirement in module utils comment. Updated comment in _alpaca_api.py from Python 2.7+ to Python 3.8+ to match README.md and other documentation. |
| 55 |
- Fix incorrect version_added values for parameters that were renamed from camelCase to snake_case in version 2.0.0. All renamed parameters now correctly show version_added: '2.0.0' instead of '1.0.0'. |
| 56 |
- Refactor api_connection parameter documentation to use doc fragment and move argument spec to module utils to eliminate duplication across all modules. |
| 57 |
|
| 58 |
v2.0.0 |
| 59 |
====== |
| 60 |
|
| 61 |
Release Summary |
| 62 |
--------------- |
| 63 |
|
| 64 |
Release 2.0.0 of the pcg.alpaca_operator collection addresses all feedback from the Ansible Collection Steering Committee review, |
| 65 |
bringing the collection into full compliance with Ansible documentation standards and best practices. |
| 66 |
|
| 67 |
Major Changes |
| 68 |
------------- |
| 69 |
|
| 70 |
- All module parameters/arguments now follow snake_case naming (e.g., 'apiConnection' is now 'api_connection', 'magicNumber' is now 'magic_number'). |
| 71 |
- Updated all module documentation, examples, and playbooks to reflect the new snake_case parameter names. |
| 72 |
|
| 73 |
Minor Changes |
| 74 |
------------- |
| 75 |
|
| 76 |
- Add best practices section for managing RFC passwords to maintain idempotency. |
| 77 |
- Add comprehensive documentation in changelogs/fragments/README.md explaining how to create and manage changelog fragments. |
| 78 |
- Add manual changelog generation script .dev/scripts/generate_changelog.sh for local testing and verification. |
| 79 |
- Add requirements section to module documentation indicating minimum supported ALPACA Operator version. |
| 80 |
- Document non-idempotent behavior of alpaca_system module when rfc_connection.password is specified. |
| 81 |
- Introduce changelog fragment system using antsibull-changelog for automatic changelog generation from structured fragment files. |
| 82 |
- Merge QUICK_START.md into index.md for consolidated getting started documentation. |
| 83 |
|
| 84 |
Breaking Changes / Porting Guide |
| 85 |
-------------------------------- |
| 86 |
|
| 87 |
- Convert all Ansible module parameters from camelCase to snake_case to comply with Python and Ansible naming conventions. This is a breaking change that requires updating existing playbooks. API payload keys remain in camelCase as required by the ALPACA REST API. |
| 88 |
|
| 89 |
Bugfixes |
| 90 |
-------- |
| 91 |
|
| 92 |
- Add check_mode support documentation in attributes section and remove unsupported 'supports_check_mode' field from module documentation. |
| 93 |
- Add missing periods to argument descriptions in module documentation to comply with Ansible documentation standards. |
| 94 |
- Add semantic markup (V(), O(), M()) to module documentation descriptions for better readability and compliance with Ansible standards. |
| 95 |
- Ensure Fully Qualified Collection Names (FQCNs) are used for all plugins and modules, including ansible.builtin modules, in all documentation, examples, and return sections. |
| 96 |
- Fix invalid documentation markup by using full paths for nested options in O() directives (e.g., O(command.agent_id)). |
| 97 |
- Remove maximum version cap from requires_ansible field in meta/runtime.yml. |
| 98 |
- Remove periods from return value descriptions in RETURN sections to comply with Ansible documentation standards. |
| 99 |
- Replace 'Ansible' with 'ansible-core' in requirements fields and documentation to accurately reflect the dependency. |
| 100 |
- alpaca_system - Fix TypeError by adding missing 'desired_vars' argument to build_variable_payload() function call. |
| 101 |
|
| 102 |
v1.0.1 |
| 103 |
====== |
| 104 |
|
| 105 |
Release Summary |
| 106 |
--------------- |
| 107 |
|
| 108 |
Removed roles from the collection as they are not part of this collection scope for now. |
| 109 |
They may be reintroduced in a future release. |
| 110 |
|
| 111 |
Major Changes |
| 112 |
------------- |
| 113 |
|
| 114 |
- Removed the "hana_backup" role, as it is not part of this collection scope. |
| 115 |
|
| 116 |
v1.0.0 |
| 117 |
====== |
| 118 |
|
| 119 |
Release Summary |
| 120 |
--------------- |
| 121 |
|
| 122 |
Initial release of the pcg.alpaca_operator Ansible Collection. |
| 123 |
This version introduces modules to manage the ALPACA Operator configuration via its REST API. |
| 124 |
|
| 125 |
Major Changes |
| 126 |
------------- |
| 127 |
|
| 128 |
- Initial implementation. |