Serverless Framework plugin to reap unused versions of deployed functions from AWS
This version captures a number of Dependabot vulnerability fixes.
See PRs for complete details: #41 , #44, #45, #47, #48, #49, #50, #51, #52, #53, #54, #55, #56, #57, #58
Fixes #37: resolve backwards compatibility with CLI logging on Serverless 1.x — thanks to @j0k3r for reporting
With the close of 2021 and the release of Serverless 3 (hopefully) imminent, we release plugin v.2.0.0.
While the improvements are most obvious when paired with Serverless 3—we now make use of the new output API (#35) when available—this version is still fully compatible with Serverless 1.x/2.x projects.
Breaking changes from 1.x:
This version prepares compatibility with the upcoming Serverless Framework 3.x. Specifically, we're taking full advantage of the new output API (See #35), meaning far less noise on your console with beautiful new progress indicators. And if you want the in-depth pruning action output, it's still there behind the --verbose
flag.
Also in this release, we're refining the behavior of the CLI when interacting with layers. Previously, sls prune --layer <layer-name>
unnecessarily required the --include-layers
flag. Now, --layer
correctly implies a layer-only cleanup, making layer pruning a first-class operation on the CLI.
Note: There are no plans to drop support for Framework 1.x/2.x with this new major version; we will continue to maintain backwards compatibility so long as it is viable to do so.
Verify and update README to confirm Serverless 2.x compatibility
README updates with commonly asked questions.