- use
latestdocker tag by default. This reduces some of the maintenance in publishing this plugin. Users are still able to pin versions as they always have.
- experimental dockerless mode! To enable local builds add the following to your
serverless.ymlfile
custom:
rust:
+ dockerless: trueThis comes with some new added expectations about your local environment. Please see the readme section on local builds for more information.
- bump lambda-rust docker version to
0.2.7-rust-1.43.1 - The docker image used to build artifacts is now configurable though the
custom.rust.dockerImageserverless.ymlconfig setting. The default remainssoftprops/lambda-rust#65 - The docker cli is now configurable via
SLS_DOCKER_CLIenvironment variable. The default is the firstdockerthat resolves on your operating system's path. #61
- bump lambda-rust docker version to
0.2.6-rust-1.39.0to gain rust 1.37.0, 1.38.0, and 1.39.0 features and dropping over 200 megabytes from previous docker images. - This plugin now respects your
CARGO_HOMEenvironment variable if set #46. This is useful when you for cases where where you do not have cache cargo artifacts in your${HOME}/.cargodirectory.
- bump lambda-rust docker version to 0.2.1-rust-1.36.0 to gain new rust 1.36.0 features.
- bump lambda-rust docker version to 0.2.1-rust-1.35.0 to gain new rust 1.35.0 features.
- fix a
npx serverless invoke localfor versions of serverless framework1.40.*which now emitspackageevents withininvokeLocalevents. #38 - bump lambda-rust docker version to 0.2.1-rust-1.34.1 to gain new rust 1.34.1 features.
- use
os.homedir()instead ofprocess.env['HOME']for improved portability
- bump lambda-rust docker version to 0.2.1-rust-1.34.0 to gain new rust 1.34.0 features.
- ✨new support for invoking your lambdas locally.
This decreases the turn around time to validate a change before without having to deploy it first
$ npx serverless invoke local -f foo -d '{"yes":"we can"}'You can still use this plugin with older versions of serverless but invoke local will only work with serverless@1.39.1 and above
- bump lambda-rust docker version to 0.2.1-rust-1.33.0
- bump lambda-rust docker version to 0.2.1-rust-1.32.0, fixing a bug where cargo binaries named
bootstrapweren't getting packaged. Reminder: this plugin renames binaries tobootstrapfor the lambda runtime for you. You don't have do to this manually in your Cargo configuration. This also introduces an efficiency in the way binaries are identified for packaging that may help some windows users. - bump serverless version to
1.37.1
- bump lambda-rust docker version to 0.2.0-rust-1.32.0, to make the new default Rust 1.32.0 (the latest release of Rust at this time)
- bump serverless version to
1.36.3
- Switch from supporting the Lambda
python3.6runtime to a new ✨rustruntime ✨ ( which runs on theprovidedruntime under the covers ) - you can now deploy independent functions with
npx serverless deploy function -f func-name - you no longer have to be explicit about function binary to include, this plugin generates and configures the artifact (zip) file for you
- you no longer have to set default exclusion rules
- you can deploy a
rustruntime function side by side with other serverless runtime functions within the same service, to facilitate experimentation and learning.
- bump lambda-rust docker version to 0.1.0-rust-1.30.1, to make the new default Rust 1.30.1 (the latest release of Rust at this time)
- bump serverless version to 1.33.2 ( the latest serverless release at this time)
- bump lambda-rust docker version to 0.1.0-rust-1.28.0, to make the new default Rust 1.28.0 (the latest release of Rust at this time)
- ensure only a unique set of artifacts are collected for cleanup
- Allocate a docker pseudo-tty so that process signals are forwarded (Keyboard interrupts stop docker process)
- bump lambda-rust docker version to 0.1.0-rust-1.27.2, to make the new default Rust 1.27.2 (the latest release of Rust at this time)
- speed up deployments by ~3.2 seconds by disabling excludeDevDependencies. it's on by default but it's not useful for for Rust focused services
- the
custom.rustconfig object can be overridden at the function level
functions:
hello:
rust:
cargoFlags: "--features ..."
handler: liblambda.handler
package:
include:
- liblambda.so
events:
- schedule: rate(5 minutes)- bump lambda rust docker version to 0.1.0-rust-1.27.0
- bump lambda rust docker version to 0.1.0-rust-1.26.2
- use a polyfill for fs.copyFileSync to accommodate older versions of node on travis ci
- fix exporting plugin
- initial release