Skip to content

5.4.0

Compare
Choose a tag to compare
@j0k3r j0k3r released this 17 Mar 14:50
· 1879 commits to master since this release
8212cfc

After a long silence, here the latest release ✌️
We have new options, new arguments and some optimizations 🚀

📚 The full changelog is available here. But here are some highlights:

New options:

  • noFrozenLockfile (boolean) under the packagerOptions for the Yarn packager allows you to not have an up to date yarn.lock. See #687
  • excludeRegex (string) allows you to filter files that match the regex before adding to the zip. See #612
  • serializedCompile (boolean) allows you to run each webpack buid one at a time to reduce memory usage. See #517
  • allowCustomRuntime (boolean) added to the function level in your serverless.yml allows you force the packaging when you are using a nodejs custom runtime ONLY. See #675
  • concurrency (integer) allow to set the concurrency (defaults to the number of available cores), only works when packing functions individually. See #681

New arguments:

  • the --no-build used when deploying won't re-build everything if you already build it (using sls webpack for example). See #560

Optimizations:

  • switched to bestzip instead of archiver to use natine zip command if it exists. See #596
  • speed up cleanup process when removing .webpack folder. See #462