Skip to content

Commit 7d2ad04

Browse files
authored
Merge pull request #395 from aws-solutions/release/v6.1.0
update to version v6.1.0
2 parents b6a4f88 + 2c74c58 commit 7d2ad04

File tree

89 files changed

+9159
-6797
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+9159
-6797
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
# misc
1919
**/npm-debug.log
2020
**/testem.log
21-
**/package-lock.json
2221
**/.vscode/settings.json
2322
demo-ui-config.js
2423

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ 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+
## [6.1.0] - 2022-11-10
9+
10+
### Added
11+
12+
- gif support
13+
- tif support
14+
- AWS Service Catalog AppRegistry
15+
16+
### Changed
17+
18+
- package version updates
19+
- CDK v2 migration
20+
- node 16.x Lambda runtimes
21+
822
## [6.0.0] - 2021-12-21
923

1024
### ⚠ BREAKING CHANGES

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,11 @@ This solution collects anonymous operational metrics to help AWS improve the qua
111111
- [@frankenbubble](https://github.com/frankenbubble) for [#302](https://github.com/aws-solutions/serverless-image-handler/pull/302)
112112
- [@guidev](https://github.com/guidev) for [#309](https://github.com/aws-solutions/serverless-image-handler/pull/309)
113113
- [@njtmead](https://github.com/njtmead) for [#276](https://github.com/aws-solutions/serverless-image-handler/pull/276)
114+
- [@StaymanHou](https://github.com/StaymanHou) for [#320](https://github.com/aws-solutions/serverless-image-handler/pull/320)
115+
- [@alenpaulvarghese](https://github.com/alenpaulvarghese) for [#392](https://github.com/aws-solutions/serverless-image-handler/pull/392)
114116

115117
# License
116118

117-
Copyright 2019-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
119+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
118120

119121
SPDX-License-Identifier: Apache-2.0

source/.prettierrc

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

source/.prettierrc.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# .prettierrc or .prettierrc.yaml
2+
arrowParens: "always"
3+
bracketSpacing: true
4+
endOfLine: "lf"
5+
htmlWhitespaceSensitivity: "css"
6+
proseWrap: "preserve"
7+
trailingComma: "es5"
8+
tabWidth: 2
9+
semi: true
10+
quoteProps: "as-needed"
11+
printWidth: 120
Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

4-
import { App } from '@aws-cdk/core';
5-
import { ServerlessImageHandlerStack, ServerlessImageHandlerStackProps } from '../lib/serverless-image-stack';
4+
import { App, DefaultStackSynthesizer } from "aws-cdk-lib";
5+
import { ServerlessImageHandlerStack, ServerlessImageHandlerStackProps } from "../lib/serverless-image-stack";
66

77
const getProps = (): ServerlessImageHandlerStackProps => {
88
const { SOLUTION_BUCKET_NAME_PLACEHOLDER, SOLUTION_NAME_PLACEHOLDER, SOLUTION_VERSION_PLACEHOLDER } = process.env;
99

10-
if (typeof SOLUTION_BUCKET_NAME_PLACEHOLDER !== 'string' || SOLUTION_BUCKET_NAME_PLACEHOLDER.trim() === '') {
11-
throw new Error('Missing required environment variable: SOLUTION_BUCKET_NAME_PLACEHOLDER');
10+
if (typeof SOLUTION_BUCKET_NAME_PLACEHOLDER !== "string" || SOLUTION_BUCKET_NAME_PLACEHOLDER.trim() === "") {
11+
throw new Error("Missing required environment variable: SOLUTION_BUCKET_NAME_PLACEHOLDER");
1212
}
1313

14-
if (typeof SOLUTION_NAME_PLACEHOLDER !== 'string' || SOLUTION_NAME_PLACEHOLDER.trim() === '') {
15-
throw new Error('Missing required environment variable: SOLUTION_NAME_PLACEHOLDER');
14+
if (typeof SOLUTION_NAME_PLACEHOLDER !== "string" || SOLUTION_NAME_PLACEHOLDER.trim() === "") {
15+
throw new Error("Missing required environment variable: SOLUTION_NAME_PLACEHOLDER");
1616
}
1717

18-
if (typeof SOLUTION_VERSION_PLACEHOLDER !== 'string' || SOLUTION_VERSION_PLACEHOLDER.trim() === '') {
19-
throw new Error('Missing required environment variable: SOLUTION_VERSION_PLACEHOLDER');
18+
if (typeof SOLUTION_VERSION_PLACEHOLDER !== "string" || SOLUTION_VERSION_PLACEHOLDER.trim() === "") {
19+
throw new Error("Missing required environment variable: SOLUTION_VERSION_PLACEHOLDER");
2020
}
2121

22-
const solutionId = 'SO0023';
23-
const solutionDisplayName = 'Serverless Image Handler';
22+
const solutionId = "SO0023";
23+
const solutionDisplayName = "Serverless Image Handler";
2424
const solutionVersion = SOLUTION_VERSION_PLACEHOLDER;
2525
const solutionName = SOLUTION_NAME_PLACEHOLDER;
2626
const solutionAssetHostingBucketNamePrefix = SOLUTION_BUCKET_NAME_PLACEHOLDER;
@@ -32,11 +32,16 @@ const getProps = (): ServerlessImageHandlerStackProps => {
3232
solutionName,
3333
solutionDisplayName,
3434
solutionVersion,
35-
solutionAssetHostingBucketNamePrefix
35+
solutionAssetHostingBucketNamePrefix,
3636
};
3737
};
3838

3939
const app = new App();
4040

4141
// eslint-disable-next-line no-new
42-
new ServerlessImageHandlerStack(app, 'ServerlessImageHandlerStack', getProps());
42+
new ServerlessImageHandlerStack(app, "ServerlessImageHandlerStack", {
43+
synthesizer: new DefaultStackSynthesizer({
44+
generateBootstrapVersionRule: false,
45+
}),
46+
...getProps(),
47+
});

source/constructs/cdk.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
{
2-
"app": "npx ts-node --prefer-ts-exts bin/constructs.ts",
3-
"context": {
4-
"@aws-cdk/core:enableStackNameDuplicates": "false",
5-
"aws-cdk:enableDiffNoFail": "true"
6-
}
7-
}
1+
{
2+
"app": "npx ts-node --prefer-ts-exts bin/constructs.ts",
3+
"context": {
4+
"aws-cdk:enableDiffNoFail": "true"
5+
}
6+
}

0 commit comments

Comments
 (0)