Releases: serverless-heaven/serverless-webpack
5.10.0
Main Changes
The lib is finally compatible with Yarn 2 (and above)! Thanks to @jagonzalr (and others involved in #642).
You need to define the option noNonInteractive to true in the packagerOptions in serverless.yml.
What's Changed
- Add new
packagerOptions:noNonInteractiveto disable interactive mode when using Yarn 2 or above by @jagonzalr in #1246 - fix: prevent duplicate artifact assignment by @NoxHarmonium in #1245
- Prepare 5.10.0 by @j0k3r in #1248
New Contributors
- @jagonzalr made their first contribution in #1246
- @NoxHarmonium made their first contribution in #1245
Full Changelog: v5.9.1...v5.10.0
5.9.1
5.9.0
Main Changes
- Webpack entries can now be overridden via function option
entrypointinserverless.yml - Fix a warning of undefined plugin CLI option
--webpack-use-polling
What's Changed
- Add type of
--webpack-use-pollingoption by @emiksk in #1213 - feat: function level entry overrides by @kirrg001 in #1220
- Prepare 5.9.0 by @vicary in #1223
New Contributors
Full Changelog: v5.8.0...v5.9.0
5.8.0
Main changes
-
We have added a new CLI option
--skip-buildwhich 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-scriptsw/ Yarn Support by @hnryjms in #1186 - fix:
packagerOptionlockFile 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-buildCLI option by @j0k3r in #1190 - Prepare 5.8.0 by @j0k3r in #1203
New Contributors
- @hnryjms made their first contribution in #1186
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
archiverinstead ofbestzipto 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(removebestzipand bring backarchiver) by @russell-dot-js & @j0k3r in #1018 - Allow param values in
slsw.lib.optionsby @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
includeModulesandnoInstallat 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
noInstalloptions 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-buildCLI argument has been removed.
You should now define it inside your Serverless configuration:custom: webpack: noBuild: true
-
The
--watchCLI 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

