Skip to content

Commit 0f2ad55

Browse files
Merge branch 'release-1.44.33'
* release-1.44.33: Bumping version to 1.44.33 Update changelog based on model updates Fix argparse error for BooleanArgument with % in documentation (#10044)
2 parents 2edcea4 + c11c457 commit 0f2ad55

8 files changed

Lines changed: 107 additions & 5 deletions

File tree

.changes/1.44.33.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
[
2+
{
3+
"category": "``arc-region-switch``",
4+
"description": "Updates documentation for ARC Region switch and provides stronger validation for Amazon Aurora Global Database execution block parameters.",
5+
"type": "api-change"
6+
},
7+
{
8+
"category": "``athena``",
9+
"description": "Reduces the minimum TargetDpus to create or update capacity reservations from 24 to 4.",
10+
"type": "api-change"
11+
},
12+
{
13+
"category": "``bedrock-agentcore``",
14+
"description": "Support Browser profile persistence (cookies and local storage) across sessions for AgentCore Browser.",
15+
"type": "api-change"
16+
},
17+
{
18+
"category": "``bedrock-agentcore-control``",
19+
"description": "Support Browser profile persistence (cookies and local storage) across sessions for AgentCore Browser.",
20+
"type": "api-change"
21+
},
22+
{
23+
"category": "``glue``",
24+
"description": "This release adds the capability to easily create custom AWS Glue connections to data sources with REST APIs.",
25+
"type": "api-change"
26+
},
27+
{
28+
"category": "``medialive``",
29+
"description": "Outputs using the AV1 codec in CMAF Ingest output groups in MediaLive now have the ability to specify a target bit depth of 8 or 10.",
30+
"type": "api-change"
31+
},
32+
{
33+
"category": "``neptune-graph``",
34+
"description": "Minor neptune-graph documentation changes",
35+
"type": "api-change"
36+
},
37+
{
38+
"category": "``ram``",
39+
"description": "Added ListSourceAssociations API. Allows RAM resource share owners to list source associations that determine which sources can access resources through service principal associations. Supports filtering by resource share ARN, source ID, source type, or status, with pagination.",
40+
"type": "api-change"
41+
},
42+
{
43+
"category": "``transfer``",
44+
"description": "Adds support for the customer to send custom HTTP headers and configure an AS2 Connector to receive Asynchronous MDNs from their trading partner",
45+
"type": "api-change"
46+
},
47+
{
48+
"category": "``workspaces``",
49+
"description": "Added support for 12 new graphics-optimized compute types - Graphics.g6 (xlarge, 2xlarge, 4xlarge, 8xlarge, 16xlarge), Graphics.gr6 (4xlarge, 8xlarge), Graphics.g6f (large, xlarge, 2xlarge, 4xlarge), and Graphics.gr6f (4xlarge).",
50+
"type": "api-change"
51+
}
52+
]

CHANGELOG.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
CHANGELOG
33
=========
44

5+
1.44.33
6+
=======
7+
8+
* api-change:``arc-region-switch``: Updates documentation for ARC Region switch and provides stronger validation for Amazon Aurora Global Database execution block parameters.
9+
* api-change:``athena``: Reduces the minimum TargetDpus to create or update capacity reservations from 24 to 4.
10+
* api-change:``bedrock-agentcore``: Support Browser profile persistence (cookies and local storage) across sessions for AgentCore Browser.
11+
* api-change:``bedrock-agentcore-control``: Support Browser profile persistence (cookies and local storage) across sessions for AgentCore Browser.
12+
* api-change:``glue``: This release adds the capability to easily create custom AWS Glue connections to data sources with REST APIs.
13+
* api-change:``medialive``: Outputs using the AV1 codec in CMAF Ingest output groups in MediaLive now have the ability to specify a target bit depth of 8 or 10.
14+
* api-change:``neptune-graph``: Minor neptune-graph documentation changes
15+
* api-change:``ram``: Added ListSourceAssociations API. Allows RAM resource share owners to list source associations that determine which sources can access resources through service principal associations. Supports filtering by resource share ARN, source ID, source type, or status, with pagination.
16+
* api-change:``transfer``: Adds support for the customer to send custom HTTP headers and configure an AS2 Connector to receive Asynchronous MDNs from their trading partner
17+
* api-change:``workspaces``: Added support for 12 new graphics-optimized compute types - Graphics.g6 (xlarge, 2xlarge, 4xlarge, 8xlarge, 16xlarge), Graphics.gr6 (4xlarge, 8xlarge), Graphics.g6f (large, xlarge, 2xlarge, 4xlarge), and Graphics.gr6f (4xlarge).
18+
19+
520
1.44.32
621
=======
722

awscli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import os
2020

21-
__version__ = '1.44.32'
21+
__version__ = '1.44.33'
2222

2323
#
2424
# Get our data path to be added to botocore's search path

awscli/arguments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ def add_to_arg_table(self, argument_table):
593593
def add_to_parser(self, parser):
594594
parser.add_argument(
595595
self.cli_name,
596-
help=self.documentation,
596+
help=self.documentation.replace('%', '%%'),
597597
action=self._action,
598598
default=self._default,
599599
dest=self._destination,

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
# The short X.Y version.
5353
version = '1.44.'
5454
# The full version, including alpha/beta/rc tags.
55-
release = '1.44.32'
55+
release = '1.44.33'
5656

5757
# The language for content autogenerated by Sphinx. Refer to documentation
5858
# for a list of supported languages.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ universal = 0
33

44
[metadata]
55
requires_dist =
6-
botocore==1.42.42
6+
botocore==1.42.43
77
docutils>=0.18.1,<=0.19
88
s3transfer>=0.16.0,<0.17.0
99
PyYAML>=3.10,<6.1

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def find_version(*file_paths):
2424

2525

2626
install_requires = [
27-
'botocore==1.42.42',
27+
'botocore==1.42.43',
2828
'docutils>=0.18.1,<=0.19',
2929
's3transfer>=0.16.0,<0.17.0',
3030
'PyYAML>=3.10,<6.1',

tests/unit/test_argprocess.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
from awscli.arguments import ListArgument, BooleanArgument
3333
from awscli.arguments import create_argument_model_from_schema
3434

35+
from awscli.argparser import ArgTableArgParser
3536

3637
# These tests use real service types so that we can
3738
# verify the real shapes of services.
@@ -895,5 +896,39 @@ def test_json_value_decode_error(self):
895896
unpack_cli_arg(self.p, value)
896897

897898

899+
class TestArgumentPercentEscaping(BaseArgProcessTest):
900+
def _test_percent_escaping(self, arg_type, arg_class, doc_string):
901+
argument = self.create_argument(
902+
{
903+
'Test': {
904+
'type': arg_type,
905+
'documentation': doc_string,
906+
}
907+
}
908+
)
909+
arg = arg_class(
910+
'test-arg',
911+
argument.argument_model.members['Test'],
912+
mock.Mock(),
913+
mock.Mock(),
914+
is_required=False,
915+
)
916+
arg_table = {arg.name: arg}
917+
parser = ArgTableArgParser(arg_table)
918+
help_output = parser.format_help()
919+
self.assertIn(doc_string, help_output)
920+
921+
def test_cli_argument_escapes_percent(self):
922+
self._test_percent_escaping('string', CLIArgument, 'Symbols: % ^ & *')
923+
924+
def test_boolean_argument_escapes_percent(self):
925+
self._test_percent_escaping('boolean', BooleanArgument, 'Symbols: % ^ & *')
926+
927+
def test_cli_argument_escapes_url_encoded_percent(self):
928+
self._test_percent_escaping('string', CLIArgument, 'File: test%28file%29.png')
929+
930+
def test_boolean_argument_escapes_url_encoded_percent(self):
931+
self._test_percent_escaping('boolean', BooleanArgument, 'File: test%28file%29.png')
932+
898933
if __name__ == '__main__':
899934
unittest.main()

0 commit comments

Comments
 (0)