diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index 27b2813..0000000 --- a/.eslintrc.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - extends: "google" -}; diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 647984a..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: node_js -node_js: - - 12 - - 14 - - 16 -matrix: - allow_failures: - - node_js: "12" -script: - - npm run lint - - npm test - - npm run check-coverage -after_script: - - cat ./coverage/lcov.info | ./node_modules/.bin/coveralls diff --git a/CHANGELOG.md b/CHANGELOG.md index 69ea0d1..bfde969 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log for aws-lambda-ses-forwarder +## 6.0.0 [2025/1/11] + +- Refactoring code to use AWS SDK for JavaScript v3, which is included with the +Node.js 18, 20, and 22 Lambda runtimes. +- Upgrading ESLint and Mocha development dependencies. + +### Upgrade Notes + +- This version is compatible with the **Node.js 18, 20, or 22** Lambda runtime. + ## 5.1.0 [2023/10/9] - Updating documentation about using Node.js 16 or 18 AWS Lambda runtimes. diff --git a/README.md b/README.md index f6d764e..30aa535 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ # AWS Lambda SES Email Forwarder -[![npm version](https://badge.fury.io/js/aws-lambda-ses-forwarder.svg)](https://www.npmjs.com/package/aws-lambda-ses-forwarder) -[![Travis CI test status](https://travis-ci.org/arithmetric/aws-lambda-ses-forwarder.svg?branch=master)](https://travis-ci.org/arithmetric/aws-lambda-ses-forwarder) -[![Test coverage status](https://coveralls.io/repos/github/arithmetric/aws-lambda-ses-forwarder/badge.svg?branch=master)](https://coveralls.io/github/arithmetric/aws-lambda-ses-forwarder?branch=master) +[![npm version](https://img.shields.io/npm/v/aws-lambda-ses-forwarder)](https://www.npmjs.com/package/aws-lambda-ses-forwarder) A Node.js script for AWS Lambda that uses the inbound/outbound capabilities of AWS Simple Email Service (SES) to run a "serverless" email forwarding service. @@ -59,7 +57,7 @@ the email forwarding mapping from original destinations to new destination. 2. In AWS Lambda, add a new function and skip selecting a blueprint. - Name the function "SesForwarder" and optionally give it a description. Ensure - Runtime is set to Node.js 20.x. + Runtime is set to Node.js 22.x. (Node.js 18.x and 20.x can also be used.) - For the Lambda function code, either copy and paste the contents of `index.js` into the inline code editor or zip the contents of the repository diff --git a/example/package.json b/example/package.json index df6b3e3..13a7314 100644 --- a/example/package.json +++ b/example/package.json @@ -4,6 +4,6 @@ "description": "Example implementation of aws-lambda-ses-forwarder.", "main": "index.js", "dependencies": { - "aws-lambda-ses-forwarder": "^4.0.0" + "aws-lambda-ses-forwarder": "^6.0.0" } } diff --git a/package.json b/package.json index 0807f1b..a866d00 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aws-lambda-ses-forwarder", - "version": "5.1.0", + "version": "6.0.0", "description": "Serverless email forwarding using AWS Lambda and SES", "main": "index.js", "scripts": {