Skip to content

Latest commit

 

History

History
181 lines (121 loc) · 5.34 KB

CHANGELOG.rst

File metadata and controls

181 lines (121 loc) · 5.34 KB

cloud.common Release Notes

This major release includes a bugfix for Ansible turbo mode and drops support for ansible-core < 2.15.

  • module_utils/turbo/server - Ensure all import statements in run_as_lookup_plugin() are in a try/except block (#143).

This major release drops support for ansible-core versions lower than 2.14 and Python versions lower than 3.9.

  • Bump minimum Python supported version to 3.9.
  • Remove support for ansible-core < 2.14.

This release includes several bugfixes for lookup plugins.

  • sanity - fix sanity errors (#106)
  • units - ensure tests/units follow the Ansible-defined unit tests structure (#89)
  • module_utils/turbo/server - import needed library into the right place (#120)
  • Ensure we don't shutdown the server when we've still got some ongoing tasks (#109).
  • Move the content of README_ansible_turbo.module.rst in the main README.md to get visibility on Ansible Galaxy.
  • fix parameters with aliases not being passed through (#91).
  • fix turbo mode loading incorrect module (#102).
  • turbo - Ensure we don't call the module with duplicated aliased parameters.
  • Cosmetic changes in the documentation for the inclusion in the Ansible collection.
  • turbo - Extend the unit-test coverage.
  • turbo - Use a BSD license for the module_utils and plugin_utils files.
  • turbo - add support for coroutine for lookup plugins (#75).
  • turbo - enable turbo mode for lookup plugins
  • add exception handler to main async loop (#67).
  • pass current task's environment through to execution (#69).
  • turbo - AnsibleTurboModule was missing some _ansible_facts variable like _diff, _ansible_tmpdir. (#65)
  • turbo - honor the remote_tmp configuration key.
  • Introduces a fix for the future Python 3.10 (#53)
  • turbo - make sure socket doesn't close prematurely, preventing issues with large amounts of data passed as module parameters (#61)
  • Introduces a fix for the future Python 3.10 (#53)
  • fail_json method should honor kwargs now when running embedded in server.
  • The profiler is now properly initialized.
  • Use the argument_spec values to determine which option should actually be used.
  • fix exception messages containing extra single quotes (#46).
  • The EmbeddedModuleFailure and EmbeddedModuleUnexpectedFailure exceptions now handle the __repr__ and __str__ method. This means Python is able to print a meaningful output.
  • The modules must now set the collection_name of the AnsibleTurboModule class. The content of this attribute is used to build the path of the UNIX socket.
  • When the background service is started in a console without the --daemon flag, it now prints information what it runs.
  • argument_spec is now evaluated server-side.
  • fail_json now accept and collect extra named arguments.
  • raise an exception if the output of module execution cannot be parsed.
  • the turbo_demo module now return the value of counter.
  • the user get an error now an error if a module don't raise exit_json() or fail_json().
  • the debug mode now work as expected. The _ansible_* variables are properly passed to the module.
  • ansible_module.turbo - the cache is now associated with the collection, if two collections use a cache, two background services will be started.
  • Ensure the background service starts properly on MacOS (#16)
  • do not silently skip parameters when the value is False