Releases: serverless-heaven/serverless-webpack
5.8.0
Main changes
-
We have added a new CLI option
--skip-build
which has the same behavior of the previous removed CLI option--no-build
. That option allows to run a function with an existing compiled output. (see #1190) -
We have also properly defined CLI options to remove all errors like Detected unrecognized CLI options when using Serverless > v1 (see #1187)
What's Changed
- Avoid future update of Jest >= 28 by @j0k3r in #1156
- Match NPM
--ignore-scripts
w/ Yarn Support by @hnryjms in #1186 - fix:
packagerOption
lockFile is now properly used (for NPM) by @moroine in #1191 - fix: dependabot-automerge by @vicary in #1198
- Define Serverless Webpack CLI options on other commands by @j0k3r in #1187
- Add the
--skip-build
CLI option by @j0k3r in #1190 - Prepare 5.8.0 by @j0k3r in #1203
New Contributors
Full Changelog: v5.7.1...v5.8.0
5.7.1
5.7.0
Main changes
-
@medikoo changed the output log when using Serverless v3, it's less verbose and more clean
-
We switch back to
archiver
instead ofbestzip
to ensure consistent artifact. The switch to bestzip was mostly for faster zip because it tend to use the native zip command instead of the one from Node. -
Support for NPM 8 was added by @moroine
What's Changed
- Clarify versions supported by the plugin by @mnapoli in #1056
- Fix tests with Serverless v3 by @j0k3r in #1062
- Modern logs for Serverless Framework v3 by @medikoo in #1013
- Ensure consistent artifact
sha
(removebestzip
and bring backarchiver
) by @russell-dot-js & @j0k3r in #1018 - Allow param values in
slsw.lib.options
by @coyoteecd in #1076 - Supports NPM 8 and convert tests from Mocha to Jest by @moroine in #1084
- Update Jest config by @j0k3r in #1110
- Fix filesystem cache not working when package individually is set by @hieuunguyeen in #1037
New Contributors
- @mnapoli made their first contribution in #1056
- @moroine made their first contribution in #1084
- @hieuunguyeen made their first contribution in #1037
Full Changelog: v5.6.1...v5.7.0
5.6.1
What's Changed
- Enable auto-merge for minor upgrades. by @vicary in #1008
- Fix handling of multiple compilation errors by @medikoo in #1011
- Mark plugin as Serverless Framework v3 compliant by @medikoo in #1016
- Prevent
includeModules
andnoInstall
at the same time. by @vicary in #1023 - 5.6.1 by @j0k3r in #1049
Full Changelog: v5.6.0...v5.6.1
5.6.0
Detailed changes
-
There is now a
noInstall
options inpackagerOptions
(for both NPM & Yarn) to skip deps installation during the Serverless package / deployment. If you enable that option, be sure packages are installed before.custom: webpack: packagerOptions: noInstall: true
-
The
--no-build
CLI argument has been removed.
You should now define it inside your Serverless configuration:custom: webpack: noBuild: true
-
The
--watch
CLI argument has been improved and now works properly.
What's Changed
- Avoid a JS error when the Webpack config is not found by @j0k3r in #1002
- feat(packager): add noInstall option by @russell-dot-js in #1003
- Centralize webpack stats config handling (refactor) by @medikoo in #1006
- Fix command resolution when watch is involved by @medikoo in #1004
- feat(compiler): add noBuild option by @vicary in #1007
- Fix user error reporting by @medikoo in #1005
- 5.6.0 by @j0k3r in #1010
Full Changelog: v5.5.5...v5.6.0
5.5.5
5.5.4
5.5.3
5.5.2
5.5.1
Here is a small release with few fixes with one important improvement in memory usage when packaging function individually.
Thanks to contributors! 🤝
- Use processed options to improve non-AWS provider support (#834 @CorentinDoue)
- Reduce memory usage by releasing webpack stats objects after compile (#858 @janicduplessis)
- Allow boolean or number values in
slsw.lib.options
(#857 @coyoteecd) - Fix packaging for non-node functions (#876 @FatalTouch)