diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a753a7..ee87cc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ -# ⚡ 0.3.8s +# ⚡ 0.4.0 (unreleased) + +* use `latest` docker tag by default. This reduces some of the maintenance in publishing this plugin. Users are still able to pin versions as they always have. + +# ⚡ 0.3.8 * experimental dockerless mode! To enable local builds add the following to your `serverless.yml` file diff --git a/index.js b/index.js index b77b1c1..0ac715a 100644 --- a/index.js +++ b/index.js @@ -10,7 +10,7 @@ const path = require("path"); const AdmZip = require("adm-zip"); const { mkdirSync, writeFileSync, readFileSync } = require("fs"); -const DEFAULT_DOCKER_TAG = "0.2.7-rust-1.43.1"; +const DEFAULT_DOCKER_TAG = "latest"; const DEFAULT_DOCKER_IMAGE = "softprops/lambda-rust"; const RUST_RUNTIME = "rust"; const BASE_RUNTIME = "provided"; diff --git a/package-lock.json b/package-lock.json index b5a7ce3..4eeb5c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "serverless-rust", - "version": "0.4.0", + "version": "0.3.8", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/tests/unit/index.test.js b/tests/unit/index.test.js index 2fce40a..42ae3f2 100644 --- a/tests/unit/index.test.js +++ b/tests/unit/index.test.js @@ -36,7 +36,7 @@ describe("RustPlugin", () => { assert.deepEqual(unconfigured.custom, { cargoFlags: "", dockerImage: "softprops/lambda-rust", - dockerTag: "0.2.7-rust-1.43.1", + dockerTag: "latest", dockerless: false, }); }); @@ -50,7 +50,7 @@ describe("RustPlugin", () => { rust: { cargoFlags: "--features foo", dockerImage: "notsoftprops/lambda-rust", - dockerTag: "latest", + dockerTag: "custom-tag", dockerless: true, }, }, @@ -63,7 +63,7 @@ describe("RustPlugin", () => { assert.deepEqual(configured.custom, { cargoFlags: "--features foo", dockerImage: "notsoftprops/lambda-rust", - dockerTag: "latest", + dockerTag: "custom-tag", dockerless: true, }); });