You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+26-1Lines changed: 26 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,31 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
7
+
## [5.0] - 2020-08-31
8
+
### Added
9
+
- AWS CDK and AWS Solutions Constructs to create AWS CloudFormation template
10
+
11
+
### Fixed
12
+
- Auto WebP does not work properly: [#195](https://github.com/awslabs/serverless-image-handler/pull/195), [#200](https://github.com/awslabs/serverless-image-handler/issues/200), [#205](https://github.com/awslabs/serverless-image-handler/issues/205)
13
+
- A bug where base64 encoding containing slash: [#194](https://github.com/awslabs/serverless-image-handler/pull/194)
- Remove `Promise` to return since `async` functions return promises: [#189](https://github.com/awslabs/serverless-image-handler/issues/189)
26
+
- Unit test statement coverage improvement:
27
+
-`image-handler.js`: `79.05%` to `100%`
28
+
-`image-request.js`: `93.58%` to `100%`
29
+
-`thumbor-mapping.js`: `99.29%` to `100%`
30
+
-`overall`: `91.55%` to `100%`
31
+
7
32
## [4.2] - 2020-02-06
8
33
### Added
9
34
- Honor outputFormat Parameter from the pull request [#117](https://github.com/awslabs/serverless-image-handler/pull/117)
@@ -16,7 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
41
- fix: DeprecationWarning: Buffer() is deprecated from the pull request [#174](https://github.com/awslabs/serverless-image-handler/pull/174)
17
42
- Add hex color support for Thumbor ```filters:background_color``` and ```filters:fill```[#154](https://github.com/awslabs/serverless-image-handler/issues/154)
18
43
- Add format and watermark support for Thumbor [#109](https://github.com/awslabs/serverless-image-handler/issues/109), [#131](https://github.com/awslabs/serverless-image-handler/issues/131), [#109](https://github.com/awslabs/serverless-image-handler/issues/142)
19
-
*__Note that__ duplicated features has been merged gracefully.
44
+
-__Note that__ duplicated features has been merged gracefully.
Copy file name to clipboardExpand all lines: README.md
+56-16Lines changed: 56 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,44 +7,84 @@ Published version, additional details and documentation are available here: http
7
7
8
8
_Note:_ it is recommend to build the application binary on Amazon Linux.
9
9
10
-
## Building distributable for customization
11
-
* Clone the repository, then make the desired code changes
10
+
## On This Page
11
+
-[Architecture Overview](#architecture-overview)
12
+
-[Creating a custom build](#creating-a-custom-build)
13
+
-[External Contributors](#external-contributors)
14
+
-[License](#license)
15
+
16
+
## Architecture Overview
17
+

18
+
19
+
The AWS CloudFormation template deploys an Amazon CloudFront distribution, Amazon API Gateway REST API, and an AWS Lambda function. Amazon CloudFront provides a caching layer to reduce the cost of image processing and the latency of subsequent image delivery. The Amazon API Gateway provides endpoint resources and triggers the AWS Lambda function. The AWS Lambda function retrieves the image from the customer's Amazon Simple Storage Service (Amazon S3) bucket and uses Sharp to return a modified version of the image to the API Gateway. Additionally, the solution generates a CloudFront domain name that provides cached access to the image handler API.
20
+
21
+
_**Note**:_ From v5.0, all AWS CloudFormation template resources are created be [AWS CDK](https://aws.amazon.com/cdk/) and [AWS Solutions Constructs](https://aws.amazon.com/solutions/constructs/). Since the AWS CloudFormation template resources have the same logical ID comparing to v4.x, it makes the solution upgradable mostly from v4.x to v5.
22
+
23
+
## Creating a custom build
24
+
The solution can be deployed through the CloudFormation template available on the solution home page.
25
+
To make changes to the solution, download or clone this repo, update the source code and then run the deployment/build-s3-dist.sh script to deploy the updated Lambda code to an Amazon S3 bucket in your account.
26
+
27
+
### Prerequisites:
28
+
*[AWS Command Line Interface](https://aws.amazon.com/cli/)
The CloudFormation template is configured to pull the Lambda deployment packages from Amazon S3 bucket in the region the template is being launched in. Create a bucket in the desired region with the region name appended to the name of the bucket.
* Get the link of the serverless-image-handler.template uploaded to your Amazon S3 bucket
71
+
### 6. Launch the CloudFormation template.
72
+
* Get the link of the `serverless-image-handler.template` uploaded to your Amazon S3 bucket.
73
+
* Deploy the Serverless Image Handler solution to your account by launching a new AWS CloudFormation stack using the S3 link of the `serverless-image-handler.template`.
42
74
43
-
* Deploy the Serverless Image Handler solution to your account by launching a new AWS CloudFormation stack using the link of the serverless-image-handler.template
75
+
## External Contributors
76
+
-[@leviwilson](https://github.com/leviwilson) for [#117](https://github.com/awslabs/serverless-image-handler/pull/117)
77
+
-[@rpong](https://github.com/rpong) for [#130](https://github.com/awslabs/serverless-image-handler/pull/130)
78
+
-[@harriswong](https://github.com/harriswong) for [#138](https://github.com/awslabs/serverless-image-handler/pull/138)
79
+
-[@ganey](https://github.com/ganey) for [#139](https://github.com/awslabs/serverless-image-handler/pull/139)
80
+
-[@browniebroke](https://github.com/browniebroke) for [#151](https://github.com/awslabs/serverless-image-handler/pull/151), [#152](https://github.com/awslabs/serverless-image-handler/pull/152)
81
+
-[@john-shaffer](https://github.com/john-shaffer) for [#158](https://github.com/awslabs/serverless-image-handler/pull/158)
82
+
-[@toredash](https://github.com/toredash) for [#174](https://github.com/awslabs/serverless-image-handler/pull/174), [#195](https://github.com/awslabs/serverless-image-handler/pull/195)
83
+
-[@lith-imad](https://github.com/lith-imad) for [#194](https://github.com/awslabs/serverless-image-handler/pull/194)
44
84
45
85
***
46
-
47
-
Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
86
+
## License
87
+
Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
48
88
49
89
Licensed under the Apache License, Version 2.0 (the "License");
50
90
you may not use this file except in compliance with the License.
0 commit comments