Skip to content

Commit 5064d72

Browse files
authored
Update changelog after release 5.0.0 (#747)
Push change from stable-5 after release 5.0.0 Reviewed-by: Mike Graves <[email protected]> Reviewed-by: Yuriy Novostavskiy
1 parent fb80d97 commit 5064d72

18 files changed

+115
-45
lines changed

CHANGELOG.rst

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,57 @@ Kubernetes Collection Release Notes
44

55
.. contents:: Topics
66

7+
v5.0.0
8+
======
9+
10+
Release Summary
11+
---------------
12+
13+
This major release drops support for ``ansible-core<2.15``.
14+
15+
Minor Changes
16+
-------------
17+
18+
- inventory/k8s.py - Defer removal of k8s inventory plugin to version 6.0.0 (https://github.com/ansible-collections/kubernetes.core/pull/734).
19+
20+
Breaking Changes / Porting Guide
21+
--------------------------------
22+
23+
- Remove support for ``ansible-core<2.15`` (https://github.com/ansible-collections/kubernetes.core/pull/737).
24+
25+
v4.0.0
26+
======
27+
28+
Release Summary
29+
---------------
30+
31+
This major release brings several bug fixes. We have also removed support for ``ansible-core<2.15`` and deprecated functions and class from ``module_utils/common.py``.
32+
33+
Minor Changes
34+
-------------
35+
36+
- inventory/k8s.py - Defer removal of k8s inventory plugin to version 5.0 (https://github.com/ansible-collections/kubernetes.core/pull/723).
37+
- k8s - The module and K8sService were changed so warnings returned by the K8S API are now displayed to the user.
38+
39+
Removed Features (previously deprecated)
40+
----------------------------------------
41+
42+
- k8s - Support for ``merge_type=json`` has been removed in version 4.0.0. Please use ``kubernetes.core.k8s_json_patch`` instead (https://github.com/ansible-collections/kubernetes.core/pull/722).
43+
- k8s_exec - the previously deprecated ``result.return_code`` return value has been removed, consider using ``result.rc`` instead (https://github.com/ansible-collections/kubernetes.core/pull/726).
44+
- module_utils/common.py - the previously deprecated ``K8sAnsibleMixin`` class has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).
45+
- module_utils/common.py - the previously deprecated ``configuration_digest()`` function has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).
46+
- module_utils/common.py - the previously deprecated ``get_api_client()`` function has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).
47+
- module_utils/common.py - the previously deprecated ``unique_string()`` function has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).
48+
49+
Bugfixes
50+
--------
51+
52+
- Resolve Collections util resource discovery fails when complex subresources present (https://github.com/ansible-collections/kubernetes.core/pull/676).
53+
- align `helmdiff_check()` function commandline rendering with the `deploy()` function (https://github.com/ansible-collections/kubernetes.core/pull/670).
54+
- avoid unsafe conditions in integration tests (https://github.com/ansible-collections/kubernetes.core/pull/665).
55+
- helm - use ``reuse-values`` when running ``helm diff`` command (https://github.com/ansible-collections/kubernetes.core/issues/680).
56+
- integrations test helm_kubeconfig - set helm version to v3.10.3 to avoid incompatability with new bitnami charts (https://github.com/ansible-collections/kubernetes.core/pull/670).
57+
758
v3.1.0
859
======
960

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Also needs to be updated in galaxy.yml
2-
VERSION = 3.0.0
2+
VERSION = 5.0.0
33

44
TEST_ARGS ?= ""
55
PYTHON_VERSION ?= `python -c 'import platform; print(".".join(platform.python_version_tuple()[0:2]))'`

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ You can also include it in a `requirements.yml` file and install it via `ansible
9393
---
9494
collections:
9595
- name: kubernetes.core
96-
version: 3.0.0
96+
version: 5.0.0
9797
```
9898
9999
### Installing the Kubernetes Python Library

changelogs/changelog.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,3 +854,58 @@ releases:
854854
- 652-fix-json-patch-action.yml
855855
- 654-helm-expand-user.yml
856856
release_date: '2024-05-16'
857+
4.0.0:
858+
changes:
859+
bugfixes:
860+
- Resolve Collections util resource discovery fails when complex subresources
861+
present (https://github.com/ansible-collections/kubernetes.core/pull/676).
862+
- align `helmdiff_check()` function commandline rendering with the `deploy()`
863+
function (https://github.com/ansible-collections/kubernetes.core/pull/670).
864+
- avoid unsafe conditions in integration tests (https://github.com/ansible-collections/kubernetes.core/pull/665).
865+
- helm - use ``reuse-values`` when running ``helm diff`` command (https://github.com/ansible-collections/kubernetes.core/issues/680).
866+
- integrations test helm_kubeconfig - set helm version to v3.10.3 to avoid incompatability
867+
with new bitnami charts (https://github.com/ansible-collections/kubernetes.core/pull/670).
868+
minor_changes:
869+
- inventory/k8s.py - Defer removal of k8s inventory plugin to version 5.0 (https://github.com/ansible-collections/kubernetes.core/pull/723).
870+
- k8s - The module and K8sService were changed so warnings returned by the K8S
871+
API are now displayed to the user.
872+
release_summary: This major release brings several bug fixes. We have also removed
873+
support for ``ansible-core<2.15`` and deprecated functions and class from
874+
``module_utils/common.py``.
875+
removed_features:
876+
- k8s - Support for ``merge_type=json`` has been removed in version 4.0.0. Please
877+
use ``kubernetes.core.k8s_json_patch`` instead (https://github.com/ansible-collections/kubernetes.core/pull/722).
878+
- k8s_exec - the previously deprecated ``result.return_code`` return value has
879+
been removed, consider using ``result.rc`` instead (https://github.com/ansible-collections/kubernetes.core/pull/726).
880+
- module_utils/common.py - the previously deprecated ``K8sAnsibleMixin`` class
881+
has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).
882+
- module_utils/common.py - the previously deprecated ``configuration_digest()``
883+
function has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).
884+
- module_utils/common.py - the previously deprecated ``get_api_client()`` function
885+
has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).
886+
- module_utils/common.py - the previously deprecated ``unique_string()`` function
887+
has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).
888+
fragments:
889+
- 20231206-fix-unsafe-condition-in-integration.yml
890+
- 20240117-fix-helm-diff-cmd-line-rendering.yml
891+
- 20240222-Collections-util-resource-discovery-fails-when-complex-subresources-present.yml
892+
- 20240228-fix-helm-diff-with-reuse-values.yml
893+
- 20240423-k8s-display-warnings-to-users.yml
894+
- 4.0.0.yaml
895+
- inventory-update_removal_date.yml
896+
- k8s-merge_type-removed.yml
897+
- module_utils-common-remove-deprecated-functions-and-class.yaml
898+
release_date: '2024-05-24'
899+
5.0.0:
900+
changes:
901+
breaking_changes:
902+
- Remove support for ``ansible-core<2.15`` (https://github.com/ansible-collections/kubernetes.core/pull/737).
903+
minor_changes:
904+
- inventory/k8s.py - Defer removal of k8s inventory plugin to version 6.0.0
905+
(https://github.com/ansible-collections/kubernetes.core/pull/734).
906+
release_summary: This major release drops support for ``ansible-core<2.15``.
907+
fragments:
908+
- 20240530-ansible-core-support-update.yaml
909+
- 20240530-defer-removal-and-ansible-core-support-update.yaml
910+
- 5.0.0.yml
911+
release_date: '2024-05-31'

changelogs/fragments/20231206-fix-unsafe-condition-in-integration.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/20240117-fix-helm-diff-cmd-line-rendering.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelogs/fragments/20240222-Collections-util-resource-discovery-fails-when-complex-subresources-present.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/20240228-fix-helm-diff-with-reuse-values.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/20240423-k8s-display-warnings-to-users.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/20240530-ansible-core-support-update.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)