Releases: serverless-heaven/serverless-webpack
5.13.0
5.12.0
Main Changes
- Allow generating ESM output from npm (non-breaking) by @aldenquimby in #1495
This adds a new config parameter for both NPM & Yarn: copyPackageSectionNames
which list entries in your package.json
to copy to the output package.json
(for ESM output).
What's Changed
- chore(deps): upgrade typescript example by @vicary in #1320
- chore(eslint): support yml and expand lint scope by @vicary in #1319
- Update GitHub Actions by @j0k3r in #1437
- Prepare 5.12.0 by @j0k3r in #1561
New Contributors
- @aldenquimby made their first contribution in #1495
Full Changelog: v5.11.0...v5.12.0
5.11.0
What's Changed
- Detect yarn version to dynamically not add deprecated flags by @jagonzalr in #1252
- Add yarn workspaces support by @magelle in #1258
- Add missing optional peer deps by @john-arccos in #1287
- Prepare 5.11.0 by @j0k3r in #1289
New Contributors
- @magelle made their first contribution in #1258
- @john-arccos made their first contribution in #1287
Full Changelog: v5.10.0...v5.11.0
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
:noNonInteractive
to 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
entrypoint
inserverless.yml
- Fix a warning of undefined plugin CLI option
--webpack-use-polling
What's Changed
- Add type of
--webpack-use-polling
option 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-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