Skip to content

Commit c065fd3

Browse files
authored
Bump 2024 deprecations from dates to release versions (#2082)
Bump 2024 deprecations from dates to release versions SUMMARY Bump 2024 deprecations from dates to release versions ISSUE TYPE Docs Pull Request COMPONENT NAME plugins/modules/ecs_cluster.py plugins/modules/ecs_service.py plugins/modules/glue_connection.py ADDITIONAL INFORMATION See also: #518 #1640 #1716 Reviewed-by: Alina Buzachis
1 parent 2e8289f commit c065fd3

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
deprecated_features:
2+
- aws_glue_connection - updated the deprecation for removal of the ``connection_parameters`` return key from ``after 2024-06-01`` to release version ``9.0.0``,
3+
it is being replaced by the ``raw_connection_parameters`` key (https://github.com/ansible-collections/community.aws/pull/518).
4+
- ecs_cluster - updated the deprecation for updated default of ``purge_capacity_providers``, the current default of ``False`` will be changed to ``True``
5+
in release ``9.0.0``. To maintain the current behaviour explicitly set ``purge_capacity_providers=False`` (https://github.com/ansible-collections/community.aws/pull/1640).
6+
- ecs_service - updated the deprecation for updated default of ``purge_placement_constraints``, the current default of ``False`` will be changed to ``True``
7+
in release ``9.0.0``. To maintain the current behaviour explicitly set ``purge_placement_constraints=False`` (https://github.com/ansible-collections/community.aws/pull/1716).
8+
- ecs_service - updated the deprecation for updated default of ``purge_placement_strategy``, the current default of ``False`` will be changed to ``True``
9+
in release ``9.0.0``. To maintain the current behaviour explicitly set ``purge_placement_strategy=False`` (https://github.com/ansible-collections/community.aws/pull/1716).

plugins/modules/ecs_cluster.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
version_added: 5.2.0
7373
description:
7474
- Toggle overwriting of existing capacity providers or strategy. This is needed for backwards compatibility.
75-
- By default I(purge_capacity_providers=false). In a release after 2024-06-01 this will be changed to I(purge_capacity_providers=true).
75+
- By default I(purge_capacity_providers=false). In release 9.0.0 this default will be changed to I(purge_capacity_providers=true).
7676
required: false
7777
type: bool
7878
default: false
@@ -292,9 +292,9 @@ def main():
292292
# Unless purge_capacity_providers is true, we will not be updating the providers or strategy.
293293
if not purge_capacity_providers:
294294
module.deprecate(
295-
"After 2024-06-01 the default value of purge_capacity_providers will change from false to true."
295+
"In release 9.0.0 the default value of purge_capacity_providers will change from false to true."
296296
" To maintain the existing behaviour explicitly set purge_capacity_providers=true",
297-
date="2024-06-01",
297+
version="9.0.0",
298298
collection_name="community.aws",
299299
)
300300
cps_update_needed = False

plugins/modules/ecs_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
version_added: 5.3.0
159159
description:
160160
- Toggle overwriting of existing placement constraints. This is needed for backwards compatibility.
161-
- By default I(purge_placement_constraints=false). In a release after 2024-06-01 this will be changed to I(purge_placement_constraints=true).
161+
- By default I(purge_placement_constraints=false). In release 9.0.0 this will be changed to I(purge_placement_constraints=true).
162162
required: false
163163
type: bool
164164
default: false
@@ -180,7 +180,7 @@
180180
version_added: 5.3.0
181181
description:
182182
- Toggle overwriting of existing placement strategy. This is needed for backwards compatibility.
183-
- By default I(purge_placement_strategy=false). In a release after 2024-06-01 this will be changed to I(purge_placement_strategy=true).
183+
- By default I(purge_placement_strategy=false). In release 9.0.0 this will be changed to I(purge_placement_strategy=true).
184184
required: false
185185
type: bool
186186
default: false

plugins/modules/glue_connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
connection_properties:
111111
description:
112112
- (deprecated) A dict of key-value pairs (converted to lowercase) used as parameters for this connection.
113-
- This return key has been deprecated, and will be removed in a release after 2024-06-01.
113+
- This return key has been deprecated, and will be removed in release 9.0.0.
114114
returned: when state is present
115115
type: dict
116116
sample: {'jdbc_connection_url':'jdbc:mysql://mydb:3306/databasename','username':'x','password':'y'}
@@ -337,7 +337,7 @@ def create_or_update_glue_connection(connection, connection_ec2, module, glue_co
337337
"The 'connection_properties' return key is deprecated and will be replaced"
338338
" by 'raw_connection_properties'. Both values are returned for now."
339339
),
340-
date="2024-06-01",
340+
version="9.0.0",
341341
collection_name="community.aws",
342342
)
343343
glue_connection["RawConnectionProperties"] = glue_connection["ConnectionProperties"]

0 commit comments

Comments
 (0)