Skip to content

Commit 76e79e9

Browse files
authored
Fix the lowest bound for the symfony/polyfill-uuid requirement (#1879)
The 1.13.0 release (the first release of that package) is unusable due to a bug triggering an error when loading the autoload file. Defining 1.13.1 as our lowest bound for the requirement (the first working release) makes it easier for projects testing with `--prefer-lowest`.
1 parent 467fe26 commit 76e79e9

File tree

16 files changed

+34
-10
lines changed

16 files changed

+34
-10
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"symfony/finder": "^4.4 || ^5.0 || ^6.0 || ^7.0",
4141
"symfony/http-kernel": "^4.4 || ^5.0 || ^6.0 || ^7.0",
4242
"symfony/phpunit-bridge": "^5.3 || ^6.0 || ^7.0",
43-
"symfony/polyfill-uuid": "^1.0"
43+
"symfony/polyfill-uuid": "^1.13.1"
4444
},
4545
"conflict": {
4646
"symfony/http-client": "5.2.0"

src/CodeGenerator/src/Generator/RequestSerializer/QuerySerializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function generateRequestBuilder(StructureShape $shape, bool $needsChecks)
8787
}
8888
$shape = $member->getShape();
8989
if ($member->isIdempotencyToken()) {
90-
$this->requirementsRegistry->addRequirement('symfony/polyfill-uuid', '^1.0');
90+
$this->requirementsRegistry->addRequirement('symfony/polyfill-uuid', '^1.13.1');
9191
$body = 'if (null === $v = $this->PROPERTY) {
9292
$v = uuid_create(UUID_TYPE_RANDOM);
9393
}

src/CodeGenerator/src/Generator/RequestSerializer/RestJsonSerializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function generateRequestBuilder(StructureShape $shape, bool $needsChecks)
8989
}
9090
$shape = $member->getShape();
9191
if ($member->isIdempotencyToken()) {
92-
$this->requirementsRegistry->addRequirement('symfony/polyfill-uuid', '^1.0');
92+
$this->requirementsRegistry->addRequirement('symfony/polyfill-uuid', '^1.13.1');
9393
$body = 'if (null === $v = $this->PROPERTY) {
9494
$v = uuid_create(UUID_TYPE_RANDOM);
9595
}

src/CodeGenerator/src/Generator/RequestSerializer/RestXmlSerializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function generateRequestBuilder(StructureShape $shape, bool $needsChecks)
111111
}
112112

113113
if ($member->isIdempotencyToken()) {
114-
$this->requirementsRegistry->addRequirement('symfony/polyfill-uuid', '^1.0');
114+
$this->requirementsRegistry->addRequirement('symfony/polyfill-uuid', '^1.13.1');
115115
$body = 'if (null === $v = $this->PROPERTY) {
116116
$v = uuid_create(UUID_TYPE_RANDOM);
117117
}

src/Service/Athena/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
- AWS api-change: Added `eu-isoe-west-1` region
88
- AWS api-change: rewrite declaration of regions
99

10+
### Fixed
11+
12+
- Fix the lowest bound for the `symfony/polyfill-uuid` requirement
13+
1014
## 3.2.0
1115

1216
### Added

src/Service/Athena/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"ext-filter": "*",
1616
"ext-json": "*",
1717
"async-aws/core": "^1.9",
18-
"symfony/polyfill-uuid": "^1.0"
18+
"symfony/polyfill-uuid": "^1.13.1"
1919
},
2020
"autoload": {
2121
"psr-4": {

src/Service/DynamoDb/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
- Sort exception alphabetically.
1313
- AWS enhancement: Documentation updates.
1414

15+
### Fixed
16+
17+
- Fix the lowest bound for the `symfony/polyfill-uuid` requirement
18+
1519
## 3.5.0
1620

1721
### Added

src/Service/DynamoDb/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"ext-filter": "*",
1616
"ext-json": "*",
1717
"async-aws/core": "^1.16",
18-
"symfony/polyfill-uuid": "^1.0"
18+
"symfony/polyfill-uuid": "^1.13.1"
1919
},
2020
"conflict": {
2121
"symfony/http-client": "<4.4.16 <5.1.7"

src/Service/MediaConvert/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
- Sort exception alphabetically.
88

9+
### Fixed
10+
11+
- Fix the lowest bound for the `symfony/polyfill-uuid` requirement
12+
913
## 1.7.0
1014

1115
### Added

src/Service/MediaConvert/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"php": "^7.2.5 || ^8.0",
1515
"ext-json": "*",
1616
"async-aws/core": "^1.9",
17-
"symfony/polyfill-uuid": "^1.0"
17+
"symfony/polyfill-uuid": "^1.13.1"
1818
},
1919
"autoload": {
2020
"psr-4": {

0 commit comments

Comments
 (0)