Changelog

March 19, 2023 ยท View on GitHub

Only major and minor version changes are included in this file. Changes not included in this log but can be reviewed on GitHub:

Unreleased

Breaking changes introduced:

  • feat: now halts on all errors. (#139)
    • Previously, some errors did not cause the plugin to halt, which may silently cause environment variables to not be set.
    • Note: required.file continues to default to false.
      • This is because your environment variables might not be stored in dotenv files in all environments.
      • Setting required.file to true will continue to cause the plugin to halt if no dotenv files are found.

6.0.x

  • chore: update deps (2023-03-18) (#237)
    • The following packages were upgraded to the latest major version, which introduced changes to how dotenv files are parsed:
      • dotenv-expand (^8.0.3 to ^10.0.0)

5.0.x

  • chore: remove support for Node.js 10 and Node.js 12 (#236)
    • Also added support for Node.js 18 and 19 (LTS and Current)

4.0.x

  • chore: update deps (2022-04-17) (#195)
    • The following packages were upgraded to the latest major version, which introduced changes to how dotenv files are parsed:
      • dotenv (^10.0.0 to ^16.0.0)
      • dotenv-expand (^5.1.0 to ^8.0.3)

3.12.x

  • feat: Adapt to serverless@3 logging interface (#174)

3.11.x

  • feat: add support for serverless@3. (#178)
  • docs(README): add details around UNSUPPORTED_CLI_OPTIONS. (#177)
  • fix: support for serverless@pre-3. (#180)

3.10.x

  • chore(package.json): register serverless as peer dependency. (#159)

3.9.x

  • feat: support "*" for include config. (#146)

3.8.1

  • fix: undo behaviour around include = []. (#145)

3.8.0

  • feat: adding an option to toggle breaking changes. (#138)

3.7.x

  • fix: only package required files. (#134)

3.6.x

  • feat: adding support for custom dotenv parser. (#127)

3.5.x

  • feat: now logs when incompatible configs are set. (#124)

3.4.x

  • feat: new option to expect specific env vars to be set. (#118)

3.3.x

  • feat: adding variableExpansion option to turn off variable expansion. (#116)

3.2.x

3.0.x

Previous Versions

This list is not exhaustive: