Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release history

### 5.14.2 (15 August 2022)

- add nodejs16.x as supported version
- remove nodejs12.x as supported version

### 5.14.1 (17 March 2022)

- additional fixes for the lambda lifecycle updates, thanks to [Mangwan](https://github.com/CodeBanBan)
Expand Down
4 changes: 2 additions & 2 deletions contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ TEST_TIMEOUT=300000

Here are same house rules for Claudia development. Breaking one of these doesn't necessarily mean that your pull request will not be merged, but following the rules will make it easier and faster to do that. If you decide to break one of these, please explain in the pull request why, so we can revise the rules or adjust the code together.

* AWS Lambda currently supports only Node.js 10 and 8.10, so we use those ones as the baseline for Claudia development. You can use [nvm](https://github.com/creationix/nvm) to manage multiple versions of Node on your development environment if you need to.
* ES6 code is allowed and encouraged, as long as it works on Node 8. We don't use babel for transpilation.
* AWS Lambda currently supports Node.js versions 16, 14 and 12, so we use those ones as the baseline for Claudia development. You can use [nvm](https://github.com/creationix/nvm) to manage multiple versions of Node on your development environment if you need to.
* ES6 code is allowed and encouraged, as long as it works on Node 12. We don't use babel for transpilation.
* We use [Jasmine](https://jasmine.github.io) for tests.
* We use `eslint` for linting, with the style guide in [`.eslintrc`](https://github.com/claudiajs/claudia/blob/master/.eslintrc.json)
* If a particular line of code needs to relax linting rules, use the `//eslint-disable-line` trick instead of disabling it for the whole file
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "claudia",
"version": "5.14.1",
"version": "5.14.2",
"description": "Deploy Node.js projects to AWS Lambda and API Gateway easily.",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion spec/create-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('create', () => {

let workingdir, testRunName, iam, lambda, s3, newObjects, config, logs, apiGatewayPromise, sns;
const defaultRuntime = 'nodejs14.x',
supportedRuntimes = ['nodejs14.x', 'nodejs12.x', 'nodejs10.x'],
supportedRuntimes = ['nodejs16.x', 'nodejs14.x', 'nodejs12.x'],
createFromDir = function (dir, logger) {
if (!fs.existsSync(workingdir)) {
fs.mkdirSync(workingdir);
Expand Down