Skip to content

Commit 7788298

Browse files
committed
Release v8.0.5
1 parent 3e35e02 commit 7788298

30 files changed

Lines changed: 1863 additions & 757 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [8.0.5] - 2026-05-11
9+
10+
### Fixed
11+
- Migration issue preventing users from upgrading past major version v8.0.0 [#644](https://github.com/aws-solutions/dynamic-image-transformation-for-amazon-cloudfront/issues/644)
12+
- Animated content in the .gif format had the abiltiy to be converted to non-animated image formats, breaking the animation and serving a still image
13+
14+
### Security
15+
- Bump `fast-xml-parser` to 5.7.0 to mitigate [CVE-2026-41650](https://github.com/advisories/GHSA-gh4j-gqv2-49f6)
16+
817
## [8.0.4] - 2026-04-20
918

1019
### Security

NOTICE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,6 +1434,9 @@ fast-check under the MIT license.
14341434
@rollup/rollup-openbsd-x64 under the MIT license.
14351435
@rollup/rollup-openharmony-arm64 under the MIT license.
14361436
@rollup/rollup-win32-x64-gnu under the MIT license.
1437+
@nodable/entities under the MIT license.
1438+
xml-naming under the MIT license.
1439+
14371440

14381441
********************
14391442
OPEN SOURCE LICENSES
@@ -1458,3 +1461,4 @@ BlueOak-1.0.0 - https://opensource.org/licenses/BlueOak-1.0.0
14581461
Unlicense - https://unlicense.org/
14591462

14601463

1464+

source/admin-ui/package-lock.json

Lines changed: 51 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/admin-ui/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@
7373
"minimatch@9": "9.0.8",
7474
"ajv@6": "6.14.0",
7575
"rollup": "4.59.0",
76-
"fast-xml-parser": "5.5.7",
7776
"flatted": "3.4.2",
7877
"yaml@1": "1.10.3",
7978
"diff@4": "4.0.4",
8079
"handlebars": "4.7.9",
8180
"picomatch@2": "2.3.2",
8281
"picomatch@4": "4.0.4",
8382
"brace-expansion@1": "1.1.13",
84-
"brace-expansion@5": "5.0.5"
83+
"brace-expansion@5": "5.0.5",
84+
"uuid": "11.1.1"
8585
}
8686
}

source/admin-ui/src/e2e-tests/package-lock.json

Lines changed: 51 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/admin-ui/src/e2e-tests/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
"lodash": "^4.18.0",
5050
"minimatch@3": "3.1.5",
5151
"ajv@6": "6.14.0",
52-
"fast-xml-parser": "5.5.7",
5352
"handlebars": "4.7.9",
5453
"flatted": "3.4.2",
5554
"picomatch@2": "2.3.2",

source/constructs/cdk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"app": "npx ts-node --prefer-ts-exts bin/constructs.ts",
33
"context": {
44
"solutionId": "SO0023",
5-
"solutionVersion": "custom-v8.0.4",
5+
"solutionVersion": "custom-v8.0.5",
66
"solutionName": "dynamic-image-transformation-for-amazon-cloudfront",
77
"vpcCidr": "10.0.0.0/16",
88
"environment": "dev"

source/constructs/lib/back-end/back-end-construct.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import { ApiGatewayArchitecture } from "./api-gateway-architecture";
2525
import { S3ObjectLambdaArchitecture } from "./s3-object-lambda-architecture";
2626
import { SolutionsMetrics, ExecutionDay } from "metrics-utils";
2727
import { ConditionAspect } from "../../utils/aspects";
28+
import { EventSourceMappingResolver } from "../common-resources/event-source-mapping-resolver-construct";
2829
import { OperationalInsightsDashboard } from "../dashboard/ops-insights-dashboard";
2930
import { Dashboard } from "aws-cdk-lib/aws-cloudwatch";
3031

@@ -225,6 +226,15 @@ export class BackEnd extends Construct {
225226
).toString(),
226227
});
227228

229+
// Resolve EventSourceMapping conflicts caused by the construct ID rename (v7→v8).
230+
// Only runs on first creation of this Custom Resource (i.e. the upgrade).
231+
const resolverTargets = EventSourceMappingResolver.findTargetsInMetrics(solutionsMetrics);
232+
if (resolverTargets) {
233+
const resolver = new EventSourceMappingResolver(this, "EventSourceMappingResolver", resolverTargets);
234+
resolver.addDependencyToEventSourceMappings(solutionsMetrics);
235+
Aspects.of(resolver).add(new ConditionAspect(props.sendAnonymousStatistics));
236+
}
237+
228238
const conditionalCloudFrontDistributionId = Fn.conditionIf(
229239
props.conditions.useExistingCloudFrontDistributionCondition.logicalId,
230240
existingDistribution.distributionId,

0 commit comments

Comments
 (0)