Skip to content

Releases: ansible-community/antsibull-core

3.3.0

09 Oct 19:07
Compare
Choose a tag to compare

Release Summary

Feature release.

Minor Changes

  • Allow information on removed collections from previous major releases in collection metadata schema (#174).

3.2.0

23 Sep 17:04
Compare
Choose a tag to compare

Release Summary

Feature and bugfix release.

Minor Changes

  • Add pydantic helper for strict linting (#169).
  • Allow information on removed collections in collection metadata schema (#173).

Bugfixes

  • Collection metadata removal schema valiation: remove bad check that deprecated redirect replacement major version must be in the future (#172).

3.1.0

12 Sep 08:53
Compare
Choose a tag to compare

Release Summary

Feature release adding a new dependency.

Minor Changes

  • Add schema and validation helper for ansible-build-data's collection meta (ansible-community/ansible-build-data#450, #168).
  • Antsibull-core now depends on the new project antsibull-fileutils. Some code has been moved to that library; that code is re-imported to avoid breaking changes for users of antsibull-core (#166).

3.0.2

17 Aug 12:43
Compare
Choose a tag to compare

Release Summary

Bugfix release.

Bugfixes

  • Adjust the aiohttp retry GET mananger to use ClientTimeout instead of a float, since that will be removed in aiohttp 4.0.0 (#163).
  • Bump asyncio requirement to >= 3.3.0 instead of 3.0.0. Version 3.0.0 likely never worked with the retry code that has been in here basically since he beginning (#163).
  • Make sure that app and lib contexts are cleaned up correctly in case of generator exit (#161).
  • Make sure that the right TimeoutError is used in the HTTP retry util. asyncio.TimeoutError is a deprecated alias of TimeoutError since Python 3.11 (#160).

2.2.2

17 Aug 12:36
Compare
Choose a tag to compare

Release Summary

Bugfix release.

Bugfixes

  • Adjust the aiohttp retry GET mananger to use ClientTimeout instead of a float, since that will be removed in aiohttp 4.0.0 (#163).
  • Bump asyncio requirement to >= 3.3.0 instead of 3.0.0. Version 3.0.0 likely never worked with the retry code that has been in here basically since he beginning (#163).
  • Make sure that app and lib contexts are cleaned up correctly in case of generator exit (#161).
  • Make sure that the right TimeoutError is used in the HTTP retry util. asyncio.TimeoutError is a deprecated alias of TimeoutError since Python 3.11 (#160).

3.0.1

17 Apr 05:39
Compare
Choose a tag to compare

Release Summary

Bugfix release.

Bugfixes

  • Adjusting ansible-core PyPI code to also accept a filename starting with ansible_core, which seems to be in use since ansible-core 2.16.6 due to PEP-625 support in setuptools 69.3.0 (#158).

2.2.1

17 Apr 05:34
Compare
Choose a tag to compare

Release Summary

Bugfix release.

Bugfixes

  • Adjusting ansible-core PyPI code to also accept a filename starting with ansible_core, which seems to be in use since ansible-core 2.16.6 due to PEP-625 support in setuptools 69.3.0 (#158).
  • Avoid superfluous network request when trusting the ansible-core download cache (#135).

3.0.0

17 Mar 11:05
2f93380
Compare
Choose a tag to compare

Release Summary

New major release.

Breaking Changes / Porting Guide

  • Drop support for building Ansible versions less than 6.0.0 (#132).
  • Remove GalaxyClient's and CollectionDownloader's galaxy_server arguments. You need to explicitly pass in a GalaxyContext object instead (#131).
  • antsibull-core now requires major version 2 of the pydantic library. Version 1 is no longer supported (#122).

Removed Features (previously deprecated)

  • If ansible_base_url is provided in a config file, but ansible_core_repo_url is not, its value is no longer used for ansible_core_repo_url (#128).
  • Remove dependency on sh (#119).
  • Removed the deprecated field doc_parsing_backend from LibContext (#128).
  • Removed the deprecated fields ansible_base_url, galaxy_url, pypi_url, and collection_cache from AppContext (#128).
  • ansible_core - remove get_ansible_core_package_name() function. This is no longer necessary now that support for ansible-base has been dropped (#132).
  • ansible_core - remove ansible-core/ansible-base normalization in AnsibleCorePyPiClient. Data retrieval is only supported for ansible-core (#132).
  • antsibull_core.compat - remove deprecated asyncio_run, best_get_loop, create_task and metadata (#124, #129).
  • dependency_files - drop support for _ansible_base_version and _acd_version in pieces files. _ansible_core_version and _ansible_version, respectively, should be used instead (#132).
  • venv - remove get_command() method from VenvRunner and FakeVenvRunner (#119).

Bugfixes

  • Avoid superfluous network request when trusting the ansible-core download cache (#135).

3.0.0a1

15 Feb 02:38
3.0.0a1
a11664d
Compare
Choose a tag to compare
3.0.0a1 Pre-release
Pre-release

v3.0.0a1

Release Summary

First antsibull-core v3 pre-release

Breaking Changes / Porting Guide

  • Drop support for building Ansible versions less than 6.0.0 (#132).
  • Remove GalaxyClient's and CollectionDownloader's galaxy_server arguments. You need to explicitly pass in a GalaxyContext object instead (#131).
  • antsibull-core now requires major version 2 of the pydantic library. Version 1 is no longer supported (#122).

Removed Features (previously deprecated)

  • If ansible_base_url is provided in a config file, but ansible_core_repo_url is not, its value is no longer used for ansible_core_repo_url (#128).
  • Remove dependency on sh (#119).
  • Removed the deprecated field doc_parsing_backend from LibContext (#128).
  • Removed the deprecated fields ansible_base_url, galaxy_url, pypi_url, and collection_cache from AppContext (#128).
  • ansible_core - remove get_ansible_core_package_name() function. This is no longer necessary now that support for ansible-base has been dropped (#132).
  • ansible_core - remove ansible-core/ansible-base normalization in AnsibleCorePyPiClient. Data retrieval is only supported for ansible-core (#132).
  • antsibull_core.compat - remove deprecated asyncio_run, best_get_loop, create_task and metadata (#124, #129).
  • dependency_files - drop support for _ansible_base_version and _acd_version in pieces files. _ansible_core_version and _ansible_version, respectively, should be used instead (#132).
  • venv - remove get_command() method from VenvRunner and FakeVenvRunner (#119).

Bugfixes

  • Avoid superfluous network request when trusting the ansible-core download cache (#135).

2.2.0

01 Dec 20:39
2.2.0
6fc5337
Compare
Choose a tag to compare

Release Summary

Add support for Python 3.12 and improve subprocess_util

Minor Changes

  • Declare support for Python 3.12 (#103).
  • subprocess_util.async_log_run(), subprocess_util.log_run(), and the corresponding functions in venv now support passing generic callback functions for stdout_loglevel and stderr_loglevel (#113).

Bugfixes

  • Fix typing for antsibull_core.app_context.app_context() functions (#109).
  • subprocess_util.log_run - use proper string formatting when passing command output to the logger (#116).