From 160f905fa6c23da4e19ffc64db33a3b88407306a Mon Sep 17 00:00:00 2001 From: Ryan Block Date: Thu, 29 Jul 2021 08:35:59 -0700 Subject: [PATCH] Set minimum Node version to 14 --- .github/workflows/build.yml | 8 ++++---- changelog.md | 13 +++---------- package.json | 9 ++++----- 3 files changed, 11 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cdcd1ad7..df363e70 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [ 12.x, 14.x, 16.x ] + node-version: [ 14.x, 16.x ] os: [ windows-latest, ubuntu-latest, macOS-latest ] # Go @@ -49,7 +49,7 @@ jobs: - name: Notify uses: homoluctus/slatify@master # Only fire alert once - if: github.ref == 'refs/heads/master' && failure() && matrix.node-version == '12.x' && matrix.os == 'ubuntu-latest' + if: github.ref == 'refs/heads/master' && failure() && matrix.node-version == '14.x' && matrix.os == 'ubuntu-latest' with: type: ${{ job.status }} job_name: '*Build*' @@ -74,7 +74,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 registry-url: https://registry.npmjs.org/ - name: Install @@ -97,7 +97,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 registry-url: https://npm.pkg.github.com/ # Publish to GitHub diff --git a/changelog.md b/changelog.md index e1f06296..7206eab7 100644 --- a/changelog.md +++ b/changelog.md @@ -2,21 +2,14 @@ --- -## [2.0.3] 2021-07-25 - -### Changed - -- Updated ASAP to v4 - ---- - -## [2.0.0 - 2.0.2] 2021-07-22 +## [2.0.0 - 2.0.4] 2021-07-22 ### Changed - Default runtime is now `nodejs14.x`, fixes #1164 -- Breaking change: removed support for Node.js 10.x (now EOL, and no longer available to created in AWS Lambda) +- Breaking change: removed support for Node.js 10.x (now EOL, and no longer available to created in AWS Lambda) and Node.js 12.x - Breaking change: removed support for Architect 5 WebSocket folder paths (prepended by `ws-`) +- Updated ASAP to v4 - Updated dependencies --- diff --git a/package.json b/package.json index 059990db..50a3fa48 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "rc": "npm version prerelease --preid RC" }, "engines": { - "node": ">=12" + "node": ">=14" }, "repository": { "type": "git", @@ -21,21 +21,20 @@ "license": "Apache-2.0", "dependencies": { "@architect/asap": "~4.0.0", - "@architect/parser": "~4.0.0", - "@architect/utils": "~3.0.1" + "@architect/parser": "~4.0.1", + "@architect/utils": "~3.0.2" }, "devDependencies": { "@architect/eslint-config": "~1.0.0", "aws-sdk": "2.880.0", "aws-sdk-mock": "5.1.0", - "codecov": "~3.8.3", "cross-env": "~7.0.3", "eslint": "~7.31.0", "mock-fs": "~5.0.0", "mock-require": "~3.0.3", "nyc": "~15.1.0", "tap-spec": "^5.0.0", - "tape": "^5.2.2" + "tape": "^5.3.0" }, "eslintConfig": { "extends": "@architect/eslint-config"