Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Commit

Permalink
Release v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgf committed Mar 13, 2018
1 parent cf5dca8 commit edee555
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# 0.3.0 (13.03.2018)
- Support for SNS events

# 0.2.0 (08.03.2018)
- Replace reference to Lambda function `$Latest` version for alias in `EventSourceMapping` resources
- Support for Stream based events (Kinesis and DynamoDB Streams)
- Add end-to-end tests

# 0.1.0 (24.02.2018)
Expand Down
2 changes: 1 addition & 1 deletion lib/CfTemplateGenerators/Sns.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function replaceTopicSubscriptionFunctionWithAlias(snsTopic, functionAlias, func
return funcName ? funcName === functionName : false;
};

const restOfSubscriptions = subscriptions.filter(subscription => !isTargetSubscription(subscription));
const restOfSubscriptions = subscriptions.filter(s => !isTargetSubscription(s));
const subscriptionWithAlias = { Endpoint: { Ref: functionAlias }, Protocol: 'lambda' };
const newSubscriptions = [...restOfSubscriptions, subscriptionWithAlias];

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "serverless-plugin-canary-deployments",
"version": "0.2.0",
"version": "0.3.0",
"description": "A Serverless plugin to implement canary deployment of Lambda functions",
"main": "serverless-plugin-canary-deployments.js",
"scripts": {
"test": "NODE_ENV=test ./node_modules/mocha/bin/mocha $(find ./ -name '*.test.js' -not -path '.*/node_modules/*')",
"watch": "NODE_ENV=test ./node_modules/mocha/bin/mocha -w $(find ./ -name '*.test.js' -not -path '*/node_modules/*')"
},
"author": "David García <[email protected]>",
"contributors": ["Carlos Castellanos <[email protected]> (https://github.com/ccverak/)"],
"license": "ISC",
"repository": {
"url": "https://github.com/davidgf/serverless-plugin-canary-deployments.git",
Expand Down

0 comments on commit edee555

Please sign in to comment.